Skip to content

Commit 635462d

Browse files
rparolinleofang
andauthored
Update cuda_core/examples/tma_replace_address.py
Co-authored-by: Leo Fang <leo80042@gmail.com>
1 parent 7d3c931 commit 635462d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cuda_core/examples/tma_replace_address.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
prog = Program(
147147
code,
148148
code_type="c++",
149-
options=ProgramOptions(std="c++17", arch=f"sm_{arch_str}"),
149+
options=ProgramOptions(std="c++17", arch=f"sm_{dev.arch}"),
150150
)
151151
mod = prog.compile("cubin")
152152
ker = mod.get_kernel("tma_copy")

0 commit comments

Comments
 (0)