mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-06 00:03:22 +00:00
undo hipify of __half to rocblas_half (#18573)
Fixes build issue seen with newer ROCm releases Co-authored-by: Jeff Daily <jeff.daily@amd.com>
This commit is contained in:
parent
b9c935f605
commit
7b2aefa856
1 changed files with 3 additions and 0 deletions
|
|
@ -35,6 +35,9 @@ def hipify(hipify_perl_path, src_file_path, dst_file_path):
|
|||
s = s.replace("HIPBLAS_OP_T", "rocblas_operation_transpose")
|
||||
s = s.replace("HIPBLAS_OP_N", "rocblas_operation_none")
|
||||
|
||||
# in rocm 6.0, hipify-perl, the -roc option also maps __half -> rocblas_half which we don't want
|
||||
s = s.replace("rocblas_half", "__half")
|
||||
|
||||
s = s.replace("RegisterCudaContribKernels", "RegisterRocmContribKernels")
|
||||
s = s.replace("cudaEvent", "hipEvent")
|
||||
s = s.replace("CreateCudaAllocator", "CreateRocmAllocator")
|
||||
|
|
|
|||
Loading…
Reference in a new issue