Skip to content

Commit 4a98024

Browse files
authored
Merge pull request #206 from yxsamliu/fix-lane
Replace hc::__lane_id with __lane_id
2 parents 0d7710e + 9c5ef94 commit 4a98024

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aten/src/THC/THCAsmUtils.cuh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ struct Bitfield<uint64_t> {
8686

8787
__device__ __forceinline__ int getLaneId() {
8888
#if defined(__HIP_PLATFORM_HCC__)
89-
return hc::__lane_id();
89+
return __lane_id();
9090
#else
9191
int laneId;
9292
asm("mov.s32 %0, %laneid;" : "=r"(laneId) );

0 commit comments

Comments
 (0)