Skip to content

Commit ae86192

Browse files
rparolinleofang
authored andcommitted
Update cuda_core/examples/tma_replace_address.py
Co-authored-by: Leo Fang <leo80042@gmail.com>
1 parent 9673bcf commit ae86192

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)