Skip to content

Commit

Permalink
Merge pull request tensorflow#137 from yxsamliu/hip-clang-lane-id
Browse files Browse the repository at this point in the history
Replace hc::__lane_id() with __lane_id() for hip-clang
  • Loading branch information
whchung committed Aug 27, 2018
2 parents b4ffc7b + 2312683 commit dbfb747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensorflow/core/util/gpu_device_functions.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ __device__ inline unsigned GpuLaneId() {
asm("mov.u32 %0, %%laneid;" : "=r"(lane_id));
#elif TENSORFLOW_USE_ROCM
// ROCM TODO add ROCM implementation
lane_id = hc::__lane_id();
lane_id = __lane_id();
#endif
return lane_id;
}
Expand Down

0 comments on commit dbfb747

Please sign in to comment.