Skip to content

Commit 8cafeb3

Browse files
committed
Fix: fix lane_id producing invalid ptx
1 parent ff41c99 commit 8cafeb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/cuda_std/src/warp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ pub fn lane_id() -> u32 {
3535
let mut out;
3636
unsafe {
3737
asm!(
38-
"mov.u32 {}, %laneid",
38+
"mov.u32 {}, %laneid;",
3939
out(reg32) out
4040
);
4141
}

0 commit comments

Comments
 (0)