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 9109a05 commit 89d6f87Copy full SHA for 89d6f87
src/gpu/jit/ngen/ngen_interface.hpp
@@ -257,6 +257,8 @@ void NEOInterfaceHandler::generateDummyCL(std::ostream &stream) const
257
}
258
stream << ") {\n";
259
stream << " global volatile int *____;\n";
260
+ if (hw == HW::Gen9)
261
+ stream << " volatile double *__df; *__df = 1.1 / *__df;\n";
262
263
if (needLocalID) stream << " (void) ____[get_local_id(0)];\n";
264
if (needLocalSize) stream << " (void) ____[get_enqueued_local_size(0)];\n";
0 commit comments