Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adjust to adapt ROCm5.4 #30

Open
wants to merge 1 commit into
base: performance
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions fbgemm_gpu/hip_kernel/split_tbe_fwd_hip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ __device__ half
llvm_amdgcn_raw_buffer_load_fp16(int32x4_t srsrc,
int32_t voffset,
int32_t soffset,
int32_t glc_slc) __asm("llvm.amdgcn.raw.buffer.load.f16");
int32_t glc_slc) __asm("llvm.amdgcn.raw.buffer.load.i16");

__device__ float
llvm_amdgcn_raw_buffer_load_fp32(int32x4_t srsrc,
Expand All @@ -72,7 +72,7 @@ __device__ half2
llvm_amdgcn_raw_buffer_load_fp16x2(int32x4_t srsrc,
int32_t voffset,
int32_t soffset,
int32_t glc_slc) __asm("llvm.amdgcn.raw.buffer.load.v2f16");
int32_t glc_slc) __asm("llvm.amdgcn.raw.buffer.load.i32");

__device__ floatx2_t
llvm_amdgcn_raw_buffer_load_fp32x2(int32x4_t srsrc,
Expand Down