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 a76e63b commit f417ff9Copy full SHA for f417ff9
xobjects/context_cupy.py
@@ -455,10 +455,9 @@ def build_kernels(
455
with open(save_source_as, "w") as fid:
456
fid.write(specialized_source)
457
458
- extra_compile_args = (*extra_compile_args, "-DXO_CONTEXT_CUDA")
459
extra_include_paths = self.get_installed_c_source_paths()
460
include_flags = [f"-I{path}" for path in extra_include_paths]
461
- xtr_compile_args.extend(include_flags)
+ extra_compile_args = (*extra_compile_args, *include_flags, "-DXO_CONTEXT_CUDA")
462
463
module = cupy.RawModule(
464
code=specialized_source, options=extra_compile_args
0 commit comments