Skip to content

Commit

Permalink
[HIPIFY][6.4] Remove the HIP_EXPERIMENTAL mark
Browse files Browse the repository at this point in the history
  • Loading branch information
emankov committed Nov 15, 2024
1 parent 0c38124 commit 8da7655
Show file tree
Hide file tree
Showing 12 changed files with 464 additions and 486 deletions.
70 changes: 24 additions & 46 deletions bin/hipify-perl
Original file line number Diff line number Diff line change
Expand Up @@ -1392,29 +1392,7 @@ my %removed_funcs = (
);

my %experimental_funcs = (
"cusolverDnXpotrs" => "6.3.0",
"cusolverDnXpotrf_bufferSize" => "6.3.0",
"cusolverDnXpotrf" => "6.3.0",
"cusolverDnXgeqrf_bufferSize" => "6.3.0",
"cusolverDnXgeqrf" => "6.3.0",
"cusolverDnSetDeterministicMode" => "6.3.0",
"cusolverDnGetDeterministicMode" => "6.3.0",
"cudaGraphNodeSetParams" => "6.3.0",
"cudaGraphExecNodeSetParams" => "6.3.0",
"cudaGraphExecGetFlags" => "6.3.0",
"cublasZgemmStridedBatched_64" => "6.3.0",
"cublasSgemmStridedBatched_64" => "6.3.0",
"cublasHgemmStridedBatched_64" => "6.3.0",
"cublasDgemmStridedBatched_64" => "6.3.0",
"cublasCgemmStridedBatched_64" => "6.3.0",
"cuGraphNodeSetParams" => "6.3.0",
"cuGraphMemcpyNodeSetParams" => "6.3.0",
"cuGraphMemcpyNodeGetParams" => "6.3.0",
"cuGraphExecNodeSetParams" => "6.3.0",
"cuGraphExecMemsetNodeSetParams" => "6.3.0",
"cuGraphExecMemcpyNodeSetParams" => "6.3.0",
"cuGraphExecGetFlags" => "6.3.0",
"cuGraphAddMemFreeNode" => "6.3.0"

);

$print_stats = 1 if $examine;
Expand Down Expand Up @@ -1552,29 +1530,6 @@ sub subst {
}

sub experimentalSubstitutions {
subst("cuGraphAddMemFreeNode", "hipDrvGraphAddMemFreeNode", "graph");
subst("cuGraphExecGetFlags", "hipGraphExecGetFlags", "graph");
subst("cuGraphExecMemcpyNodeSetParams", "hipDrvGraphExecMemcpyNodeSetParams", "graph");
subst("cuGraphExecMemsetNodeSetParams", "hipDrvGraphExecMemsetNodeSetParams", "graph");
subst("cuGraphExecNodeSetParams", "hipGraphExecNodeSetParams", "graph");
subst("cuGraphMemcpyNodeGetParams", "hipDrvGraphMemcpyNodeGetParams", "graph");
subst("cuGraphMemcpyNodeSetParams", "hipDrvGraphMemcpyNodeSetParams", "graph");
subst("cuGraphNodeSetParams", "hipGraphNodeSetParams", "graph");
subst("cudaGraphExecGetFlags", "hipGraphExecGetFlags", "graph");
subst("cudaGraphExecNodeSetParams", "hipGraphExecNodeSetParams", "graph");
subst("cudaGraphNodeSetParams", "hipGraphNodeSetParams", "graph");
subst("cublasCgemmStridedBatched_64", "hipblasCgemmStridedBatched_v2_64", "library");
subst("cublasDgemmStridedBatched_64", "hipblasDgemmStridedBatched_64", "library");
subst("cublasHgemmStridedBatched_64", "hipblasHgemmStridedBatched_64", "library");
subst("cublasSgemmStridedBatched_64", "hipblasSgemmStridedBatched_64", "library");
subst("cublasZgemmStridedBatched_64", "hipblasZgemmStridedBatched_v2_64", "library");
subst("cusolverDnGetDeterministicMode", "hipsolverDnGetDeterministicMode", "library");
subst("cusolverDnSetDeterministicMode", "hipsolverDnSetDeterministicMode", "library");
subst("cusolverDnXgeqrf", "hipsolverDnXgeqrf", "library");
subst("cusolverDnXgeqrf_bufferSize", "hipsolverDnXgeqrf_bufferSize", "library");
subst("cusolverDnXpotrf", "hipsolverDnXpotrf", "library");
subst("cusolverDnXpotrf_bufferSize", "hipsolverDnXpotrf_bufferSize", "library");
subst("cusolverDnXpotrs", "hipsolverDnXpotrs", "library");
}

