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 03a826f commit 5996e8dCopy full SHA for 5996e8d
op_builder/builder.py
@@ -486,6 +486,9 @@ def jit_load(self, verbose=True):
486
cxx_args.append("-DBF16_AVAILABLE")
487
nvcc_args.append("-DBF16_AVAILABLE")
488
489
+ if self.is_rocm_pytorch():
490
+ cxx_args.append("-D__HIP_PLATFORM_AMD__=1")
491
+
492
op_module = load(name=self.name,
493
sources=self.strip_empty_entries(sources),
494
extra_include_paths=self.strip_empty_entries(extra_include_paths),
0 commit comments