Skip to content

Commit 2ff2cd4

Browse files
Add XO_CONTEXT_CUDA flag
1 parent bf3a3ee commit 2ff2cd4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

xobjects/context_cupy.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,7 @@ def build_kernels(
455455
with open(save_source_as, "w") as fid:
456456
fid.write(specialized_source)
457457

458+
extra_compile_args = (*extra_compile_args, "-DXO_CONTEXT_CUDA")
458459
module = cupy.RawModule(code=specialized_source, options=extra_compile_args)
459460

460461
out_kernels = {}

0 commit comments

Comments
 (0)