-
Notifications
You must be signed in to change notification settings - Fork 74k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[INTEL MKL] Fix typo error of an environment variable #22324
[INTEL MKL] Fix typo error of an environment variable #22324
Conversation
Can u fix the cl format lint error? diff --git a/tensorflow/core/util/mkl_util.h b/tensorflow/core/util/mkl_util.h
|
I fixed a couple of coding style issues by running cpplint.py utility. |
tensorflow/core/util/mkl_util.h
Outdated
@@ -2098,7 +2098,7 @@ static inline memory::format get_desired_format(int channel, | |||
(channel % 8) == 0) { | |||
fmt_desired = is_2d | |||
? memory::format::nChw8c | |||
: memory::format::ncdhw; //not support avx2 for 3d yet. | |||
: memory::format::ncdhw; // not support avx2 for 3d yet. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change the comment to "no avx2 support for 3d yet"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
tensorflow/core/util/mkl_util.h
Outdated
@@ -13,8 +13,8 @@ See the License for the specific language governing permissions and | |||
limitations under the License. | |||
==============================================================================*/ | |||
|
|||
#ifndef TENSORFLOW_CORE_UTIL_MKL_UTIL_H_ | |||
#define TENSORFLOW_CORE_UTIL_MKL_UTIL_H_ | |||
#ifndef TENSORFLOW_TENSORFLOW_CORE_UTIL_MKL_UTIL_H_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This #ifndef was fine as it is. What is the purpose of this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, I ran cpplint.py and somehow the utility complains about it.
If it is fine, let me change it back, to make it consistent across all header files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done by changing back the macro def.
Yes, please change it back to be consistent with the coding style in other
files in this directory.
…On Fri, Sep 21, 2018 at 9:16 AM, Guozhong Zhuang ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In tensorflow/core/util/mkl_util.h
<#22324 (comment)>
:
> @@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
limitations under the License.
==============================================================================*/
-#ifndef TENSORFLOW_CORE_UTIL_MKL_UTIL_H_
-#define TENSORFLOW_CORE_UTIL_MKL_UTIL_H_
+#ifndef TENSORFLOW_TENSORFLOW_CORE_UTIL_MKL_UTIL_H_
Well, I ran cpplint.py and somehow the utility complains about it.
If it is fine, let me change it back, to make it consistent across all
header files.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
<#22324 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA8ObAIMIpSb0aaey7HehSpbKJjVCJECks5udRDZgaJpZM4WsjrE>
.
|
Hi Tatiana, |
PiperOrigin-RevId: 214983237
Change the name of an environment variable
from
TF_MKL_OPTIMIZE_PRIMITVE_MEMUSE
to
TF_MKL_OPTIMIZE_PRIMITIVE_MEMUSE