-
Notifications
You must be signed in to change notification settings - Fork 5.7k
remove mkldnn flag from gtest strdup for cpu #11395
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
Conversation
follow the comment #11319 (comment) I can reproduce them:
C++
|
@@ -31,6 +31,7 @@ int main(int argc, char** argv) { | |||
strdup("--tryfromenv=fraction_of_gpu_memory_to_use,use_pinned_memory")); | |||
#else | |||
new_argv.push_back(strdup("--tryfromenv=use_pinned_memory,use_mkldnn")); | |||
new_argv.push_back(strdup("--undefok=use_mkldnn")); |
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.
请问--undefok是什么用法呢,有相关的资料链接么?
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.
这个可以参考这里。
简单解释就是不认识的时候不要报错。但不是影响认识这个flag的时候。
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.
LGTM
fix #11393