sub rocSubstitutions {
Expand Down Expand Up @@ -4113,6 +4068,7 @@ sub simpleSubstitutions {
subst("cuGraphAddHostNode", "hipGraphAddHostNode", "graph");
subst("cuGraphAddKernelNode", "hipGraphAddKernelNode", "graph");
subst("cuGraphAddMemAllocNode", "hipGraphAddMemAllocNode", "graph");
subst("cuGraphAddMemFreeNode", "hipDrvGraphAddMemFreeNode", "graph");
subst("cuGraphAddMemcpyNode", "hipDrvGraphAddMemcpyNode", "graph");
subst("cuGraphAddMemsetNode", "hipDrvGraphAddMemsetNode", "graph");
subst("cuGraphAddNode", "hipGraphAddNode", "graph");
Expand All @@ -4135,8 +4091,12 @@ sub simpleSubstitutions {
subst("cuGraphExecEventWaitNodeSetEvent", "hipGraphExecEventWaitNodeSetEvent", "graph");
subst("cuGraphExecExternalSemaphoresSignalNodeSetParams", "hipGraphExecExternalSemaphoresSignalNodeSetParams", "graph");
subst("cuGraphExecExternalSemaphoresWaitNodeSetParams", "hipGraphExecExternalSemaphoresWaitNodeSetParams", "graph");
subst("cuGraphExecGetFlags", "hipGraphExecGetFlags", "graph");
subst("cuGraphExecHostNodeSetParams", "hipGraphExecHostNodeSetParams", "graph");
subst("cuGraphExecKernelNodeSetParams", "hipGraphExecKernelNodeSetParams", "graph");
subst("cuGraphExecMemcpyNodeSetParams", "hipDrvGraphExecMemcpyNodeSetParams", "graph");
subst("cuGraphExecMemsetNodeSetParams", "hipDrvGraphExecMemsetNodeSetParams", "graph");
subst("cuGraphExecNodeSetParams", "hipGraphExecNodeSetParams", "graph");
subst("cuGraphExecUpdate", "hipGraphExecUpdate", "graph");
subst("cuGraphExternalSemaphoresSignalNodeGetParams", "hipGraphExternalSemaphoresSignalNodeGetParams", "graph");
subst("cuGraphExternalSemaphoresSignalNodeSetParams", "hipGraphExternalSemaphoresSignalNodeSetParams", "graph");
Expand All @@ -4159,6 +4119,8 @@ sub simpleSubstitutions {
subst("cuGraphLaunch", "hipGraphLaunch", "graph");
subst("cuGraphMemAllocNodeGetParams", "hipGraphMemAllocNodeGetParams", "graph");
subst("cuGraphMemFreeNodeGetParams", "hipGraphMemFreeNodeGetParams", "graph");
subst("cuGraphMemcpyNodeGetParams", "hipDrvGraphMemcpyNodeGetParams", "graph");
subst("cuGraphMemcpyNodeSetParams", "hipDrvGraphMemcpyNodeSetParams", "graph");
subst("cuGraphMemsetNodeGetParams", "hipGraphMemsetNodeGetParams", "graph");
subst("cuGraphMemsetNodeSetParams", "hipGraphMemsetNodeSetParams", "graph");
subst("cuGraphNodeFindInClone", "hipGraphNodeFindInClone", "graph");
Expand All @@ -4167,6 +4129,7 @@ sub simpleSubstitutions {
subst("cuGraphNodeGetEnabled", "hipGraphNodeGetEnabled", "graph");
subst("cuGraphNodeGetType", "hipGraphNodeGetType", "graph");
subst("cuGraphNodeSetEnabled", "hipGraphNodeSetEnabled", "graph");
subst("cuGraphNodeSetParams", "hipGraphNodeSetParams", "graph");
subst("cuGraphReleaseUserObject", "hipGraphReleaseUserObject", "graph");
subst("cuGraphRemoveDependencies", "hipGraphRemoveDependencies", "graph");
subst("cuGraphRetainUserObject", "hipGraphRetainUserObject", "graph");
Expand Down Expand Up @@ -4210,13 +4173,15 @@ sub simpleSubstitutions {
subst("cudaGraphExecEventWaitNodeSetEvent", "hipGraphExecEventWaitNodeSetEvent", "graph");
subst("cudaGraphExecExternalSemaphoresSignalNodeSetParams", "hipGraphExecExternalSemaphoresSignalNodeSetParams", "graph");
subst("cudaGraphExecExternalSemaphoresWaitNodeSetParams", "hipGraphExecExternalSemaphoresWaitNodeSetParams", "graph");
subst("cudaGraphExecGetFlags", "hipGraphExecGetFlags", "graph");
subst("cudaGraphExecHostNodeSetParams", "hipGraphExecHostNodeSetParams", "graph");
subst("cudaGraphExecKernelNodeSetParams", "hipGraphExecKernelNodeSetParams", "graph");
subst("cudaGraphExecMemcpyNodeSetParams", "hipGraphExecMemcpyNodeSetParams", "graph");
subst("cudaGraphExecMemcpyNodeSetParams1D", "hipGraphExecMemcpyNodeSetParams1D", "graph");
subst("cudaGraphExecMemcpyNodeSetParamsFromSymbol", "hipGraphExecMemcpyNodeSetParamsFromSymbol", "graph");
subst("cudaGraphExecMemcpyNodeSetParamsToSymbol", "hipGraphExecMemcpyNodeSetParamsToSymbol", "graph");
subst("cudaGraphExecMemsetNodeSetParams", "hipGraphExecMemsetNodeSetParams", "graph");
subst("cudaGraphExecNodeSetParams", "hipGraphExecNodeSetParams", "graph");
subst("cudaGraphExecUpdate", "hipGraphExecUpdate", "graph");
subst("cudaGraphExternalSemaphoresSignalNodeGetParams", "hipGraphExternalSemaphoresSignalNodeGetParams", "graph");
subst("cudaGraphExternalSemaphoresSignalNodeSetParams", "hipGraphExternalSemaphoresSignalNodeSetParams", "graph");
Expand Down Expand Up @@ -4251,6 +4216,7 @@ sub simpleSubstitutions {
subst("cudaGraphNodeGetEnabled", "hipGraphNodeGetEnabled", "graph");
subst("cudaGraphNodeGetType", "hipGraphNodeGetType", "graph");
subst("cudaGraphNodeSetEnabled", "hipGraphNodeSetEnabled", "graph");
subst("cudaGraphNodeSetParams", "hipGraphNodeSetParams", "graph");
subst("cudaGraphReleaseUserObject", "hipGraphReleaseUserObject", "graph");
subst("cudaGraphRemoveDependencies", "hipGraphRemoveDependencies", "graph");
subst("cudaGraphRetainUserObject", "hipGraphRetainUserObject", "graph");
Expand Down Expand Up @@ -4407,6 +4373,7 @@ sub simpleSubstitutions {
subst("cublasCgemmBatched", "hipblasCgemmBatched_v2", "library");
subst("cublasCgemmBatched_64", "hipblasCgemmBatched_v2_64", "library");
subst("cublasCgemmStridedBatched", "hipblasCgemmStridedBatched_v2", "library");
subst("cublasCgemmStridedBatched_64", "hipblasCgemmStridedBatched_v2_64", "library");
subst("cublasCgemm_64", "hipblasCgemm_v2_64", "library");
subst("cublasCgemm_v2", "hipblasCgemm_v2", "library");
subst("cublasCgemm_v2_64", "hipblasCgemm_v2_64", "library");
Expand Down Expand Up @@ -4587,6 +4554,7 @@ sub simpleSubstitutions {
subst("cublasDgemmBatched", "hipblasDgemmBatched", "library");
subst("cublasDgemmBatched_64", "hipblasDgemmBatched_64", "library");
subst("cublasDgemmStridedBatched", "hipblasDgemmStridedBatched", "library");
subst("cublasDgemmStridedBatched_64", "hipblasDgemmStridedBatched_64", "library");
subst("cublasDgemm_64", "hipblasDgemm_64", "library");
subst("cublasDgemm_v2", "hipblasDgemm", "library");
subst("cublasDgemm_v2_64", "hipblasDgemm_64", "library");
Expand Down Expand Up @@ -4738,6 +4706,7 @@ sub simpleSubstitutions {
subst("cublasHgemmBatched", "hipblasHgemmBatched", "library");
subst("cublasHgemmBatched_64", "hipblasHgemmBatched_64", "library");
subst("cublasHgemmStridedBatched", "hipblasHgemmStridedBatched", "library");
subst("cublasHgemmStridedBatched_64", "hipblasHgemmStridedBatched_64", "library");
subst("cublasHgemm_64", "hipblasHgemm_64", "library");
subst("cublasIcamax", "hipblasIcamax_v2", "library");
subst("cublasIcamax_64", "hipblasIcamax_v2_64", "library");
Expand Down Expand Up @@ -4845,6 +4814,7 @@ sub simpleSubstitutions {
subst("cublasSgemmBatched", "hipblasSgemmBatched", "library");
subst("cublasSgemmBatched_64", "hipblasSgemmBatched_64", "library");
subst("cublasSgemmStridedBatched", "hipblasSgemmStridedBatched", "library");
subst("cublasSgemmStridedBatched_64", "hipblasSgemmStridedBatched_64", "library");
subst("cublasSgemm_64", "hipblasSgemm_64", "library");
subst("cublasSgemm_v2", "hipblasSgemm", "library");
subst("cublasSgemm_v2_64", "hipblasSgemm_64", "library");
Expand Down Expand Up @@ -5001,6 +4971,7 @@ sub simpleSubstitutions {
subst("cublasZgemmBatched", "hipblasZgemmBatched_v2", "library");
subst("cublasZgemmBatched_64", "hipblasZgemmBatched_v2_64", "library");
subst("cublasZgemmStridedBatched", "hipblasZgemmStridedBatched_v2", "library");
subst("cublasZgemmStridedBatched_64", "hipblasZgemmStridedBatched_v2_64", "library");
subst("cublasZgemm_64", "hipblasZgemm_v2_64", "library");
subst("cublasZgemm_v2", "hipblasZgemm_v2", "library");
subst("cublasZgemm_v2_64", "hipblasZgemm_v2_64", "library");
Expand Down Expand Up @@ -5432,12 +5403,14 @@ sub simpleSubstitutions {
subst("cusolverDnDsytrd_bufferSize", "hipsolverDnDsytrd_bufferSize", "library");
subst("cusolverDnDsytrf", "hipsolverDnDsytrf", "library");
subst("cusolverDnDsytrf_bufferSize", "hipsolverDnDsytrf_bufferSize", "library");
subst("cusolverDnGetDeterministicMode", "hipsolverDnGetDeterministicMode", "library");
subst("cusolverDnGetStream", "hipsolverGetStream", "library");
subst("cusolverDnSSgels", "hipsolverDnSSgels", "library");
subst("cusolverDnSSgels_bufferSize", "hipsolverDnSSgels_bufferSize", "library");
subst("cusolverDnSSgesv", "hipsolverDnSSgesv", "library");
subst("cusolverDnSSgesv_bufferSize", "hipsolverDnSSgesv_bufferSize", "library");
subst("cusolverDnSetAdvOptions", "hipsolverDnSetAdvOptions", "library");
subst("cusolverDnSetDeterministicMode", "hipsolverDnSetDeterministicMode", "library");
subst("cusolverDnSetStream", "hipsolverSetStream", "library");
subst("cusolverDnSgebrd", "hipsolverDnSgebrd", "library");
subst("cusolverDnSgebrd_bufferSize", "hipsolverDnSgebrd_bufferSize", "library");
Expand Down Expand Up @@ -5489,6 +5462,8 @@ sub simpleSubstitutions {
subst("cusolverDnSsytrd_bufferSize", "hipsolverDnSsytrd_bufferSize", "library");
subst("cusolverDnSsytrf", "hipsolverDnSsytrf", "library");
subst("cusolverDnSsytrf_bufferSize", "hipsolverDnSsytrf_bufferSize", "library");
subst("cusolverDnXgeqrf", "hipsolverDnXgeqrf", "library");
subst("cusolverDnXgeqrf_bufferSize", "hipsolverDnXgeqrf_bufferSize", "library");
subst("cusolverDnXgesvdjGetResidual", "hipsolverDnXgesvdjGetResidual", "library");
subst("cusolverDnXgesvdjGetSweeps", "hipsolverDnXgesvdjGetSweeps", "library");
subst("cusolverDnXgesvdjSetMaxSweeps", "hipsolverDnXgesvdjSetMaxSweeps", "library");
Expand All @@ -5497,6 +5472,9 @@ sub simpleSubstitutions {
subst("cusolverDnXgetrf", "hipsolverDnXgetrf", "library");
subst("cusolverDnXgetrf_bufferSize", "hipsolverDnXgetrf_bufferSize", "library");
subst("cusolverDnXgetrs", "hipsolverDnXgetrs", "library");
subst("cusolverDnXpotrf", "hipsolverDnXpotrf", "library");
subst("cusolverDnXpotrf_bufferSize", "hipsolverDnXpotrf_bufferSize", "library");
subst("cusolverDnXpotrs", "hipsolverDnXpotrs", "library");
subst("cusolverDnXsyevjGetResidual", "hipsolverDnXsyevjGetResidual", "library");
subst("cusolverDnXsyevjGetSweeps", "hipsolverDnXsyevjGetSweeps", "library");
subst("cusolverDnXsyevjSetMaxSweeps", "hipsolverDnXsyevjSetMaxSweeps", "library");
Expand Down
Loading

0 comments on commit 8da7655

Please sign in to comment.