8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86dcdf9 commit e25f057Copy full SHA for e25f057
aten/src/ATen/Context.cpp
@@ -145,7 +145,9 @@ void Context::setAllowTF32OneDNN(bool b){
145
#ifdef USE_XPU
146
allow_tf32_onednn = b;
147
#else
148
- TORCH_WARN("TF32 acceleration on top of oneDNN is available for Intel GPUs. The current Torch version does not have Intel GPU Support.");
+ if (b) {
149
+ TORCH_WARN("TF32 acceleration on top of oneDNN is available for Intel GPUs. The current Torch version does not have Intel GPU Support.");
150
+ }
151
#endif
152
}
153
0 commit comments