create a single oneDNN string
This commit is contained in:
parent
15b97dd44a
commit
266387ecb4
@ -138,16 +138,9 @@ void InfoAboutUnusedCPUFeatures() {
|
||||
CheckIfFeatureUnused(CPUFeature::FMA, "FMA", missing_instructions);
|
||||
#endif // __FMA__
|
||||
#endif // else of if defined(_MSC_VER) && !defined(__clang__)
|
||||
|
||||
string intel_library_official_name(
|
||||
"Intel(R) oneAPI Deep Neural Network Library (oneDNN) ");
|
||||
#ifndef INTEL_MKL
|
||||
intel_library_official_name = "oneAPI Deep Neural Network Library (oneDNN) ";
|
||||
#endif
|
||||
|
||||
if (!missing_instructions.empty()) {
|
||||
LOG(INFO) << "This TensorFlow binary is optimized with "
|
||||
<< intel_library_official_name
|
||||
<< "oneAPI Deep Neural Network Library (oneDNN)"
|
||||
<< "to use the following CPU instructions in performance-"
|
||||
<< "critical operations: " << missing_instructions << std::endl
|
||||
<< "To enable them in other operations, rebuild TensorFlow "
|
||||
|
Loading…
Reference in New Issue
Block a user