Skip to content

Commit

Permalink
Move hipify-perf away from deprecated API
Browse files Browse the repository at this point in the history
  • Loading branch information
xinyazhang committed Oct 15, 2024
1 parent 36ab4b9 commit 65ffb0e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tools/ci_build/hipify-perl
Original file line number Diff line number Diff line change
Expand Up @@ -3541,14 +3541,14 @@ sub simpleSubstitutions {
subst("cuIpcOpenEventHandle", "hipIpcOpenEventHandle", "memory");
subst("cuIpcOpenMemHandle", "hipIpcOpenMemHandle", "memory");
subst("cuMemAlloc", "hipMalloc", "memory");
subst("cuMemAllocHost", "hipMemAllocHost", "memory");
subst("cuMemAllocHost_v2", "hipMemAllocHost", "memory");
subst("cuMemAllocHost", "hipHostAlloc", "memory");
subst("cuMemAllocHost_v2", "hipHostAlloc", "memory");
subst("cuMemAllocManaged", "hipMallocManaged", "memory");
subst("cuMemAllocPitch", "hipMemAllocPitch", "memory");
subst("cuMemAllocPitch_v2", "hipMemAllocPitch", "memory");
subst("cuMemAlloc_v2", "hipMalloc", "memory");
subst("cuMemFree", "hipFree", "memory");
subst("cuMemFreeHost", "hipHostFree", "memory");
subst("cuMemFreeHost", "hipFreeHost", "memory");
subst("cuMemFree_v2", "hipFree", "memory");
subst("cuMemGetAddressRange", "hipMemGetAddressRange", "memory");
subst("cuMemGetAddressRange_v2", "hipMemGetAddressRange", "memory");
Expand Down Expand Up @@ -3603,7 +3603,7 @@ sub simpleSubstitutions {
subst("cudaFree", "hipFree", "memory");
subst("cudaFreeArray", "hipFreeArray", "memory");
subst("cudaFreeAsync", "hipFreeAsync", "memory");
subst("cudaFreeHost", "hipHostFree", "memory");
subst("cudaFreeHost", "hipFreeHost", "memory");
subst("cudaFreeMipmappedArray", "hipFreeMipmappedArray", "memory");
subst("cudaGetMipmappedArrayLevel", "hipGetMipmappedArrayLevel", "memory");
subst("cudaGetSymbolAddress", "hipGetSymbolAddress", "memory");
Expand All @@ -3619,7 +3619,7 @@ sub simpleSubstitutions {
subst("cudaMallocArray", "hipMallocArray", "memory");
subst("cudaMallocAsync", "hipMallocAsync", "memory");
subst("cudaMallocFromPoolAsync", "hipMallocFromPoolAsync", "memory");
subst("cudaMallocHost", "hipHostMalloc", "memory");
subst("cudaMallocHost", "hipExtHostAlloc", "memory");
subst("cudaMallocManaged", "hipMallocManaged", "memory");
subst("cudaMallocMipmappedArray", "hipMallocMipmappedArray", "memory");
subst("cudaMallocPitch", "hipMallocPitch", "memory");
Expand Down Expand Up @@ -3649,12 +3649,12 @@ sub simpleSubstitutions {
subst("cudaMemcpy3D", "hipMemcpy3D", "memory");
subst("cudaMemcpy3DAsync", "hipMemcpy3DAsync", "memory");
subst("cudaMemcpyAsync", "hipMemcpyAsync", "memory");
subst("cudaMemcpyFromArray", "hipMemcpyFromArray", "memory");
subst("cudaMemcpyFromArray", "hipMemcpy2DFromArray", "memory");
subst("cudaMemcpyFromSymbol", "hipMemcpyFromSymbol", "memory");
subst("cudaMemcpyFromSymbolAsync", "hipMemcpyFromSymbolAsync", "memory");
subst("cudaMemcpyPeer", "hipMemcpyPeer", "memory");
subst("cudaMemcpyPeerAsync", "hipMemcpyPeerAsync", "memory");
subst("cudaMemcpyToArray", "hipMemcpyToArray", "memory");
subst("cudaMemcpyToArray", "hipMemcpy2DToArray", "memory");
subst("cudaMemcpyToSymbol", "hipMemcpyToSymbol", "memory");
subst("cudaMemcpyToSymbolAsync", "hipMemcpyToSymbolAsync", "memory");
subst("cudaMemset", "hipMemset", "memory");
Expand Down

0 comments on commit 65ffb0e

Please sign in to comment.