diff --git a/bin/hipify-perl b/bin/hipify-perl index 7e1fde8a..abf87f74 100755 --- a/bin/hipify-perl +++ b/bin/hipify-perl @@ -60,6 +60,10 @@ my $fileName = ""; my $hipFileName = ""; my %ft; my %Tkernels; +my %tags = (); +my %tagsTotal = (); +my %tagsToConvertedTags = (); +my %tagsToConvertedTagsTotal = (); my %convertedTags = (); my %convertedTagsTotal = (); @@ -801,12 +805,12 @@ sub printStats { printf STDERR " WARNINGS: $warnings\n"; printf STDERR "[HIPIFY] info: CONVERTED refs by names:\n"; if ($global) { - foreach my $key (sort keys %convertedTagsTotal) { - printf STDERR " %s %d\n", $key, $convertedTagsTotal{$key}; + foreach my $key (sort keys %tagsToConvertedTagsTotal) { + printf STDERR " %s => %s: %d\n", $key, $tagsToConvertedTagsTotal{$key}, $convertedTagsTotal{$tagsToConvertedTagsTotal{$key}}; } } else { - foreach my $key (sort keys %convertedTags) { - printf STDERR " %s %d\n", $key, $convertedTags{$key}; + foreach my $key (sort keys %tagsToConvertedTags) { + printf STDERR " %s => %s: %d\n", $key, $tagsToConvertedTags{$key}, $convertedTags{$tagsToConvertedTags{$key}}; } } } @@ -827,3450 +831,3469 @@ sub clearStats { } } +sub subst { + my $a = shift(); + my $b = shift(); + my $t = shift(); + my $i = ""; + if ($t eq "include" or $t eq "include_cuda_main_header") { + $i = "(?])"; + } + if (my $c += s/$i\b$a/$b/g) { + $ft{$t} += $c; + $tags{$a} +=$c; + $tagsTotal{$a} +=$c; + $convertedTags{$b} +=$c; + $convertedTagsTotal{$b} +=$c; + $tagsToConvertedTags{$a} = $b; + $tagsToConvertedTagsTotal{$a} = $b; + } +} + sub experimentalSubstitutions { - $ft{'graphics'} += s/\bcuGraphicsSubResourceGetMappedArray\b/hipGraphicsSubResourceGetMappedArray/g; - $ft{'graphics'} += s/\bcudaGraphicsSubResourceGetMappedArray\b/hipGraphicsSubResourceGetMappedArray/g; - $ft{'openGL'} += s/\bcuGraphicsGLRegisterImage\b/hipGraphicsGLRegisterImage/g; - $ft{'type'} += s/\bGLenum\b/GLenum/g; - $ft{'type'} += s/\bGLuint\b/GLuint/g; + subst("cuGraphicsSubResourceGetMappedArray", "hipGraphicsSubResourceGetMappedArray", "graphics"); + subst("cudaGraphicsSubResourceGetMappedArray", "hipGraphicsSubResourceGetMappedArray", "graphics"); + subst("cuGraphicsGLRegisterImage", "hipGraphicsGLRegisterImage", "openGL"); + subst("GLenum", "GLenum", "type"); + subst("GLuint", "GLuint", "type"); } sub rocSubstitutions { - $ft{'library'} += s/\bcublasAxpyEx\b/rocblas_axpy_ex/g; - $ft{'library'} += s/\bcublasCaxpy\b/rocblas_caxpy/g; - $ft{'library'} += s/\bcublasCaxpy_v2\b/rocblas_caxpy/g; - $ft{'library'} += s/\bcublasCcopy\b/rocblas_ccopy/g; - $ft{'library'} += s/\bcublasCcopy_v2\b/rocblas_ccopy/g; - $ft{'library'} += s/\bcublasCdgmm\b/rocblas_cdgmm/g; - $ft{'library'} += s/\bcublasCdotc\b/rocblas_cdotc/g; - $ft{'library'} += s/\bcublasCdotc_v2\b/rocblas_cdotc/g; - $ft{'library'} += s/\bcublasCdotu\b/rocblas_cdotu/g; - $ft{'library'} += s/\bcublasCdotu_v2\b/rocblas_cdotu/g; - $ft{'library'} += s/\bcublasCgbmv\b/rocblas_cgbmv/g; - $ft{'library'} += s/\bcublasCgbmv_v2\b/rocblas_cgbmv/g; - $ft{'library'} += s/\bcublasCgeam\b/rocblas_cgeam/g; - $ft{'library'} += s/\bcublasCgemm\b/rocblas_cgemm/g; - $ft{'library'} += s/\bcublasCgemmBatched\b/rocblas_cgemm_batched/g; - $ft{'library'} += s/\bcublasCgemmStridedBatched\b/rocblas_cgemm_strided_batched/g; - $ft{'library'} += s/\bcublasCgemm_v2\b/rocblas_cgemm/g; - $ft{'library'} += s/\bcublasCgemv\b/rocblas_cgemv/g; - $ft{'library'} += s/\bcublasCgemv_v2\b/rocblas_cgemv/g; - $ft{'library'} += s/\bcublasCgerc\b/rocblas_cgerc/g; - $ft{'library'} += s/\bcublasCgerc_v2\b/rocblas_cgerc/g; - $ft{'library'} += s/\bcublasCgeru\b/rocblas_cgeru/g; - $ft{'library'} += s/\bcublasCgeru_v2\b/rocblas_cgeru/g; - $ft{'library'} += s/\bcublasChbmv\b/rocblas_chbmv/g; - $ft{'library'} += s/\bcublasChbmv_v2\b/rocblas_chbmv/g; - $ft{'library'} += s/\bcublasChemm\b/rocblas_chemm/g; - $ft{'library'} += s/\bcublasChemm_v2\b/rocblas_chemm/g; - $ft{'library'} += s/\bcublasChemv\b/rocblas_chemv/g; - $ft{'library'} += s/\bcublasChemv_v2\b/rocblas_chemv/g; - $ft{'library'} += s/\bcublasCher\b/rocblas_cher/g; - $ft{'library'} += s/\bcublasCher2\b/rocblas_cher2/g; - $ft{'library'} += s/\bcublasCher2_v2\b/rocblas_cher2/g; - $ft{'library'} += s/\bcublasCher2k\b/rocblas_cher2k/g; - $ft{'library'} += s/\bcublasCher2k_v2\b/rocblas_cher2k/g; - $ft{'library'} += s/\bcublasCher_v2\b/rocblas_cher/g; - $ft{'library'} += s/\bcublasCherk\b/rocblas_cherk/g; - $ft{'library'} += s/\bcublasCherk_v2\b/rocblas_cherkx/g; - $ft{'library'} += s/\bcublasCherkx\b/rocblas_cherkx/g; - $ft{'library'} += s/\bcublasChpmv\b/rocblas_chpmv/g; - $ft{'library'} += s/\bcublasChpmv_v2\b/rocblas_chpmv/g; - $ft{'library'} += s/\bcublasChpr\b/rocblas_chpr/g; - $ft{'library'} += s/\bcublasChpr2\b/rocblas_chpr2/g; - $ft{'library'} += s/\bcublasChpr2_v2\b/rocblas_chpr2/g; - $ft{'library'} += s/\bcublasChpr_v2\b/rocblas_chpr/g; - $ft{'library'} += s/\bcublasCreate\b/rocblas_create_handle/g; - $ft{'library'} += s/\bcublasCreate_v2\b/rocblas_create_handle/g; - $ft{'library'} += s/\bcublasCrot\b/rocblas_crot/g; - $ft{'library'} += s/\bcublasCrot_v2\b/rocblas_crot/g; - $ft{'library'} += s/\bcublasCrotg\b/rocblas_crotg/g; - $ft{'library'} += s/\bcublasCrotg_v2\b/rocblas_crotg/g; - $ft{'library'} += s/\bcublasCscal\b/rocblas_cscal/g; - $ft{'library'} += s/\bcublasCscal_v2\b/rocblas_cscal/g; - $ft{'library'} += s/\bcublasCsrot\b/rocblas_csrot/g; - $ft{'library'} += s/\bcublasCsrot_v2\b/rocblas_csrot/g; - $ft{'library'} += s/\bcublasCsscal\b/rocblas_csscal/g; - $ft{'library'} += s/\bcublasCsscal_v2\b/rocblas_csscal/g; - $ft{'library'} += s/\bcublasCswap\b/rocblas_cswap/g; - $ft{'library'} += s/\bcublasCswap_v2\b/rocblas_cswap/g; - $ft{'library'} += s/\bcublasCsymm\b/rocblas_csymm/g; - $ft{'library'} += s/\bcublasCsymm_v2\b/rocblas_csymm/g; - $ft{'library'} += s/\bcublasCsymv\b/rocblas_csymv/g; - $ft{'library'} += s/\bcublasCsymv_v2\b/rocblas_csymv/g; - $ft{'library'} += s/\bcublasCsyr\b/rocblas_csyr/g; - $ft{'library'} += s/\bcublasCsyr2\b/rocblas_csyr2/g; - $ft{'library'} += s/\bcublasCsyr2_v2\b/rocblas_csyr2/g; - $ft{'library'} += s/\bcublasCsyr2k\b/rocblas_csyr2k/g; - $ft{'library'} += s/\bcublasCsyr2k_v2\b/rocblas_csyr2k/g; - $ft{'library'} += s/\bcublasCsyr_v2\b/rocblas_csyr/g; - $ft{'library'} += s/\bcublasCsyrk\b/rocblas_csyrk/g; - $ft{'library'} += s/\bcublasCsyrk_v2\b/rocblas_csyrk/g; - $ft{'library'} += s/\bcublasCsyrkx\b/rocblas_csyrkx/g; - $ft{'library'} += s/\bcublasCtbmv\b/rocblas_ctbmv/g; - $ft{'library'} += s/\bcublasCtbmv_v2\b/rocblas_ctbmv/g; - $ft{'library'} += s/\bcublasCtbsv\b/rocblas_ctbsv/g; - $ft{'library'} += s/\bcublasCtbsv_v2\b/rocblas_ctbsv/g; - $ft{'library'} += s/\bcublasCtpmv\b/rocblas_ctpmv/g; - $ft{'library'} += s/\bcublasCtpmv_v2\b/rocblas_ctpmv/g; - $ft{'library'} += s/\bcublasCtpsv\b/rocblas_ctpsv/g; - $ft{'library'} += s/\bcublasCtpsv_v2\b/rocblas_ctpsv/g; - $ft{'library'} += s/\bcublasCtrmm\b/rocblas_ctrmm/g; - $ft{'library'} += s/\bcublasCtrmm_v2\b/rocblas_ctrmm/g; - $ft{'library'} += s/\bcublasCtrmv\b/rocblas_ctrmv/g; - $ft{'library'} += s/\bcublasCtrmv_v2\b/rocblas_ctrmv/g; - $ft{'library'} += s/\bcublasCtrsm\b/rocblas_ctrsm/g; - $ft{'library'} += s/\bcublasCtrsmBatched\b/rocblas_ctrsm_batched/g; - $ft{'library'} += s/\bcublasCtrsm_v2\b/rocblas_ctrsm/g; - $ft{'library'} += s/\bcublasCtrsv\b/rocblas_ctrsv/g; - $ft{'library'} += s/\bcublasCtrsv_v2\b/rocblas_ctrsv/g; - $ft{'library'} += s/\bcublasDasum\b/rocblas_dasum/g; - $ft{'library'} += s/\bcublasDasum_v2\b/rocblas_dasum/g; - $ft{'library'} += s/\bcublasDaxpy\b/rocblas_daxpy/g; - $ft{'library'} += s/\bcublasDaxpy_v2\b/rocblas_daxpy/g; - $ft{'library'} += s/\bcublasDcopy\b/rocblas_dcopy/g; - $ft{'library'} += s/\bcublasDcopy_v2\b/rocblas_dcopy/g; - $ft{'library'} += s/\bcublasDdgmm\b/rocblas_ddgmm/g; - $ft{'library'} += s/\bcublasDdot\b/rocblas_ddot/g; - $ft{'library'} += s/\bcublasDdot_v2\b/rocblas_ddot/g; - $ft{'library'} += s/\bcublasDestroy\b/rocblas_destroy_handle/g; - $ft{'library'} += s/\bcublasDestroy_v2\b/rocblas_destroy_handle/g; - $ft{'library'} += s/\bcublasDgbmv\b/rocblas_dgbmv/g; - $ft{'library'} += s/\bcublasDgbmv_v2\b/rocblas_dgbmv/g; - $ft{'library'} += s/\bcublasDgeam\b/rocblas_dgeam/g; - $ft{'library'} += s/\bcublasDgemm\b/rocblas_dgemm/g; - $ft{'library'} += s/\bcublasDgemmBatched\b/rocblas_dgemm_batched/g; - $ft{'library'} += s/\bcublasDgemmStridedBatched\b/rocblas_dgemm_strided_batched/g; - $ft{'library'} += s/\bcublasDgemm_v2\b/rocblas_dgemm/g; - $ft{'library'} += s/\bcublasDgemv\b/rocblas_dgemv/g; - $ft{'library'} += s/\bcublasDgemv_v2\b/rocblas_dgemv/g; - $ft{'library'} += s/\bcublasDger\b/rocblas_dger/g; - $ft{'library'} += s/\bcublasDger_v2\b/rocblas_dger/g; - $ft{'library'} += s/\bcublasDnrm2\b/rocblas_dnrm2/g; - $ft{'library'} += s/\bcublasDnrm2_v2\b/rocblas_dnrm2/g; - $ft{'library'} += s/\bcublasDotEx\b/rocblas_dot_ex/g; - $ft{'library'} += s/\bcublasDotcEx\b/rocblas_dotc_ex/g; - $ft{'library'} += s/\bcublasDrot\b/rocblas_drot/g; - $ft{'library'} += s/\bcublasDrot_v2\b/rocblas_drot/g; - $ft{'library'} += s/\bcublasDrotg\b/rocblas_drotg/g; - $ft{'library'} += s/\bcublasDrotg_v2\b/rocblas_drotg/g; - $ft{'library'} += s/\bcublasDrotm\b/rocblas_drotm/g; - $ft{'library'} += s/\bcublasDrotm_v2\b/rocblas_drotm/g; - $ft{'library'} += s/\bcublasDrotmg\b/rocblas_drotmg/g; - $ft{'library'} += s/\bcublasDrotmg_v2\b/rocblas_drotmg/g; - $ft{'library'} += s/\bcublasDsbmv\b/rocblas_dsbmv/g; - $ft{'library'} += s/\bcublasDsbmv_v2\b/rocblas_dsbmv/g; - $ft{'library'} += s/\bcublasDscal\b/rocblas_dscal/g; - $ft{'library'} += s/\bcublasDscal_v2\b/rocblas_dscal/g; - $ft{'library'} += s/\bcublasDspmv\b/rocblas_dspmv/g; - $ft{'library'} += s/\bcublasDspmv_v2\b/rocblas_dspmv/g; - $ft{'library'} += s/\bcublasDspr\b/rocblas_dspr/g; - $ft{'library'} += s/\bcublasDspr2\b/rocblas_dspr2/g; - $ft{'library'} += s/\bcublasDspr2_v2\b/rocblas_dspr2/g; - $ft{'library'} += s/\bcublasDspr_v2\b/rocblas_dspr/g; - $ft{'library'} += s/\bcublasDswap\b/rocblas_dswap/g; - $ft{'library'} += s/\bcublasDswap_v2\b/rocblas_dswap/g; - $ft{'library'} += s/\bcublasDsymm\b/rocblas_dsymm/g; - $ft{'library'} += s/\bcublasDsymm_v2\b/rocblas_dsymm/g; - $ft{'library'} += s/\bcublasDsymv\b/rocblas_dsymv/g; - $ft{'library'} += s/\bcublasDsymv_v2\b/rocblas_dsymv/g; - $ft{'library'} += s/\bcublasDsyr\b/rocblas_dsyr/g; - $ft{'library'} += s/\bcublasDsyr2\b/rocblas_dsyr2/g; - $ft{'library'} += s/\bcublasDsyr2_v2\b/rocblas_dsyr2/g; - $ft{'library'} += s/\bcublasDsyr2k\b/rocblas_dsyr2k/g; - $ft{'library'} += s/\bcublasDsyr2k_v2\b/rocblas_dsyr2k/g; - $ft{'library'} += s/\bcublasDsyr_v2\b/rocblas_dsyr/g; - $ft{'library'} += s/\bcublasDsyrk\b/rocblas_dsyrk/g; - $ft{'library'} += s/\bcublasDsyrk_v2\b/rocblas_dsyrk/g; - $ft{'library'} += s/\bcublasDsyrkx\b/rocblas_dsyrkx/g; - $ft{'library'} += s/\bcublasDtbmv\b/rocblas_dtbmv/g; - $ft{'library'} += s/\bcublasDtbmv_v2\b/rocblas_dtbmv/g; - $ft{'library'} += s/\bcublasDtbsv\b/rocblas_dtbsv/g; - $ft{'library'} += s/\bcublasDtbsv_v2\b/rocblas_dtbsv/g; - $ft{'library'} += s/\bcublasDtpmv\b/rocblas_dtpmv/g; - $ft{'library'} += s/\bcublasDtpmv_v2\b/rocblas_dtpmv/g; - $ft{'library'} += s/\bcublasDtpsv\b/rocblas_dtpsv/g; - $ft{'library'} += s/\bcublasDtpsv_v2\b/rocblas_dtpsv/g; - $ft{'library'} += s/\bcublasDtrmm\b/rocblas_dtrmm/g; - $ft{'library'} += s/\bcublasDtrmm_v2\b/rocblas_dtrmm/g; - $ft{'library'} += s/\bcublasDtrmv\b/rocblas_dtrmv/g; - $ft{'library'} += s/\bcublasDtrmv_v2\b/rocblas_dtrmv/g; - $ft{'library'} += s/\bcublasDtrsm\b/rocblas_dtrsm/g; - $ft{'library'} += s/\bcublasDtrsmBatched\b/rocblas_dtrsm_batched/g; - $ft{'library'} += s/\bcublasDtrsm_v2\b/rocblas_dtrsm/g; - $ft{'library'} += s/\bcublasDtrsv\b/rocblas_dtrsv/g; - $ft{'library'} += s/\bcublasDtrsv_v2\b/rocblas_dtrsv/g; - $ft{'library'} += s/\bcublasDzasum\b/rocblas_dzasum/g; - $ft{'library'} += s/\bcublasDzasum_v2\b/rocblas_dzasum/g; - $ft{'library'} += s/\bcublasDznrm2\b/rocblas_dznrm2/g; - $ft{'library'} += s/\bcublasDznrm2_v2\b/rocblas_dznrm2/g; - $ft{'library'} += s/\bcublasGemmBatchedEx\b/rocblas_gemm_batched_ex/g; - $ft{'library'} += s/\bcublasGemmEx\b/rocblas_gemm_ex/g; - $ft{'library'} += s/\bcublasGemmStridedBatchedEx\b/rocblas_gemm_strided_batched_ex/g; - $ft{'library'} += s/\bcublasGetMatrix\b/rocblas_get_matrix/g; - $ft{'library'} += s/\bcublasGetMatrixAsync\b/rocblas_get_matrix_async/g; - $ft{'library'} += s/\bcublasGetPointerMode\b/rocblas_get_pointer_mode/g; - $ft{'library'} += s/\bcublasGetPointerMode_v2\b/rocblas_set_pointer_mode/g; - $ft{'library'} += s/\bcublasGetStream\b/rocblas_get_stream/g; - $ft{'library'} += s/\bcublasGetStream_v2\b/rocblas_get_stream/g; - $ft{'library'} += s/\bcublasGetVector\b/rocblas_get_vector/g; - $ft{'library'} += s/\bcublasGetVectorAsync\b/rocblas_get_vector_async/g; - $ft{'library'} += s/\bcublasHgemm\b/rocblas_hgemm/g; - $ft{'library'} += s/\bcublasHgemmBatched\b/rocblas_hgemm_batched/g; - $ft{'library'} += s/\bcublasHgemmStridedBatched\b/rocblas_hgemm_strided_batched/g; - $ft{'library'} += s/\bcublasIcamax\b/rocblas_icamax/g; - $ft{'library'} += s/\bcublasIcamax_v2\b/rocblas_icamax/g; - $ft{'library'} += s/\bcublasIcamin\b/rocblas_icamin/g; - $ft{'library'} += s/\bcublasIcamin_v2\b/rocblas_icamin/g; - $ft{'library'} += s/\bcublasIdamax\b/rocblas_idamax/g; - $ft{'library'} += s/\bcublasIdamax_v2\b/rocblas_idamax/g; - $ft{'library'} += s/\bcublasIdamin\b/rocblas_idamin/g; - $ft{'library'} += s/\bcublasIdamin_v2\b/rocblas_idamin/g; - $ft{'library'} += s/\bcublasIsamax\b/rocblas_isamax/g; - $ft{'library'} += s/\bcublasIsamax_v2\b/rocblas_isamax/g; - $ft{'library'} += s/\bcublasIsamin\b/rocblas_isamin/g; - $ft{'library'} += s/\bcublasIsamin_v2\b/rocblas_isamin/g; - $ft{'library'} += s/\bcublasIzamax\b/rocblas_izamax/g; - $ft{'library'} += s/\bcublasIzamax_v2\b/rocblas_izamax/g; - $ft{'library'} += s/\bcublasIzamin\b/rocblas_izamin/g; - $ft{'library'} += s/\bcublasIzamin_v2\b/rocblas_izamin/g; - $ft{'library'} += s/\bcublasNrm2Ex\b/rocblas_nrm2_ex/g; - $ft{'library'} += s/\bcublasRotEx\b/rocblas_rot_ex/g; - $ft{'library'} += s/\bcublasSasum\b/rocblas_sasum/g; - $ft{'library'} += s/\bcublasSasum_v2\b/rocblas_sasum/g; - $ft{'library'} += s/\bcublasSaxpy\b/rocblas_saxpy/g; - $ft{'library'} += s/\bcublasSaxpy_v2\b/rocblas_saxpy/g; - $ft{'library'} += s/\bcublasScalEx\b/rocblas_scal_ex/g; - $ft{'library'} += s/\bcublasScasum\b/rocblas_scasum/g; - $ft{'library'} += s/\bcublasScasum_v2\b/rocblas_scasum/g; - $ft{'library'} += s/\bcublasScnrm2\b/rocblas_scnrm2/g; - $ft{'library'} += s/\bcublasScnrm2_v2\b/rocblas_scnrm2/g; - $ft{'library'} += s/\bcublasScopy\b/rocblas_scopy/g; - $ft{'library'} += s/\bcublasScopy_v2\b/rocblas_scopy/g; - $ft{'library'} += s/\bcublasSdgmm\b/rocblas_sdgmm/g; - $ft{'library'} += s/\bcublasSdot\b/rocblas_sdot/g; - $ft{'library'} += s/\bcublasSdot_v2\b/rocblas_sdot/g; - $ft{'library'} += s/\bcublasSetMatrix\b/rocblas_set_matrix/g; - $ft{'library'} += s/\bcublasSetMatrixAsync\b/rocblas_set_matrix_async/g; - $ft{'library'} += s/\bcublasSetPointerMode\b/rocblas_set_pointer_mode/g; - $ft{'library'} += s/\bcublasSetPointerMode_v2\b/rocblas_get_pointer_mode/g; - $ft{'library'} += s/\bcublasSetStream\b/rocblas_set_stream/g; - $ft{'library'} += s/\bcublasSetStream_v2\b/rocblas_set_stream/g; - $ft{'library'} += s/\bcublasSetVector\b/rocblas_set_vector/g; - $ft{'library'} += s/\bcublasSetVectorAsync\b/rocblas_set_vector_async/g; - $ft{'library'} += s/\bcublasSgbmv\b/rocblas_sgbmv/g; - $ft{'library'} += s/\bcublasSgbmv_v2\b/rocblas_sgbmv/g; - $ft{'library'} += s/\bcublasSgeam\b/rocblas_sgeam/g; - $ft{'library'} += s/\bcublasSgemm\b/rocblas_sgemm/g; - $ft{'library'} += s/\bcublasSgemmBatched\b/rocblas_sgemm_batched/g; - $ft{'library'} += s/\bcublasSgemmStridedBatched\b/rocblas_sgemm_strided_batched/g; - $ft{'library'} += s/\bcublasSgemm_v2\b/rocblas_sgemm/g; - $ft{'library'} += s/\bcublasSgemv\b/rocblas_sgemv/g; - $ft{'library'} += s/\bcublasSgemv_v2\b/rocblas_sgemv/g; - $ft{'library'} += s/\bcublasSger\b/rocblas_sger/g; - $ft{'library'} += s/\bcublasSger_v2\b/rocblas_sger/g; - $ft{'library'} += s/\bcublasSnrm2\b/rocblas_snrm2/g; - $ft{'library'} += s/\bcublasSnrm2_v2\b/rocblas_snrm2/g; - $ft{'library'} += s/\bcublasSrot\b/rocblas_srot/g; - $ft{'library'} += s/\bcublasSrot_v2\b/rocblas_srot/g; - $ft{'library'} += s/\bcublasSrotg\b/rocblas_srotg/g; - $ft{'library'} += s/\bcublasSrotg_v2\b/rocblas_srotg/g; - $ft{'library'} += s/\bcublasSrotm\b/rocblas_srotm/g; - $ft{'library'} += s/\bcublasSrotm_v2\b/rocblas_srotm/g; - $ft{'library'} += s/\bcublasSrotmg\b/rocblas_srotmg/g; - $ft{'library'} += s/\bcublasSrotmg_v2\b/rocblas_srotmg/g; - $ft{'library'} += s/\bcublasSsbmv\b/rocblas_ssbmv/g; - $ft{'library'} += s/\bcublasSsbmv_v2\b/rocblas_ssbmv/g; - $ft{'library'} += s/\bcublasSscal\b/rocblas_sscal/g; - $ft{'library'} += s/\bcublasSscal_v2\b/rocblas_sscal/g; - $ft{'library'} += s/\bcublasSspmv\b/rocblas_sspmv/g; - $ft{'library'} += s/\bcublasSspmv_v2\b/rocblas_sspmv/g; - $ft{'library'} += s/\bcublasSspr\b/rocblas_sspr/g; - $ft{'library'} += s/\bcublasSspr2\b/rocblas_sspr2/g; - $ft{'library'} += s/\bcublasSspr2_v2\b/rocblas_sspr2/g; - $ft{'library'} += s/\bcublasSspr_v2\b/rocblas_sspr/g; - $ft{'library'} += s/\bcublasSswap\b/rocblas_sswap/g; - $ft{'library'} += s/\bcublasSswap_v2\b/rocblas_sswap/g; - $ft{'library'} += s/\bcublasSsymm\b/rocblas_ssymm/g; - $ft{'library'} += s/\bcublasSsymm_v2\b/rocblas_ssymm/g; - $ft{'library'} += s/\bcublasSsymv\b/rocblas_ssymv/g; - $ft{'library'} += s/\bcublasSsymv_v2\b/rocblas_ssymv/g; - $ft{'library'} += s/\bcublasSsyr\b/rocblas_ssyr/g; - $ft{'library'} += s/\bcublasSsyr2\b/rocblas_ssyr2/g; - $ft{'library'} += s/\bcublasSsyr2_v2\b/rocblas_ssyr2/g; - $ft{'library'} += s/\bcublasSsyr2k\b/rocblas_ssyr2k/g; - $ft{'library'} += s/\bcublasSsyr2k_v2\b/rocblas_ssyr2k/g; - $ft{'library'} += s/\bcublasSsyr_v2\b/rocblas_ssyr/g; - $ft{'library'} += s/\bcublasSsyrk\b/rocblas_ssyrk/g; - $ft{'library'} += s/\bcublasSsyrk_v2\b/rocblas_ssyrk/g; - $ft{'library'} += s/\bcublasSsyrkx\b/rocblas_ssyrkx/g; - $ft{'library'} += s/\bcublasStbmv\b/rocblas_stbmv/g; - $ft{'library'} += s/\bcublasStbmv_v2\b/rocblas_stbmv/g; - $ft{'library'} += s/\bcublasStbsv\b/rocblas_stbsv/g; - $ft{'library'} += s/\bcublasStbsv_v2\b/rocblas_stbsv/g; - $ft{'library'} += s/\bcublasStpmv\b/rocblas_stpmv/g; - $ft{'library'} += s/\bcublasStpmv_v2\b/rocblas_stpmv/g; - $ft{'library'} += s/\bcublasStpsv\b/rocblas_stpsv/g; - $ft{'library'} += s/\bcublasStpsv_v2\b/rocblas_stpsv/g; - $ft{'library'} += s/\bcublasStrmm\b/rocblas_strmm/g; - $ft{'library'} += s/\bcublasStrmm_v2\b/rocblas_strmm/g; - $ft{'library'} += s/\bcublasStrmv\b/rocblas_strmv/g; - $ft{'library'} += s/\bcublasStrmv_v2\b/rocblas_strmv/g; - $ft{'library'} += s/\bcublasStrsm\b/rocblas_strsm/g; - $ft{'library'} += s/\bcublasStrsmBatched\b/rocblas_strsm_batched/g; - $ft{'library'} += s/\bcublasStrsm_v2\b/rocblas_strsm/g; - $ft{'library'} += s/\bcublasStrsv\b/rocblas_strsv/g; - $ft{'library'} += s/\bcublasStrsv_v2\b/rocblas_strsv/g; - $ft{'library'} += s/\bcublasZaxpy\b/rocblas_zaxpy/g; - $ft{'library'} += s/\bcublasZaxpy_v2\b/rocblas_zaxpy/g; - $ft{'library'} += s/\bcublasZcopy\b/rocblas_zcopy/g; - $ft{'library'} += s/\bcublasZcopy_v2\b/rocblas_zcopy/g; - $ft{'library'} += s/\bcublasZdgmm\b/rocblas_zdgmm/g; - $ft{'library'} += s/\bcublasZdotc\b/rocblas_zdotc/g; - $ft{'library'} += s/\bcublasZdotc_v2\b/rocblas_zdotc/g; - $ft{'library'} += s/\bcublasZdotu\b/rocblas_zdotu/g; - $ft{'library'} += s/\bcublasZdotu_v2\b/rocblas_zdotu/g; - $ft{'library'} += s/\bcublasZdrot\b/rocblas_zdrot/g; - $ft{'library'} += s/\bcublasZdrot_v2\b/rocblas_zdrot/g; - $ft{'library'} += s/\bcublasZdscal\b/rocblas_zdscal/g; - $ft{'library'} += s/\bcublasZdscal_v2\b/rocblas_zdscal/g; - $ft{'library'} += s/\bcublasZgbmv\b/rocblas_zgbmv/g; - $ft{'library'} += s/\bcublasZgbmv_v2\b/rocblas_zgbmv/g; - $ft{'library'} += s/\bcublasZgeam\b/rocblas_zgeam/g; - $ft{'library'} += s/\bcublasZgemm\b/rocblas_zgemm/g; - $ft{'library'} += s/\bcublasZgemmBatched\b/rocblas_zgemm_batched/g; - $ft{'library'} += s/\bcublasZgemmStridedBatched\b/rocblas_zgemm_strided_batched/g; - $ft{'library'} += s/\bcublasZgemm_v2\b/rocblas_zgemm/g; - $ft{'library'} += s/\bcublasZgemv\b/rocblas_zgemv/g; - $ft{'library'} += s/\bcublasZgemv_v2\b/rocblas_zgemv/g; - $ft{'library'} += s/\bcublasZgerc\b/rocblas_zgerc/g; - $ft{'library'} += s/\bcublasZgerc_v2\b/rocblas_zgerc/g; - $ft{'library'} += s/\bcublasZgeru\b/rocblas_zgeru/g; - $ft{'library'} += s/\bcublasZgeru_v2\b/rocblas_zgeru/g; - $ft{'library'} += s/\bcublasZhbmv\b/rocblas_zhbmv/g; - $ft{'library'} += s/\bcublasZhbmv_v2\b/rocblas_zhbmv/g; - $ft{'library'} += s/\bcublasZhemm\b/rocblas_zhemm/g; - $ft{'library'} += s/\bcublasZhemm_v2\b/rocblas_zhemm/g; - $ft{'library'} += s/\bcublasZhemv\b/rocblas_zhemv/g; - $ft{'library'} += s/\bcublasZhemv_v2\b/rocblas_zhemv/g; - $ft{'library'} += s/\bcublasZher\b/rocblas_zher/g; - $ft{'library'} += s/\bcublasZher2\b/rocblas_zher2/g; - $ft{'library'} += s/\bcublasZher2_v2\b/rocblas_zher2/g; - $ft{'library'} += s/\bcublasZher2k\b/rocblas_zher2k/g; - $ft{'library'} += s/\bcublasZher2k_v2\b/rocblas_zher2k/g; - $ft{'library'} += s/\bcublasZher_v2\b/rocblas_zher/g; - $ft{'library'} += s/\bcublasZherk\b/rocblas_zherk/g; - $ft{'library'} += s/\bcublasZherk_v2\b/rocblas_zherk/g; - $ft{'library'} += s/\bcublasZherkx\b/rocblas_zherkx/g; - $ft{'library'} += s/\bcublasZhpmv\b/rocblas_zhpmv/g; - $ft{'library'} += s/\bcublasZhpmv_v2\b/rocblas_zhpmv/g; - $ft{'library'} += s/\bcublasZhpr\b/rocblas_zhpr/g; - $ft{'library'} += s/\bcublasZhpr2\b/rocblas_zhpr2/g; - $ft{'library'} += s/\bcublasZhpr2_v2\b/rocblas_zhpr2/g; - $ft{'library'} += s/\bcublasZhpr_v2\b/rocblas_zhpr/g; - $ft{'library'} += s/\bcublasZrot\b/rocblas_zrot/g; - $ft{'library'} += s/\bcublasZrot_v2\b/rocblas_zrot/g; - $ft{'library'} += s/\bcublasZrotg\b/rocblas_zrotg/g; - $ft{'library'} += s/\bcublasZrotg_v2\b/rocblas_zrotg/g; - $ft{'library'} += s/\bcublasZscal\b/rocblas_zscal/g; - $ft{'library'} += s/\bcublasZscal_v2\b/rocblas_zscal/g; - $ft{'library'} += s/\bcublasZswap\b/rocblas_zswap/g; - $ft{'library'} += s/\bcublasZswap_v2\b/rocblas_zswap/g; - $ft{'library'} += s/\bcublasZsymm\b/rocblas_zsymm/g; - $ft{'library'} += s/\bcublasZsymm_v2\b/rocblas_zsymm/g; - $ft{'library'} += s/\bcublasZsymv\b/rocblas_zsymv/g; - $ft{'library'} += s/\bcublasZsymv_v2\b/rocblas_zsymv/g; - $ft{'library'} += s/\bcublasZsyr\b/rocblas_zsyr/g; - $ft{'library'} += s/\bcublasZsyr2\b/rocblas_zsyr2/g; - $ft{'library'} += s/\bcublasZsyr2_v2\b/rocblas_zsyr2/g; - $ft{'library'} += s/\bcublasZsyr2k\b/rocblas_zsyr2k/g; - $ft{'library'} += s/\bcublasZsyr2k_v2\b/rocblas_zsyr2k/g; - $ft{'library'} += s/\bcublasZsyr_v2\b/rocblas_zsyr/g; - $ft{'library'} += s/\bcublasZsyrk\b/rocblas_zsyrk/g; - $ft{'library'} += s/\bcublasZsyrk_v2\b/rocblas_zsyrk/g; - $ft{'library'} += s/\bcublasZsyrkx\b/rocblas_zsyrkx/g; - $ft{'library'} += s/\bcublasZtbmv\b/rocblas_ztbmv/g; - $ft{'library'} += s/\bcublasZtbmv_v2\b/rocblas_ztbmv/g; - $ft{'library'} += s/\bcublasZtbsv\b/rocblas_ztbsv/g; - $ft{'library'} += s/\bcublasZtbsv_v2\b/rocblas_ztbsv/g; - $ft{'library'} += s/\bcublasZtpmv\b/rocblas_ztpmv/g; - $ft{'library'} += s/\bcublasZtpmv_v2\b/rocblas_ztpmv/g; - $ft{'library'} += s/\bcublasZtpsv\b/rocblas_ztpsv/g; - $ft{'library'} += s/\bcublasZtpsv_v2\b/rocblas_ztpsv/g; - $ft{'library'} += s/\bcublasZtrmm\b/rocblas_ztrmm/g; - $ft{'library'} += s/\bcublasZtrmm_v2\b/rocblas_ztrmm/g; - $ft{'library'} += s/\bcublasZtrmv\b/rocblas_ztrmv/g; - $ft{'library'} += s/\bcublasZtrmv_v2\b/rocblas_ztrmv/g; - $ft{'library'} += s/\bcublasZtrsm\b/rocblas_ztrsm/g; - $ft{'library'} += s/\bcublasZtrsmBatched\b/rocblas_ztrsm_batched/g; - $ft{'library'} += s/\bcublasZtrsm_v2\b/rocblas_ztrsm/g; - $ft{'library'} += s/\bcublasZtrsv\b/rocblas_ztrsv/g; - $ft{'library'} += s/\bcublasZtrsv_v2\b/rocblas_ztrsv/g; - $ft{'include_cuda_main_header'} += s/(?])\bcublas.h\b/rocblas.h/g; - $ft{'include_cuda_main_header'} += s/(?])\bcublas_v2.h\b/rocblas.h/g; - $ft{'type'} += s/\bcublasAtomicsMode_t\b/rocblas_atomics_mode/g; - $ft{'type'} += s/\bcublasContext\b/_rocblas_handle/g; - $ft{'type'} += s/\bcublasDataType_t\b/rocblas_datatype/g; - $ft{'type'} += s/\bcublasDiagType_t\b/rocblas_diagonal/g; - $ft{'type'} += s/\bcublasFillMode_t\b/rocblas_fill/g; - $ft{'type'} += s/\bcublasGemmAlgo_t\b/rocblas_gemm_algo/g; - $ft{'type'} += s/\bcublasHandle_t\b/rocblas_handle/g; - $ft{'type'} += s/\bcublasOperation_t\b/rocblas_operation/g; - $ft{'type'} += s/\bcublasPointerMode_t\b/rocblas_pointer_mode/g; - $ft{'type'} += s/\bcublasSideMode_t\b/rocblas_side/g; - $ft{'type'} += s/\bcublasStatus\b/rocblas_status/g; - $ft{'type'} += s/\bcublasStatus_t\b/rocblas_status/g; - $ft{'numeric_literal'} += s/\bCUBLAS_ATOMICS_ALLOWED\b/rocblas_atomics_allowed/g; - $ft{'numeric_literal'} += s/\bCUBLAS_ATOMICS_NOT_ALLOWED\b/rocblas_atomics_not_allowed/g; - $ft{'numeric_literal'} += s/\bCUBLAS_DIAG_NON_UNIT\b/rocblas_diagonal_non_unit/g; - $ft{'numeric_literal'} += s/\bCUBLAS_DIAG_UNIT\b/rocblas_diagonal_unit/g; - $ft{'numeric_literal'} += s/\bCUBLAS_FILL_MODE_FULL\b/rocblas_fill_full/g; - $ft{'numeric_literal'} += s/\bCUBLAS_FILL_MODE_LOWER\b/rocblas_fill_lower/g; - $ft{'numeric_literal'} += s/\bCUBLAS_FILL_MODE_UPPER\b/rocblas_fill_upper/g; - $ft{'numeric_literal'} += s/\bCUBLAS_GEMM_DEFAULT\b/rocblas_gemm_algo_standard/g; - $ft{'numeric_literal'} += s/\bCUBLAS_GEMM_DFALT\b/rocblas_gemm_algo_standard/g; - $ft{'numeric_literal'} += s/\bCUBLAS_OP_C\b/rocblas_operation_conjugate_transpose/g; - $ft{'numeric_literal'} += s/\bCUBLAS_OP_HERMITAN\b/rocblas_operation_conjugate_transpose/g; - $ft{'numeric_literal'} += s/\bCUBLAS_OP_N\b/rocblas_operation_none/g; - $ft{'numeric_literal'} += s/\bCUBLAS_OP_T\b/rocblas_operation_transpose/g; - $ft{'numeric_literal'} += s/\bCUBLAS_POINTER_MODE_DEVICE\b/rocblas_pointer_mode_device/g; - $ft{'numeric_literal'} += s/\bCUBLAS_POINTER_MODE_HOST\b/rocblas_pointer_mode_host/g; - $ft{'numeric_literal'} += s/\bCUBLAS_SIDE_LEFT\b/rocblas_side_left/g; - $ft{'numeric_literal'} += s/\bCUBLAS_SIDE_RIGHT\b/rocblas_side_right/g; - $ft{'numeric_literal'} += s/\bCUBLAS_STATUS_ALLOC_FAILED\b/rocblas_status_not_implemented/g; - $ft{'numeric_literal'} += s/\bCUBLAS_STATUS_ARCH_MISMATCH\b/rocblas_status_size_query_mismatch/g; - $ft{'numeric_literal'} += s/\bCUBLAS_STATUS_EXECUTION_FAILED\b/rocblas_status_memory_error/g; - $ft{'numeric_literal'} += s/\bCUBLAS_STATUS_INTERNAL_ERROR\b/rocblas_status_internal_error/g; - $ft{'numeric_literal'} += s/\bCUBLAS_STATUS_INVALID_VALUE\b/rocblas_status_invalid_pointer/g; - $ft{'numeric_literal'} += s/\bCUBLAS_STATUS_MAPPING_ERROR\b/rocblas_status_invalid_size/g; - $ft{'numeric_literal'} += s/\bCUBLAS_STATUS_NOT_INITIALIZED\b/rocblas_status_invalid_handle/g; - $ft{'numeric_literal'} += s/\bCUBLAS_STATUS_NOT_SUPPORTED\b/rocblas_status_perf_degraded/g; - $ft{'numeric_literal'} += s/\bCUBLAS_STATUS_SUCCESS\b/rocblas_status_success/g; + subst("cublasAxpyEx", "rocblas_axpy_ex", "library"); + subst("cublasCaxpy", "rocblas_caxpy", "library"); + subst("cublasCaxpy_v2", "rocblas_caxpy", "library"); + subst("cublasCcopy", "rocblas_ccopy", "library"); + subst("cublasCcopy_v2", "rocblas_ccopy", "library"); + subst("cublasCdgmm", "rocblas_cdgmm", "library"); + subst("cublasCdotc", "rocblas_cdotc", "library"); + subst("cublasCdotc_v2", "rocblas_cdotc", "library"); + subst("cublasCdotu", "rocblas_cdotu", "library"); + subst("cublasCdotu_v2", "rocblas_cdotu", "library"); + subst("cublasCgbmv", "rocblas_cgbmv", "library"); + subst("cublasCgbmv_v2", "rocblas_cgbmv", "library"); + subst("cublasCgeam", "rocblas_cgeam", "library"); + subst("cublasCgemm", "rocblas_cgemm", "library"); + subst("cublasCgemmBatched", "rocblas_cgemm_batched", "library"); + subst("cublasCgemmStridedBatched", "rocblas_cgemm_strided_batched", "library"); + subst("cublasCgemm_v2", "rocblas_cgemm", "library"); + subst("cublasCgemv", "rocblas_cgemv", "library"); + subst("cublasCgemv_v2", "rocblas_cgemv", "library"); + subst("cublasCgerc", "rocblas_cgerc", "library"); + subst("cublasCgerc_v2", "rocblas_cgerc", "library"); + subst("cublasCgeru", "rocblas_cgeru", "library"); + subst("cublasCgeru_v2", "rocblas_cgeru", "library"); + subst("cublasChbmv", "rocblas_chbmv", "library"); + subst("cublasChbmv_v2", "rocblas_chbmv", "library"); + subst("cublasChemm", "rocblas_chemm", "library"); + subst("cublasChemm_v2", "rocblas_chemm", "library"); + subst("cublasChemv", "rocblas_chemv", "library"); + subst("cublasChemv_v2", "rocblas_chemv", "library"); + subst("cublasCher", "rocblas_cher", "library"); + subst("cublasCher2", "rocblas_cher2", "library"); + subst("cublasCher2_v2", "rocblas_cher2", "library"); + subst("cublasCher2k", "rocblas_cher2k", "library"); + subst("cublasCher2k_v2", "rocblas_cher2k", "library"); + subst("cublasCher_v2", "rocblas_cher", "library"); + subst("cublasCherk", "rocblas_cherk", "library"); + subst("cublasCherk_v2", "rocblas_cherkx", "library"); + subst("cublasCherkx", "rocblas_cherkx", "library"); + subst("cublasChpmv", "rocblas_chpmv", "library"); + subst("cublasChpmv_v2", "rocblas_chpmv", "library"); + subst("cublasChpr", "rocblas_chpr", "library"); + subst("cublasChpr2", "rocblas_chpr2", "library"); + subst("cublasChpr2_v2", "rocblas_chpr2", "library"); + subst("cublasChpr_v2", "rocblas_chpr", "library"); + subst("cublasCreate", "rocblas_create_handle", "library"); + subst("cublasCreate_v2", "rocblas_create_handle", "library"); + subst("cublasCrot", "rocblas_crot", "library"); + subst("cublasCrot_v2", "rocblas_crot", "library"); + subst("cublasCrotg", "rocblas_crotg", "library"); + subst("cublasCrotg_v2", "rocblas_crotg", "library"); + subst("cublasCscal", "rocblas_cscal", "library"); + subst("cublasCscal_v2", "rocblas_cscal", "library"); + subst("cublasCsrot", "rocblas_csrot", "library"); + subst("cublasCsrot_v2", "rocblas_csrot", "library"); + subst("cublasCsscal", "rocblas_csscal", "library"); + subst("cublasCsscal_v2", "rocblas_csscal", "library"); + subst("cublasCswap", "rocblas_cswap", "library"); + subst("cublasCswap_v2", "rocblas_cswap", "library"); + subst("cublasCsymm", "rocblas_csymm", "library"); + subst("cublasCsymm_v2", "rocblas_csymm", "library"); + subst("cublasCsymv", "rocblas_csymv", "library"); + subst("cublasCsymv_v2", "rocblas_csymv", "library"); + subst("cublasCsyr", "rocblas_csyr", "library"); + subst("cublasCsyr2", "rocblas_csyr2", "library"); + subst("cublasCsyr2_v2", "rocblas_csyr2", "library"); + subst("cublasCsyr2k", "rocblas_csyr2k", "library"); + subst("cublasCsyr2k_v2", "rocblas_csyr2k", "library"); + subst("cublasCsyr_v2", "rocblas_csyr", "library"); + subst("cublasCsyrk", "rocblas_csyrk", "library"); + subst("cublasCsyrk_v2", "rocblas_csyrk", "library"); + subst("cublasCsyrkx", "rocblas_csyrkx", "library"); + subst("cublasCtbmv", "rocblas_ctbmv", "library"); + subst("cublasCtbmv_v2", "rocblas_ctbmv", "library"); + subst("cublasCtbsv", "rocblas_ctbsv", "library"); + subst("cublasCtbsv_v2", "rocblas_ctbsv", "library"); + subst("cublasCtpmv", "rocblas_ctpmv", "library"); + subst("cublasCtpmv_v2", "rocblas_ctpmv", "library"); + subst("cublasCtpsv", "rocblas_ctpsv", "library"); + subst("cublasCtpsv_v2", "rocblas_ctpsv", "library"); + subst("cublasCtrmm", "rocblas_ctrmm", "library"); + subst("cublasCtrmm_v2", "rocblas_ctrmm", "library"); + subst("cublasCtrmv", "rocblas_ctrmv", "library"); + subst("cublasCtrmv_v2", "rocblas_ctrmv", "library"); + subst("cublasCtrsm", "rocblas_ctrsm", "library"); + subst("cublasCtrsmBatched", "rocblas_ctrsm_batched", "library"); + subst("cublasCtrsm_v2", "rocblas_ctrsm", "library"); + subst("cublasCtrsv", "rocblas_ctrsv", "library"); + subst("cublasCtrsv_v2", "rocblas_ctrsv", "library"); + subst("cublasDasum", "rocblas_dasum", "library"); + subst("cublasDasum_v2", "rocblas_dasum", "library"); + subst("cublasDaxpy", "rocblas_daxpy", "library"); + subst("cublasDaxpy_v2", "rocblas_daxpy", "library"); + subst("cublasDcopy", "rocblas_dcopy", "library"); + subst("cublasDcopy_v2", "rocblas_dcopy", "library"); + subst("cublasDdgmm", "rocblas_ddgmm", "library"); + subst("cublasDdot", "rocblas_ddot", "library"); + subst("cublasDdot_v2", "rocblas_ddot", "library"); + subst("cublasDestroy", "rocblas_destroy_handle", "library"); + subst("cublasDestroy_v2", "rocblas_destroy_handle", "library"); + subst("cublasDgbmv", "rocblas_dgbmv", "library"); + subst("cublasDgbmv_v2", "rocblas_dgbmv", "library"); + subst("cublasDgeam", "rocblas_dgeam", "library"); + subst("cublasDgemm", "rocblas_dgemm", "library"); + subst("cublasDgemmBatched", "rocblas_dgemm_batched", "library"); + subst("cublasDgemmStridedBatched", "rocblas_dgemm_strided_batched", "library"); + subst("cublasDgemm_v2", "rocblas_dgemm", "library"); + subst("cublasDgemv", "rocblas_dgemv", "library"); + subst("cublasDgemv_v2", "rocblas_dgemv", "library"); + subst("cublasDger", "rocblas_dger", "library"); + subst("cublasDger_v2", "rocblas_dger", "library"); + subst("cublasDnrm2", "rocblas_dnrm2", "library"); + subst("cublasDnrm2_v2", "rocblas_dnrm2", "library"); + subst("cublasDotEx", "rocblas_dot_ex", "library"); + subst("cublasDotcEx", "rocblas_dotc_ex", "library"); + subst("cublasDrot", "rocblas_drot", "library"); + subst("cublasDrot_v2", "rocblas_drot", "library"); + subst("cublasDrotg", "rocblas_drotg", "library"); + subst("cublasDrotg_v2", "rocblas_drotg", "library"); + subst("cublasDrotm", "rocblas_drotm", "library"); + subst("cublasDrotm_v2", "rocblas_drotm", "library"); + subst("cublasDrotmg", "rocblas_drotmg", "library"); + subst("cublasDrotmg_v2", "rocblas_drotmg", "library"); + subst("cublasDsbmv", "rocblas_dsbmv", "library"); + subst("cublasDsbmv_v2", "rocblas_dsbmv", "library"); + subst("cublasDscal", "rocblas_dscal", "library"); + subst("cublasDscal_v2", "rocblas_dscal", "library"); + subst("cublasDspmv", "rocblas_dspmv", "library"); + subst("cublasDspmv_v2", "rocblas_dspmv", "library"); + subst("cublasDspr", "rocblas_dspr", "library"); + subst("cublasDspr2", "rocblas_dspr2", "library"); + subst("cublasDspr2_v2", "rocblas_dspr2", "library"); + subst("cublasDspr_v2", "rocblas_dspr", "library"); + subst("cublasDswap", "rocblas_dswap", "library"); + subst("cublasDswap_v2", "rocblas_dswap", "library"); + subst("cublasDsymm", "rocblas_dsymm", "library"); + subst("cublasDsymm_v2", "rocblas_dsymm", "library"); + subst("cublasDsymv", "rocblas_dsymv", "library"); + subst("cublasDsymv_v2", "rocblas_dsymv", "library"); + subst("cublasDsyr", "rocblas_dsyr", "library"); + subst("cublasDsyr2", "rocblas_dsyr2", "library"); + subst("cublasDsyr2_v2", "rocblas_dsyr2", "library"); + subst("cublasDsyr2k", "rocblas_dsyr2k", "library"); + subst("cublasDsyr2k_v2", "rocblas_dsyr2k", "library"); + subst("cublasDsyr_v2", "rocblas_dsyr", "library"); + subst("cublasDsyrk", "rocblas_dsyrk", "library"); + subst("cublasDsyrk_v2", "rocblas_dsyrk", "library"); + subst("cublasDsyrkx", "rocblas_dsyrkx", "library"); + subst("cublasDtbmv", "rocblas_dtbmv", "library"); + subst("cublasDtbmv_v2", "rocblas_dtbmv", "library"); + subst("cublasDtbsv", "rocblas_dtbsv", "library"); + subst("cublasDtbsv_v2", "rocblas_dtbsv", "library"); + subst("cublasDtpmv", "rocblas_dtpmv", "library"); + subst("cublasDtpmv_v2", "rocblas_dtpmv", "library"); + subst("cublasDtpsv", "rocblas_dtpsv", "library"); + subst("cublasDtpsv_v2", "rocblas_dtpsv", "library"); + subst("cublasDtrmm", "rocblas_dtrmm", "library"); + subst("cublasDtrmm_v2", "rocblas_dtrmm", "library"); + subst("cublasDtrmv", "rocblas_dtrmv", "library"); + subst("cublasDtrmv_v2", "rocblas_dtrmv", "library"); + subst("cublasDtrsm", "rocblas_dtrsm", "library"); + subst("cublasDtrsmBatched", "rocblas_dtrsm_batched", "library"); + subst("cublasDtrsm_v2", "rocblas_dtrsm", "library"); + subst("cublasDtrsv", "rocblas_dtrsv", "library"); + subst("cublasDtrsv_v2", "rocblas_dtrsv", "library"); + subst("cublasDzasum", "rocblas_dzasum", "library"); + subst("cublasDzasum_v2", "rocblas_dzasum", "library"); + subst("cublasDznrm2", "rocblas_dznrm2", "library"); + subst("cublasDznrm2_v2", "rocblas_dznrm2", "library"); + subst("cublasGemmBatchedEx", "rocblas_gemm_batched_ex", "library"); + subst("cublasGemmEx", "rocblas_gemm_ex", "library"); + subst("cublasGemmStridedBatchedEx", "rocblas_gemm_strided_batched_ex", "library"); + subst("cublasGetMatrix", "rocblas_get_matrix", "library"); + subst("cublasGetMatrixAsync", "rocblas_get_matrix_async", "library"); + subst("cublasGetPointerMode", "rocblas_get_pointer_mode", "library"); + subst("cublasGetPointerMode_v2", "rocblas_set_pointer_mode", "library"); + subst("cublasGetStream", "rocblas_get_stream", "library"); + subst("cublasGetStream_v2", "rocblas_get_stream", "library"); + subst("cublasGetVector", "rocblas_get_vector", "library"); + subst("cublasGetVectorAsync", "rocblas_get_vector_async", "library"); + subst("cublasHgemm", "rocblas_hgemm", "library"); + subst("cublasHgemmBatched", "rocblas_hgemm_batched", "library"); + subst("cublasHgemmStridedBatched", "rocblas_hgemm_strided_batched", "library"); + subst("cublasIcamax", "rocblas_icamax", "library"); + subst("cublasIcamax_v2", "rocblas_icamax", "library"); + subst("cublasIcamin", "rocblas_icamin", "library"); + subst("cublasIcamin_v2", "rocblas_icamin", "library"); + subst("cublasIdamax", "rocblas_idamax", "library"); + subst("cublasIdamax_v2", "rocblas_idamax", "library"); + subst("cublasIdamin", "rocblas_idamin", "library"); + subst("cublasIdamin_v2", "rocblas_idamin", "library"); + subst("cublasIsamax", "rocblas_isamax", "library"); + subst("cublasIsamax_v2", "rocblas_isamax", "library"); + subst("cublasIsamin", "rocblas_isamin", "library"); + subst("cublasIsamin_v2", "rocblas_isamin", "library"); + subst("cublasIzamax", "rocblas_izamax", "library"); + subst("cublasIzamax_v2", "rocblas_izamax", "library"); + subst("cublasIzamin", "rocblas_izamin", "library"); + subst("cublasIzamin_v2", "rocblas_izamin", "library"); + subst("cublasNrm2Ex", "rocblas_nrm2_ex", "library"); + subst("cublasRotEx", "rocblas_rot_ex", "library"); + subst("cublasSasum", "rocblas_sasum", "library"); + subst("cublasSasum_v2", "rocblas_sasum", "library"); + subst("cublasSaxpy", "rocblas_saxpy", "library"); + subst("cublasSaxpy_v2", "rocblas_saxpy", "library"); + subst("cublasScalEx", "rocblas_scal_ex", "library"); + subst("cublasScasum", "rocblas_scasum", "library"); + subst("cublasScasum_v2", "rocblas_scasum", "library"); + subst("cublasScnrm2", "rocblas_scnrm2", "library"); + subst("cublasScnrm2_v2", "rocblas_scnrm2", "library"); + subst("cublasScopy", "rocblas_scopy", "library"); + subst("cublasScopy_v2", "rocblas_scopy", "library"); + subst("cublasSdgmm", "rocblas_sdgmm", "library"); + subst("cublasSdot", "rocblas_sdot", "library"); + subst("cublasSdot_v2", "rocblas_sdot", "library"); + subst("cublasSetMatrix", "rocblas_set_matrix", "library"); + subst("cublasSetMatrixAsync", "rocblas_set_matrix_async", "library"); + subst("cublasSetPointerMode", "rocblas_set_pointer_mode", "library"); + subst("cublasSetPointerMode_v2", "rocblas_get_pointer_mode", "library"); + subst("cublasSetStream", "rocblas_set_stream", "library"); + subst("cublasSetStream_v2", "rocblas_set_stream", "library"); + subst("cublasSetVector", "rocblas_set_vector", "library"); + subst("cublasSetVectorAsync", "rocblas_set_vector_async", "library"); + subst("cublasSgbmv", "rocblas_sgbmv", "library"); + subst("cublasSgbmv_v2", "rocblas_sgbmv", "library"); + subst("cublasSgeam", "rocblas_sgeam", "library"); + subst("cublasSgemm", "rocblas_sgemm", "library"); + subst("cublasSgemmBatched", "rocblas_sgemm_batched", "library"); + subst("cublasSgemmStridedBatched", "rocblas_sgemm_strided_batched", "library"); + subst("cublasSgemm_v2", "rocblas_sgemm", "library"); + subst("cublasSgemv", "rocblas_sgemv", "library"); + subst("cublasSgemv_v2", "rocblas_sgemv", "library"); + subst("cublasSger", "rocblas_sger", "library"); + subst("cublasSger_v2", "rocblas_sger", "library"); + subst("cublasSnrm2", "rocblas_snrm2", "library"); + subst("cublasSnrm2_v2", "rocblas_snrm2", "library"); + subst("cublasSrot", "rocblas_srot", "library"); + subst("cublasSrot_v2", "rocblas_srot", "library"); + subst("cublasSrotg", "rocblas_srotg", "library"); + subst("cublasSrotg_v2", "rocblas_srotg", "library"); + subst("cublasSrotm", "rocblas_srotm", "library"); + subst("cublasSrotm_v2", "rocblas_srotm", "library"); + subst("cublasSrotmg", "rocblas_srotmg", "library"); + subst("cublasSrotmg_v2", "rocblas_srotmg", "library"); + subst("cublasSsbmv", "rocblas_ssbmv", "library"); + subst("cublasSsbmv_v2", "rocblas_ssbmv", "library"); + subst("cublasSscal", "rocblas_sscal", "library"); + subst("cublasSscal_v2", "rocblas_sscal", "library"); + subst("cublasSspmv", "rocblas_sspmv", "library"); + subst("cublasSspmv_v2", "rocblas_sspmv", "library"); + subst("cublasSspr", "rocblas_sspr", "library"); + subst("cublasSspr2", "rocblas_sspr2", "library"); + subst("cublasSspr2_v2", "rocblas_sspr2", "library"); + subst("cublasSspr_v2", "rocblas_sspr", "library"); + subst("cublasSswap", "rocblas_sswap", "library"); + subst("cublasSswap_v2", "rocblas_sswap", "library"); + subst("cublasSsymm", "rocblas_ssymm", "library"); + subst("cublasSsymm_v2", "rocblas_ssymm", "library"); + subst("cublasSsymv", "rocblas_ssymv", "library"); + subst("cublasSsymv_v2", "rocblas_ssymv", "library"); + subst("cublasSsyr", "rocblas_ssyr", "library"); + subst("cublasSsyr2", "rocblas_ssyr2", "library"); + subst("cublasSsyr2_v2", "rocblas_ssyr2", "library"); + subst("cublasSsyr2k", "rocblas_ssyr2k", "library"); + subst("cublasSsyr2k_v2", "rocblas_ssyr2k", "library"); + subst("cublasSsyr_v2", "rocblas_ssyr", "library"); + subst("cublasSsyrk", "rocblas_ssyrk", "library"); + subst("cublasSsyrk_v2", "rocblas_ssyrk", "library"); + subst("cublasSsyrkx", "rocblas_ssyrkx", "library"); + subst("cublasStbmv", "rocblas_stbmv", "library"); + subst("cublasStbmv_v2", "rocblas_stbmv", "library"); + subst("cublasStbsv", "rocblas_stbsv", "library"); + subst("cublasStbsv_v2", "rocblas_stbsv", "library"); + subst("cublasStpmv", "rocblas_stpmv", "library"); + subst("cublasStpmv_v2", "rocblas_stpmv", "library"); + subst("cublasStpsv", "rocblas_stpsv", "library"); + subst("cublasStpsv_v2", "rocblas_stpsv", "library"); + subst("cublasStrmm", "rocblas_strmm", "library"); + subst("cublasStrmm_v2", "rocblas_strmm", "library"); + subst("cublasStrmv", "rocblas_strmv", "library"); + subst("cublasStrmv_v2", "rocblas_strmv", "library"); + subst("cublasStrsm", "rocblas_strsm", "library"); + subst("cublasStrsmBatched", "rocblas_strsm_batched", "library"); + subst("cublasStrsm_v2", "rocblas_strsm", "library"); + subst("cublasStrsv", "rocblas_strsv", "library"); + subst("cublasStrsv_v2", "rocblas_strsv", "library"); + subst("cublasZaxpy", "rocblas_zaxpy", "library"); + subst("cublasZaxpy_v2", "rocblas_zaxpy", "library"); + subst("cublasZcopy", "rocblas_zcopy", "library"); + subst("cublasZcopy_v2", "rocblas_zcopy", "library"); + subst("cublasZdgmm", "rocblas_zdgmm", "library"); + subst("cublasZdotc", "rocblas_zdotc", "library"); + subst("cublasZdotc_v2", "rocblas_zdotc", "library"); + subst("cublasZdotu", "rocblas_zdotu", "library"); + subst("cublasZdotu_v2", "rocblas_zdotu", "library"); + subst("cublasZdrot", "rocblas_zdrot", "library"); + subst("cublasZdrot_v2", "rocblas_zdrot", "library"); + subst("cublasZdscal", "rocblas_zdscal", "library"); + subst("cublasZdscal_v2", "rocblas_zdscal", "library"); + subst("cublasZgbmv", "rocblas_zgbmv", "library"); + subst("cublasZgbmv_v2", "rocblas_zgbmv", "library"); + subst("cublasZgeam", "rocblas_zgeam", "library"); + subst("cublasZgemm", "rocblas_zgemm", "library"); + subst("cublasZgemmBatched", "rocblas_zgemm_batched", "library"); + subst("cublasZgemmStridedBatched", "rocblas_zgemm_strided_batched", "library"); + subst("cublasZgemm_v2", "rocblas_zgemm", "library"); + subst("cublasZgemv", "rocblas_zgemv", "library"); + subst("cublasZgemv_v2", "rocblas_zgemv", "library"); + subst("cublasZgerc", "rocblas_zgerc", "library"); + subst("cublasZgerc_v2", "rocblas_zgerc", "library"); + subst("cublasZgeru", "rocblas_zgeru", "library"); + subst("cublasZgeru_v2", "rocblas_zgeru", "library"); + subst("cublasZhbmv", "rocblas_zhbmv", "library"); + subst("cublasZhbmv_v2", "rocblas_zhbmv", "library"); + subst("cublasZhemm", "rocblas_zhemm", "library"); + subst("cublasZhemm_v2", "rocblas_zhemm", "library"); + subst("cublasZhemv", "rocblas_zhemv", "library"); + subst("cublasZhemv_v2", "rocblas_zhemv", "library"); + subst("cublasZher", "rocblas_zher", "library"); + subst("cublasZher2", "rocblas_zher2", "library"); + subst("cublasZher2_v2", "rocblas_zher2", "library"); + subst("cublasZher2k", "rocblas_zher2k", "library"); + subst("cublasZher2k_v2", "rocblas_zher2k", "library"); + subst("cublasZher_v2", "rocblas_zher", "library"); + subst("cublasZherk", "rocblas_zherk", "library"); + subst("cublasZherk_v2", "rocblas_zherk", "library"); + subst("cublasZherkx", "rocblas_zherkx", "library"); + subst("cublasZhpmv", "rocblas_zhpmv", "library"); + subst("cublasZhpmv_v2", "rocblas_zhpmv", "library"); + subst("cublasZhpr", "rocblas_zhpr", "library"); + subst("cublasZhpr2", "rocblas_zhpr2", "library"); + subst("cublasZhpr2_v2", "rocblas_zhpr2", "library"); + subst("cublasZhpr_v2", "rocblas_zhpr", "library"); + subst("cublasZrot", "rocblas_zrot", "library"); + subst("cublasZrot_v2", "rocblas_zrot", "library"); + subst("cublasZrotg", "rocblas_zrotg", "library"); + subst("cublasZrotg_v2", "rocblas_zrotg", "library"); + subst("cublasZscal", "rocblas_zscal", "library"); + subst("cublasZscal_v2", "rocblas_zscal", "library"); + subst("cublasZswap", "rocblas_zswap", "library"); + subst("cublasZswap_v2", "rocblas_zswap", "library"); + subst("cublasZsymm", "rocblas_zsymm", "library"); + subst("cublasZsymm_v2", "rocblas_zsymm", "library"); + subst("cublasZsymv", "rocblas_zsymv", "library"); + subst("cublasZsymv_v2", "rocblas_zsymv", "library"); + subst("cublasZsyr", "rocblas_zsyr", "library"); + subst("cublasZsyr2", "rocblas_zsyr2", "library"); + subst("cublasZsyr2_v2", "rocblas_zsyr2", "library"); + subst("cublasZsyr2k", "rocblas_zsyr2k", "library"); + subst("cublasZsyr2k_v2", "rocblas_zsyr2k", "library"); + subst("cublasZsyr_v2", "rocblas_zsyr", "library"); + subst("cublasZsyrk", "rocblas_zsyrk", "library"); + subst("cublasZsyrk_v2", "rocblas_zsyrk", "library"); + subst("cublasZsyrkx", "rocblas_zsyrkx", "library"); + subst("cublasZtbmv", "rocblas_ztbmv", "library"); + subst("cublasZtbmv_v2", "rocblas_ztbmv", "library"); + subst("cublasZtbsv", "rocblas_ztbsv", "library"); + subst("cublasZtbsv_v2", "rocblas_ztbsv", "library"); + subst("cublasZtpmv", "rocblas_ztpmv", "library"); + subst("cublasZtpmv_v2", "rocblas_ztpmv", "library"); + subst("cublasZtpsv", "rocblas_ztpsv", "library"); + subst("cublasZtpsv_v2", "rocblas_ztpsv", "library"); + subst("cublasZtrmm", "rocblas_ztrmm", "library"); + subst("cublasZtrmm_v2", "rocblas_ztrmm", "library"); + subst("cublasZtrmv", "rocblas_ztrmv", "library"); + subst("cublasZtrmv_v2", "rocblas_ztrmv", "library"); + subst("cublasZtrsm", "rocblas_ztrsm", "library"); + subst("cublasZtrsmBatched", "rocblas_ztrsm_batched", "library"); + subst("cublasZtrsm_v2", "rocblas_ztrsm", "library"); + subst("cublasZtrsv", "rocblas_ztrsv", "library"); + subst("cublasZtrsv_v2", "rocblas_ztrsv", "library"); + subst("cublas.h", "rocblas.h", "include_cuda_main_header"); + subst("cublas_v2.h", "rocblas.h", "include_cuda_main_header"); + subst("cublasAtomicsMode_t", "rocblas_atomics_mode", "type"); + subst("cublasContext", "_rocblas_handle", "type"); + subst("cublasDataType_t", "rocblas_datatype", "type"); + subst("cublasDiagType_t", "rocblas_diagonal", "type"); + subst("cublasFillMode_t", "rocblas_fill", "type"); + subst("cublasGemmAlgo_t", "rocblas_gemm_algo", "type"); + subst("cublasHandle_t", "rocblas_handle", "type"); + subst("cublasOperation_t", "rocblas_operation", "type"); + subst("cublasPointerMode_t", "rocblas_pointer_mode", "type"); + subst("cublasSideMode_t", "rocblas_side", "type"); + subst("cublasStatus", "rocblas_status", "type"); + subst("cublasStatus_t", "rocblas_status", "type"); + subst("CUBLAS_ATOMICS_ALLOWED", "rocblas_atomics_allowed", "numeric_literal"); + subst("CUBLAS_ATOMICS_NOT_ALLOWED", "rocblas_atomics_not_allowed", "numeric_literal"); + subst("CUBLAS_DIAG_NON_UNIT", "rocblas_diagonal_non_unit", "numeric_literal"); + subst("CUBLAS_DIAG_UNIT", "rocblas_diagonal_unit", "numeric_literal"); + subst("CUBLAS_FILL_MODE_FULL", "rocblas_fill_full", "numeric_literal"); + subst("CUBLAS_FILL_MODE_LOWER", "rocblas_fill_lower", "numeric_literal"); + subst("CUBLAS_FILL_MODE_UPPER", "rocblas_fill_upper", "numeric_literal"); + subst("CUBLAS_GEMM_DEFAULT", "rocblas_gemm_algo_standard", "numeric_literal"); + subst("CUBLAS_GEMM_DFALT", "rocblas_gemm_algo_standard", "numeric_literal"); + subst("CUBLAS_OP_C", "rocblas_operation_conjugate_transpose", "numeric_literal"); + subst("CUBLAS_OP_HERMITAN", "rocblas_operation_conjugate_transpose", "numeric_literal"); + subst("CUBLAS_OP_N", "rocblas_operation_none", "numeric_literal"); + subst("CUBLAS_OP_T", "rocblas_operation_transpose", "numeric_literal"); + subst("CUBLAS_POINTER_MODE_DEVICE", "rocblas_pointer_mode_device", "numeric_literal"); + subst("CUBLAS_POINTER_MODE_HOST", "rocblas_pointer_mode_host", "numeric_literal"); + subst("CUBLAS_SIDE_LEFT", "rocblas_side_left", "numeric_literal"); + subst("CUBLAS_SIDE_RIGHT", "rocblas_side_right", "numeric_literal"); + subst("CUBLAS_STATUS_ALLOC_FAILED", "rocblas_status_not_implemented", "numeric_literal"); + subst("CUBLAS_STATUS_ARCH_MISMATCH", "rocblas_status_size_query_mismatch", "numeric_literal"); + subst("CUBLAS_STATUS_EXECUTION_FAILED", "rocblas_status_memory_error", "numeric_literal"); + subst("CUBLAS_STATUS_INTERNAL_ERROR", "rocblas_status_internal_error", "numeric_literal"); + subst("CUBLAS_STATUS_INVALID_VALUE", "rocblas_status_invalid_pointer", "numeric_literal"); + subst("CUBLAS_STATUS_MAPPING_ERROR", "rocblas_status_invalid_size", "numeric_literal"); + subst("CUBLAS_STATUS_NOT_INITIALIZED", "rocblas_status_invalid_handle", "numeric_literal"); + subst("CUBLAS_STATUS_NOT_SUPPORTED", "rocblas_status_perf_degraded", "numeric_literal"); + subst("CUBLAS_STATUS_SUCCESS", "rocblas_status_success", "numeric_literal"); } sub simpleSubstitutions { - $ft{'error'} += s/\bcudaGetErrorName\b/hipGetErrorName/g; - $ft{'error'} += s/\bcudaGetErrorString\b/hipGetErrorString/g; - $ft{'error'} += s/\bcudaGetLastError\b/hipGetLastError/g; - $ft{'error'} += s/\bcudaPeekAtLastError\b/hipPeekAtLastError/g; - $ft{'init'} += s/\bcuInit\b/hipInit/g; - $ft{'version'} += s/\bcuDriverGetVersion\b/hipDriverGetVersion/g; - $ft{'version'} += s/\bcudaDriverGetVersion\b/hipDriverGetVersion/g; - $ft{'version'} += s/\bcudaRuntimeGetVersion\b/hipRuntimeGetVersion/g; - $ft{'device'} += s/\bcuDeviceComputeCapability\b/hipDeviceComputeCapability/g; - $ft{'device'} += s/\bcuDeviceGet\b/hipDeviceGet/g; - $ft{'device'} += s/\bcuDeviceGetAttribute\b/hipDeviceGetAttribute/g; - $ft{'device'} += s/\bcuDeviceGetCount\b/hipGetDeviceCount/g; - $ft{'device'} += s/\bcuDeviceGetName\b/hipDeviceGetName/g; - $ft{'device'} += s/\bcuDeviceTotalMem\b/hipDeviceTotalMem/g; - $ft{'device'} += s/\bcuDeviceTotalMem_v2\b/hipDeviceTotalMem/g; - $ft{'device'} += s/\bcudaChooseDevice\b/hipChooseDevice/g; - $ft{'device'} += s/\bcudaDeviceGetAttribute\b/hipDeviceGetAttribute/g; - $ft{'device'} += s/\bcudaDeviceGetByPCIBusId\b/hipDeviceGetByPCIBusId/g; - $ft{'device'} += s/\bcudaDeviceGetCacheConfig\b/hipDeviceGetCacheConfig/g; - $ft{'device'} += s/\bcudaDeviceGetLimit\b/hipDeviceGetLimit/g; - $ft{'device'} += s/\bcudaDeviceGetP2PAttribute\b/hipDeviceGetP2PAttribute/g; - $ft{'device'} += s/\bcudaDeviceGetPCIBusId\b/hipDeviceGetPCIBusId/g; - $ft{'device'} += s/\bcudaDeviceGetSharedMemConfig\b/hipDeviceGetSharedMemConfig/g; - $ft{'device'} += s/\bcudaDeviceGetStreamPriorityRange\b/hipDeviceGetStreamPriorityRange/g; - $ft{'device'} += s/\bcudaDeviceReset\b/hipDeviceReset/g; - $ft{'device'} += s/\bcudaDeviceSetCacheConfig\b/hipDeviceSetCacheConfig/g; - $ft{'device'} += s/\bcudaDeviceSetSharedMemConfig\b/hipDeviceSetSharedMemConfig/g; - $ft{'device'} += s/\bcudaDeviceSynchronize\b/hipDeviceSynchronize/g; - $ft{'device'} += s/\bcudaFuncSetCacheConfig\b/hipFuncSetCacheConfig/g; - $ft{'device'} += s/\bcudaGetDevice\b/hipGetDevice/g; - $ft{'device'} += s/\bcudaGetDeviceCount\b/hipGetDeviceCount/g; - $ft{'device'} += s/\bcudaGetDeviceFlags\b/hipGetDeviceFlags/g; - $ft{'device'} += s/\bcudaGetDeviceProperties\b/hipGetDeviceProperties/g; - $ft{'device'} += s/\bcudaIpcCloseMemHandle\b/hipIpcCloseMemHandle/g; - $ft{'device'} += s/\bcudaIpcGetEventHandle\b/hipIpcGetEventHandle/g; - $ft{'device'} += s/\bcudaIpcGetMemHandle\b/hipIpcGetMemHandle/g; - $ft{'device'} += s/\bcudaIpcOpenEventHandle\b/hipIpcOpenEventHandle/g; - $ft{'device'} += s/\bcudaIpcOpenMemHandle\b/hipIpcOpenMemHandle/g; - $ft{'device'} += s/\bcudaSetDevice\b/hipSetDevice/g; - $ft{'device'} += s/\bcudaSetDeviceFlags\b/hipSetDeviceFlags/g; - $ft{'context'} += s/\bcuCtxCreate\b/hipCtxCreate/g; - $ft{'context'} += s/\bcuCtxCreate_v2\b/hipCtxCreate/g; - $ft{'context'} += s/\bcuCtxDestroy\b/hipCtxDestroy/g; - $ft{'context'} += s/\bcuCtxDestroy_v2\b/hipCtxDestroy/g; - $ft{'context'} += s/\bcuCtxGetApiVersion\b/hipCtxGetApiVersion/g; - $ft{'context'} += s/\bcuCtxGetCacheConfig\b/hipCtxGetCacheConfig/g; - $ft{'context'} += s/\bcuCtxGetCurrent\b/hipCtxGetCurrent/g; - $ft{'context'} += s/\bcuCtxGetDevice\b/hipCtxGetDevice/g; - $ft{'context'} += s/\bcuCtxGetFlags\b/hipCtxGetFlags/g; - $ft{'context'} += s/\bcuCtxGetLimit\b/hipDeviceGetLimit/g; - $ft{'context'} += s/\bcuCtxGetSharedMemConfig\b/hipCtxGetSharedMemConfig/g; - $ft{'context'} += s/\bcuCtxGetStreamPriorityRange\b/hipDeviceGetStreamPriorityRange/g; - $ft{'context'} += s/\bcuCtxPopCurrent\b/hipCtxPopCurrent/g; - $ft{'context'} += s/\bcuCtxPopCurrent_v2\b/hipCtxPopCurrent/g; - $ft{'context'} += s/\bcuCtxPushCurrent\b/hipCtxPushCurrent/g; - $ft{'context'} += s/\bcuCtxPushCurrent_v2\b/hipCtxPushCurrent/g; - $ft{'context'} += s/\bcuCtxSetCacheConfig\b/hipCtxSetCacheConfig/g; - $ft{'context'} += s/\bcuCtxSetCurrent\b/hipCtxSetCurrent/g; - $ft{'context'} += s/\bcuCtxSetSharedMemConfig\b/hipCtxSetSharedMemConfig/g; - $ft{'context'} += s/\bcuCtxSynchronize\b/hipCtxSynchronize/g; - $ft{'context'} += s/\bcuDevicePrimaryCtxGetState\b/hipDevicePrimaryCtxGetState/g; - $ft{'context'} += s/\bcuDevicePrimaryCtxRelease\b/hipDevicePrimaryCtxRelease/g; - $ft{'context'} += s/\bcuDevicePrimaryCtxRelease_v2\b/hipDevicePrimaryCtxRelease/g; - $ft{'context'} += s/\bcuDevicePrimaryCtxReset\b/hipDevicePrimaryCtxReset/g; - $ft{'context'} += s/\bcuDevicePrimaryCtxReset_v2\b/hipDevicePrimaryCtxReset/g; - $ft{'context'} += s/\bcuDevicePrimaryCtxRetain\b/hipDevicePrimaryCtxRetain/g; - $ft{'context'} += s/\bcuDevicePrimaryCtxSetFlags\b/hipDevicePrimaryCtxSetFlags/g; - $ft{'context'} += s/\bcuDevicePrimaryCtxSetFlags_v2\b/hipDevicePrimaryCtxSetFlags/g; - $ft{'module'} += s/\bcuModuleGetFunction\b/hipModuleGetFunction/g; - $ft{'module'} += s/\bcuModuleGetGlobal\b/hipModuleGetGlobal/g; - $ft{'module'} += s/\bcuModuleGetGlobal_v2\b/hipModuleGetGlobal/g; - $ft{'module'} += s/\bcuModuleGetTexRef\b/hipModuleGetTexRef/g; - $ft{'module'} += s/\bcuModuleLoad\b/hipModuleLoad/g; - $ft{'module'} += s/\bcuModuleLoadData\b/hipModuleLoadData/g; - $ft{'module'} += s/\bcuModuleLoadDataEx\b/hipModuleLoadDataEx/g; - $ft{'module'} += s/\bcuModuleUnload\b/hipModuleUnload/g; - $ft{'memory'} += s/\bcuArray3DCreate\b/hipArray3DCreate/g; - $ft{'memory'} += s/\bcuArray3DCreate_v2\b/hipArray3DCreate/g; - $ft{'memory'} += s/\bcuArrayCreate\b/hipArrayCreate/g; - $ft{'memory'} += s/\bcuArrayCreate_v2\b/hipArrayCreate/g; - $ft{'memory'} += s/\bcuArrayDestroy\b/hipArrayDestroy/g; - $ft{'memory'} += s/\bcuDeviceGetByPCIBusId\b/hipDeviceGetByPCIBusId/g; - $ft{'memory'} += s/\bcuDeviceGetPCIBusId\b/hipDeviceGetPCIBusId/g; - $ft{'memory'} += s/\bcuIpcCloseMemHandle\b/hipIpcCloseMemHandle/g; - $ft{'memory'} += s/\bcuIpcGetEventHandle\b/hipIpcGetEventHandle/g; - $ft{'memory'} += s/\bcuIpcGetMemHandle\b/hipIpcGetMemHandle/g; - $ft{'memory'} += s/\bcuIpcOpenEventHandle\b/hipIpcOpenEventHandle/g; - $ft{'memory'} += s/\bcuIpcOpenMemHandle\b/hipIpcOpenMemHandle/g; - $ft{'memory'} += s/\bcuMemAlloc\b/hipMalloc/g; - $ft{'memory'} += s/\bcuMemAllocHost\b/hipMemAllocHost/g; - $ft{'memory'} += s/\bcuMemAllocHost_v2\b/hipMemAllocHost/g; - $ft{'memory'} += s/\bcuMemAllocManaged\b/hipMallocManaged/g; - $ft{'memory'} += s/\bcuMemAllocPitch\b/hipMemAllocPitch/g; - $ft{'memory'} += s/\bcuMemAllocPitch_v2\b/hipMemAllocPitch/g; - $ft{'memory'} += s/\bcuMemAlloc_v2\b/hipMalloc/g; - $ft{'memory'} += s/\bcuMemFree\b/hipFree/g; - $ft{'memory'} += s/\bcuMemFreeHost\b/hipHostFree/g; - $ft{'memory'} += s/\bcuMemFree_v2\b/hipFree/g; - $ft{'memory'} += s/\bcuMemGetAddressRange\b/hipMemGetAddressRange/g; - $ft{'memory'} += s/\bcuMemGetAddressRange_v2\b/hipMemGetAddressRange/g; - $ft{'memory'} += s/\bcuMemGetInfo\b/hipMemGetInfo/g; - $ft{'memory'} += s/\bcuMemGetInfo_v2\b/hipMemGetInfo/g; - $ft{'memory'} += s/\bcuMemHostAlloc\b/hipHostAlloc/g; - $ft{'memory'} += s/\bcuMemHostGetDevicePointer\b/hipHostGetDevicePointer/g; - $ft{'memory'} += s/\bcuMemHostGetDevicePointer_v2\b/hipHostGetDevicePointer/g; - $ft{'memory'} += s/\bcuMemHostGetFlags\b/hipHostGetFlags/g; - $ft{'memory'} += s/\bcuMemHostRegister\b/hipHostRegister/g; - $ft{'memory'} += s/\bcuMemHostRegister_v2\b/hipHostRegister/g; - $ft{'memory'} += s/\bcuMemHostUnregister\b/hipHostUnregister/g; - $ft{'memory'} += s/\bcuMemcpy2D\b/hipMemcpyParam2D/g; - $ft{'memory'} += s/\bcuMemcpy2DAsync\b/hipMemcpyParam2DAsync/g; - $ft{'memory'} += s/\bcuMemcpy2DAsync_v2\b/hipMemcpyParam2DAsync/g; - $ft{'memory'} += s/\bcuMemcpy2DUnaligned\b/hipDrvMemcpy2DUnaligned/g; - $ft{'memory'} += s/\bcuMemcpy2DUnaligned_v2\b/hipDrvMemcpy2DUnaligned/g; - $ft{'memory'} += s/\bcuMemcpy2D_v2\b/hipMemcpyParam2D/g; - $ft{'memory'} += s/\bcuMemcpy3D\b/hipDrvMemcpy3D/g; - $ft{'memory'} += s/\bcuMemcpy3DAsync\b/hipDrvMemcpy3DAsync/g; - $ft{'memory'} += s/\bcuMemcpy3DAsync_v2\b/hipDrvMemcpy3DAsync/g; - $ft{'memory'} += s/\bcuMemcpy3D_v2\b/hipDrvMemcpy3D/g; - $ft{'memory'} += s/\bcuMemcpyAtoH\b/hipMemcpyAtoH/g; - $ft{'memory'} += s/\bcuMemcpyAtoH_v2\b/hipMemcpyAtoH/g; - $ft{'memory'} += s/\bcuMemcpyDtoD\b/hipMemcpyDtoD/g; - $ft{'memory'} += s/\bcuMemcpyDtoDAsync\b/hipMemcpyDtoDAsync/g; - $ft{'memory'} += s/\bcuMemcpyDtoDAsync_v2\b/hipMemcpyDtoDAsync/g; - $ft{'memory'} += s/\bcuMemcpyDtoD_v2\b/hipMemcpyDtoD/g; - $ft{'memory'} += s/\bcuMemcpyDtoH\b/hipMemcpyDtoH/g; - $ft{'memory'} += s/\bcuMemcpyDtoHAsync\b/hipMemcpyDtoHAsync/g; - $ft{'memory'} += s/\bcuMemcpyDtoHAsync_v2\b/hipMemcpyDtoHAsync/g; - $ft{'memory'} += s/\bcuMemcpyDtoH_v2\b/hipMemcpyDtoH/g; - $ft{'memory'} += s/\bcuMemcpyHtoA\b/hipMemcpyHtoA/g; - $ft{'memory'} += s/\bcuMemcpyHtoA_v2\b/hipMemcpyHtoA/g; - $ft{'memory'} += s/\bcuMemcpyHtoD\b/hipMemcpyHtoD/g; - $ft{'memory'} += s/\bcuMemcpyHtoDAsync\b/hipMemcpyHtoDAsync/g; - $ft{'memory'} += s/\bcuMemcpyHtoDAsync_v2\b/hipMemcpyHtoDAsync/g; - $ft{'memory'} += s/\bcuMemcpyHtoD_v2\b/hipMemcpyHtoD/g; - $ft{'memory'} += s/\bcuMemsetD16\b/hipMemsetD16/g; - $ft{'memory'} += s/\bcuMemsetD16Async\b/hipMemsetD16Async/g; - $ft{'memory'} += s/\bcuMemsetD16_v2\b/hipMemsetD16/g; - $ft{'memory'} += s/\bcuMemsetD32\b/hipMemsetD32/g; - $ft{'memory'} += s/\bcuMemsetD32Async\b/hipMemsetD32Async/g; - $ft{'memory'} += s/\bcuMemsetD32_v2\b/hipMemsetD32/g; - $ft{'memory'} += s/\bcuMemsetD8\b/hipMemsetD8/g; - $ft{'memory'} += s/\bcuMemsetD8Async\b/hipMemsetD8Async/g; - $ft{'memory'} += s/\bcuMemsetD8_v2\b/hipMemsetD8/g; - $ft{'memory'} += s/\bcuMipmappedArrayCreate\b/hipMipmappedArrayCreate/g; - $ft{'memory'} += s/\bcuMipmappedArrayDestroy\b/hipMipmappedArrayDestroy/g; - $ft{'memory'} += s/\bcuMipmappedArrayGetLevel\b/hipMipmappedArrayGetLevel/g; - $ft{'memory'} += s/\bcudaFree\b/hipFree/g; - $ft{'memory'} += s/\bcudaFreeArray\b/hipFreeArray/g; - $ft{'memory'} += s/\bcudaFreeHost\b/hipHostFree/g; - $ft{'memory'} += s/\bcudaFreeMipmappedArray\b/hipFreeMipmappedArray/g; - $ft{'memory'} += s/\bcudaGetMipmappedArrayLevel\b/hipGetMipmappedArrayLevel/g; - $ft{'memory'} += s/\bcudaGetSymbolAddress\b/hipGetSymbolAddress/g; - $ft{'memory'} += s/\bcudaGetSymbolSize\b/hipGetSymbolSize/g; - $ft{'memory'} += s/\bcudaHostAlloc\b/hipHostAlloc/g; - $ft{'memory'} += s/\bcudaHostGetDevicePointer\b/hipHostGetDevicePointer/g; - $ft{'memory'} += s/\bcudaHostGetFlags\b/hipHostGetFlags/g; - $ft{'memory'} += s/\bcudaHostRegister\b/hipHostRegister/g; - $ft{'memory'} += s/\bcudaHostUnregister\b/hipHostUnregister/g; - $ft{'memory'} += s/\bcudaMalloc\b/hipMalloc/g; - $ft{'memory'} += s/\bcudaMalloc3D\b/hipMalloc3D/g; - $ft{'memory'} += s/\bcudaMalloc3DArray\b/hipMalloc3DArray/g; - $ft{'memory'} += s/\bcudaMallocArray\b/hipMallocArray/g; - $ft{'memory'} += s/\bcudaMallocHost\b/hipHostMalloc/g; - $ft{'memory'} += s/\bcudaMallocManaged\b/hipMallocManaged/g; - $ft{'memory'} += s/\bcudaMallocMipmappedArray\b/hipMallocMipmappedArray/g; - $ft{'memory'} += s/\bcudaMallocPitch\b/hipMallocPitch/g; - $ft{'memory'} += s/\bcudaMemAdvise\b/hipMemAdvise/g; - $ft{'memory'} += s/\bcudaMemGetInfo\b/hipMemGetInfo/g; - $ft{'memory'} += s/\bcudaMemPrefetchAsync\b/hipMemPrefetchAsync/g; - $ft{'memory'} += s/\bcudaMemRangeGetAttribute\b/hipMemRangeGetAttribute/g; - $ft{'memory'} += s/\bcudaMemRangeGetAttributes\b/hipMemRangeGetAttributes/g; - $ft{'memory'} += s/\bcudaMemcpy\b/hipMemcpy/g; - $ft{'memory'} += s/\bcudaMemcpy2D\b/hipMemcpy2D/g; - $ft{'memory'} += s/\bcudaMemcpy2DAsync\b/hipMemcpy2DAsync/g; - $ft{'memory'} += s/\bcudaMemcpy2DFromArray\b/hipMemcpy2DFromArray/g; - $ft{'memory'} += s/\bcudaMemcpy2DFromArrayAsync\b/hipMemcpy2DFromArrayAsync/g; - $ft{'memory'} += s/\bcudaMemcpy2DToArray\b/hipMemcpy2DToArray/g; - $ft{'memory'} += s/\bcudaMemcpy2DToArrayAsync\b/hipMemcpy2DToArrayAsync/g; - $ft{'memory'} += s/\bcudaMemcpy3D\b/hipMemcpy3D/g; - $ft{'memory'} += s/\bcudaMemcpy3DAsync\b/hipMemcpy3DAsync/g; - $ft{'memory'} += s/\bcudaMemcpyAsync\b/hipMemcpyAsync/g; - $ft{'memory'} += s/\bcudaMemcpyFromArray\b/hipMemcpyFromArray/g; - $ft{'memory'} += s/\bcudaMemcpyFromSymbol\b/hipMemcpyFromSymbol/g; - $ft{'memory'} += s/\bcudaMemcpyFromSymbolAsync\b/hipMemcpyFromSymbolAsync/g; - $ft{'memory'} += s/\bcudaMemcpyPeer\b/hipMemcpyPeer/g; - $ft{'memory'} += s/\bcudaMemcpyPeerAsync\b/hipMemcpyPeerAsync/g; - $ft{'memory'} += s/\bcudaMemcpyToArray\b/hipMemcpyToArray/g; - $ft{'memory'} += s/\bcudaMemcpyToSymbol\b/hipMemcpyToSymbol/g; - $ft{'memory'} += s/\bcudaMemcpyToSymbolAsync\b/hipMemcpyToSymbolAsync/g; - $ft{'memory'} += s/\bcudaMemset\b/hipMemset/g; - $ft{'memory'} += s/\bcudaMemset2D\b/hipMemset2D/g; - $ft{'memory'} += s/\bcudaMemset2DAsync\b/hipMemset2DAsync/g; - $ft{'memory'} += s/\bcudaMemset3D\b/hipMemset3D/g; - $ft{'memory'} += s/\bcudaMemset3DAsync\b/hipMemset3DAsync/g; - $ft{'memory'} += s/\bcudaMemsetAsync\b/hipMemsetAsync/g; - $ft{'memory'} += s/\bmake_cudaExtent\b/make_hipExtent/g; - $ft{'memory'} += s/\bmake_cudaPitchedPtr\b/make_hipPitchedPtr/g; - $ft{'memory'} += s/\bmake_cudaPos\b/make_hipPos/g; - $ft{'addressing'} += s/\bcuMemAdvise\b/hipMemAdvise/g; - $ft{'addressing'} += s/\bcuMemPrefetchAsync\b/hipMemPrefetchAsync/g; - $ft{'addressing'} += s/\bcuMemRangeGetAttribute\b/hipMemRangeGetAttribute/g; - $ft{'addressing'} += s/\bcuMemRangeGetAttributes\b/hipMemRangeGetAttributes/g; - $ft{'addressing'} += s/\bcuPointerGetAttribute\b/hipPointerGetAttribute/g; - $ft{'addressing'} += s/\bcuPointerGetAttributes\b/hipDrvPointerGetAttributes/g; - $ft{'addressing'} += s/\bcudaPointerGetAttributes\b/hipPointerGetAttributes/g; - $ft{'stream'} += s/\bcuStreamAddCallback\b/hipStreamAddCallback/g; - $ft{'stream'} += s/\bcuStreamAttachMemAsync\b/hipStreamAttachMemAsync/g; - $ft{'stream'} += s/\bcuStreamBeginCapture\b/hipStreamBeginCapture/g; - $ft{'stream'} += s/\bcuStreamBeginCapture_v2\b/hipStreamBeginCapture/g; - $ft{'stream'} += s/\bcuStreamCreate\b/hipStreamCreateWithFlags/g; - $ft{'stream'} += s/\bcuStreamCreateWithPriority\b/hipStreamCreateWithPriority/g; - $ft{'stream'} += s/\bcuStreamDestroy\b/hipStreamDestroy/g; - $ft{'stream'} += s/\bcuStreamDestroy_v2\b/hipStreamDestroy/g; - $ft{'stream'} += s/\bcuStreamEndCapture\b/hipStreamEndCapture/g; - $ft{'stream'} += s/\bcuStreamGetCaptureInfo\b/hipStreamGetCaptureInfo/g; - $ft{'stream'} += s/\bcuStreamGetCaptureInfo_v2\b/hipStreamGetCaptureInfo_v2/g; - $ft{'stream'} += s/\bcuStreamGetFlags\b/hipStreamGetFlags/g; - $ft{'stream'} += s/\bcuStreamGetPriority\b/hipStreamGetPriority/g; - $ft{'stream'} += s/\bcuStreamIsCapturing\b/hipStreamIsCapturing/g; - $ft{'stream'} += s/\bcuStreamQuery\b/hipStreamQuery/g; - $ft{'stream'} += s/\bcuStreamSynchronize\b/hipStreamSynchronize/g; - $ft{'stream'} += s/\bcuStreamUpdateCaptureDependencies\b/hipStreamUpdateCaptureDependencies/g; - $ft{'stream'} += s/\bcuStreamWaitEvent\b/hipStreamWaitEvent/g; - $ft{'stream'} += s/\bcudaStreamAddCallback\b/hipStreamAddCallback/g; - $ft{'stream'} += s/\bcudaStreamAttachMemAsync\b/hipStreamAttachMemAsync/g; - $ft{'stream'} += s/\bcudaStreamBeginCapture\b/hipStreamBeginCapture/g; - $ft{'stream'} += s/\bcudaStreamCreate\b/hipStreamCreate/g; - $ft{'stream'} += s/\bcudaStreamCreateWithFlags\b/hipStreamCreateWithFlags/g; - $ft{'stream'} += s/\bcudaStreamCreateWithPriority\b/hipStreamCreateWithPriority/g; - $ft{'stream'} += s/\bcudaStreamDestroy\b/hipStreamDestroy/g; - $ft{'stream'} += s/\bcudaStreamEndCapture\b/hipStreamEndCapture/g; - $ft{'stream'} += s/\bcudaStreamGetCaptureInfo\b/hipStreamGetCaptureInfo/g; - $ft{'stream'} += s/\bcudaStreamGetFlags\b/hipStreamGetFlags/g; - $ft{'stream'} += s/\bcudaStreamGetPriority\b/hipStreamGetPriority/g; - $ft{'stream'} += s/\bcudaStreamIsCapturing\b/hipStreamIsCapturing/g; - $ft{'stream'} += s/\bcudaStreamQuery\b/hipStreamQuery/g; - $ft{'stream'} += s/\bcudaStreamSynchronize\b/hipStreamSynchronize/g; - $ft{'stream'} += s/\bcudaStreamWaitEvent\b/hipStreamWaitEvent/g; - $ft{'event'} += s/\bcuEventCreate\b/hipEventCreateWithFlags/g; - $ft{'event'} += s/\bcuEventDestroy\b/hipEventDestroy/g; - $ft{'event'} += s/\bcuEventDestroy_v2\b/hipEventDestroy/g; - $ft{'event'} += s/\bcuEventElapsedTime\b/hipEventElapsedTime/g; - $ft{'event'} += s/\bcuEventQuery\b/hipEventQuery/g; - $ft{'event'} += s/\bcuEventRecord\b/hipEventRecord/g; - $ft{'event'} += s/\bcuEventSynchronize\b/hipEventSynchronize/g; - $ft{'event'} += s/\bcudaEventCreate\b/hipEventCreate/g; - $ft{'event'} += s/\bcudaEventCreateWithFlags\b/hipEventCreateWithFlags/g; - $ft{'event'} += s/\bcudaEventDestroy\b/hipEventDestroy/g; - $ft{'event'} += s/\bcudaEventElapsedTime\b/hipEventElapsedTime/g; - $ft{'event'} += s/\bcudaEventQuery\b/hipEventQuery/g; - $ft{'event'} += s/\bcudaEventRecord\b/hipEventRecord/g; - $ft{'event'} += s/\bcudaEventSynchronize\b/hipEventSynchronize/g; - $ft{'external_resource_interop'} += s/\bcuDestroyExternalMemory\b/hipDestroyExternalMemory/g; - $ft{'external_resource_interop'} += s/\bcuDestroyExternalSemaphore\b/hipDestroyExternalSemaphore/g; - $ft{'external_resource_interop'} += s/\bcuExternalMemoryGetMappedBuffer\b/hipExternalMemoryGetMappedBuffer/g; - $ft{'external_resource_interop'} += s/\bcuImportExternalMemory\b/hipImportExternalMemory/g; - $ft{'external_resource_interop'} += s/\bcuImportExternalSemaphore\b/hipImportExternalSemaphore/g; - $ft{'external_resource_interop'} += s/\bcuSignalExternalSemaphoresAsync\b/hipSignalExternalSemaphoresAsync/g; - $ft{'external_resource_interop'} += s/\bcuWaitExternalSemaphoresAsync\b/hipWaitExternalSemaphoresAsync/g; - $ft{'external_resource_interop'} += s/\bcudaDestroyExternalMemory\b/hipDestroyExternalMemory/g; - $ft{'external_resource_interop'} += s/\bcudaDestroyExternalSemaphore\b/hipDestroyExternalSemaphore/g; - $ft{'external_resource_interop'} += s/\bcudaExternalMemoryGetMappedBuffer\b/hipExternalMemoryGetMappedBuffer/g; - $ft{'external_resource_interop'} += s/\bcudaImportExternalMemory\b/hipImportExternalMemory/g; - $ft{'external_resource_interop'} += s/\bcudaImportExternalSemaphore\b/hipImportExternalSemaphore/g; - $ft{'external_resource_interop'} += s/\bcudaSignalExternalSemaphoresAsync\b/hipSignalExternalSemaphoresAsync/g; - $ft{'external_resource_interop'} += s/\bcudaWaitExternalSemaphoresAsync\b/hipWaitExternalSemaphoresAsync/g; - $ft{'stream_memory'} += s/\bcuStreamWaitValue32\b/hipStreamWaitValue32/g; - $ft{'stream_memory'} += s/\bcuStreamWaitValue64\b/hipStreamWaitValue64/g; - $ft{'stream_memory'} += s/\bcuStreamWriteValue32\b/hipStreamWriteValue32/g; - $ft{'stream_memory'} += s/\bcuStreamWriteValue64\b/hipStreamWriteValue64/g; - $ft{'execution'} += s/\bcuFuncGetAttribute\b/hipFuncGetAttribute/g; - $ft{'execution'} += s/\bcuLaunchKernel\b/hipModuleLaunchKernel/g; - $ft{'execution'} += s/\bcudaConfigureCall\b/hipConfigureCall/g; - $ft{'execution'} += s/\bcudaFuncGetAttributes\b/hipFuncGetAttributes/g; - $ft{'execution'} += s/\bcudaFuncSetAttribute\b/hipFuncSetAttribute/g; - $ft{'execution'} += s/\bcudaFuncSetSharedMemConfig\b/hipFuncSetSharedMemConfig/g; - $ft{'execution'} += s/\bcudaLaunch\b/hipLaunchByPtr/g; - $ft{'execution'} += s/\bcudaLaunchCooperativeKernel\b/hipLaunchCooperativeKernel/g; - $ft{'execution'} += s/\bcudaLaunchCooperativeKernelMultiDevice\b/hipLaunchCooperativeKernelMultiDevice/g; - $ft{'execution'} += s/\bcudaLaunchKernel\b/hipLaunchKernel/g; - $ft{'execution'} += s/\bcudaSetupArgument\b/hipSetupArgument/g; - $ft{'graph'} += s/\bcuGraphAddChildGraphNode\b/hipGraphAddChildGraphNode/g; - $ft{'graph'} += s/\bcuGraphAddDependencies\b/hipGraphAddDependencies/g; - $ft{'graph'} += s/\bcuGraphAddEmptyNode\b/hipGraphAddEmptyNode/g; - $ft{'graph'} += s/\bcuGraphAddEventRecordNode\b/hipGraphAddEventRecordNode/g; - $ft{'graph'} += s/\bcuGraphAddEventWaitNode\b/hipGraphAddEventWaitNode/g; - $ft{'graph'} += s/\bcuGraphAddHostNode\b/hipGraphAddHostNode/g; - $ft{'graph'} += s/\bcuGraphAddKernelNode\b/hipGraphAddKernelNode/g; - $ft{'graph'} += s/\bcuGraphChildGraphNodeGetGraph\b/hipGraphChildGraphNodeGetGraph/g; - $ft{'graph'} += s/\bcuGraphCreate\b/hipGraphCreate/g; - $ft{'graph'} += s/\bcuGraphDestroy\b/hipGraphDestroy/g; - $ft{'graph'} += s/\bcuGraphDestroyNode\b/hipGraphDestroyNode/g; - $ft{'graph'} += s/\bcuGraphEventRecordNodeGetEvent\b/hipGraphEventRecordNodeGetEvent/g; - $ft{'graph'} += s/\bcuGraphEventRecordNodeSetEvent\b/hipGraphEventRecordNodeSetEvent/g; - $ft{'graph'} += s/\bcuGraphEventWaitNodeGetEvent\b/hipGraphEventWaitNodeGetEvent/g; - $ft{'graph'} += s/\bcuGraphEventWaitNodeSetEvent\b/hipGraphEventWaitNodeSetEvent/g; - $ft{'graph'} += s/\bcuGraphExecChildGraphNodeSetParams\b/hipGraphExecChildGraphNodeSetParams/g; - $ft{'graph'} += s/\bcuGraphExecDestroy\b/hipGraphExecDestroy/g; - $ft{'graph'} += s/\bcuGraphExecEventRecordNodeSetEvent\b/hipGraphExecEventRecordNodeSetEvent/g; - $ft{'graph'} += s/\bcuGraphExecEventWaitNodeSetEvent\b/hipGraphExecEventWaitNodeSetEvent/g; - $ft{'graph'} += s/\bcuGraphExecHostNodeSetParams\b/hipGraphExecHostNodeSetParams/g; - $ft{'graph'} += s/\bcuGraphExecKernelNodeSetParams\b/hipGraphExecKernelNodeSetParams/g; - $ft{'graph'} += s/\bcuGraphExecUpdate\b/hipGraphExecUpdate/g; - $ft{'graph'} += s/\bcuGraphGetEdges\b/hipGraphGetEdges/g; - $ft{'graph'} += s/\bcuGraphGetNodes\b/hipGraphGetNodes/g; - $ft{'graph'} += s/\bcuGraphGetRootNodes\b/hipGraphGetRootNodes/g; - $ft{'graph'} += s/\bcuGraphHostNodeGetParams\b/hipGraphHostNodeGetParams/g; - $ft{'graph'} += s/\bcuGraphHostNodeSetParams\b/hipGraphHostNodeSetParams/g; - $ft{'graph'} += s/\bcuGraphInstantiate\b/hipGraphInstantiate/g; - $ft{'graph'} += s/\bcuGraphInstantiateWithFlags\b/hipGraphInstantiateWithFlags/g; - $ft{'graph'} += s/\bcuGraphInstantiate_v2\b/hipGraphInstantiate/g; - $ft{'graph'} += s/\bcuGraphKernelNodeGetParams\b/hipGraphKernelNodeGetParams/g; - $ft{'graph'} += s/\bcuGraphKernelNodeSetParams\b/hipGraphKernelNodeSetParams/g; - $ft{'graph'} += s/\bcuGraphLaunch\b/hipGraphLaunch/g; - $ft{'graph'} += s/\bcuGraphMemcpyNodeGetParams\b/hipGraphMemcpyNodeGetParams/g; - $ft{'graph'} += s/\bcuGraphMemcpyNodeSetParams\b/hipGraphMemcpyNodeSetParams/g; - $ft{'graph'} += s/\bcuGraphMemsetNodeGetParams\b/hipGraphMemsetNodeGetParams/g; - $ft{'graph'} += s/\bcuGraphMemsetNodeSetParams\b/hipGraphMemsetNodeSetParams/g; - $ft{'graph'} += s/\bcuGraphNodeFindInClone\b/hipGraphNodeFindInClone/g; - $ft{'graph'} += s/\bcuGraphNodeGetDependencies\b/hipGraphNodeGetDependencies/g; - $ft{'graph'} += s/\bcuGraphNodeGetDependentNodes\b/hipGraphNodeGetDependentNodes/g; - $ft{'graph'} += s/\bcuGraphNodeGetType\b/hipGraphNodeGetType/g; - $ft{'graph'} += s/\bcuGraphRemoveDependencies\b/hipGraphRemoveDependencies/g; - $ft{'graph'} += s/\bcudaGraphAddChildGraphNode\b/hipGraphAddChildGraphNode/g; - $ft{'graph'} += s/\bcudaGraphAddDependencies\b/hipGraphAddDependencies/g; - $ft{'graph'} += s/\bcudaGraphAddEmptyNode\b/hipGraphAddEmptyNode/g; - $ft{'graph'} += s/\bcudaGraphAddEventRecordNode\b/hipGraphAddEventRecordNode/g; - $ft{'graph'} += s/\bcudaGraphAddEventWaitNode\b/hipGraphAddEventWaitNode/g; - $ft{'graph'} += s/\bcudaGraphAddHostNode\b/hipGraphAddHostNode/g; - $ft{'graph'} += s/\bcudaGraphAddKernelNode\b/hipGraphAddKernelNode/g; - $ft{'graph'} += s/\bcudaGraphAddMemcpyNode\b/hipGraphAddMemcpyNode/g; - $ft{'graph'} += s/\bcudaGraphAddMemcpyNode1D\b/hipGraphAddMemcpyNode1D/g; - $ft{'graph'} += s/\bcudaGraphAddMemcpyNodeFromSymbol\b/hipGraphAddMemcpyNodeFromSymbol/g; - $ft{'graph'} += s/\bcudaGraphAddMemcpyNodeToSymbol\b/hipGraphAddMemcpyNodeToSymbol/g; - $ft{'graph'} += s/\bcudaGraphAddMemsetNode\b/hipGraphAddMemsetNode/g; - $ft{'graph'} += s/\bcudaGraphChildGraphNodeGetGraph\b/hipGraphChildGraphNodeGetGraph/g; - $ft{'graph'} += s/\bcudaGraphCreate\b/hipGraphCreate/g; - $ft{'graph'} += s/\bcudaGraphDestroy\b/hipGraphDestroy/g; - $ft{'graph'} += s/\bcudaGraphDestroyNode\b/hipGraphDestroyNode/g; - $ft{'graph'} += s/\bcudaGraphEventRecordNodeGetEvent\b/hipGraphEventRecordNodeGetEvent/g; - $ft{'graph'} += s/\bcudaGraphEventRecordNodeSetEvent\b/hipGraphEventRecordNodeSetEvent/g; - $ft{'graph'} += s/\bcudaGraphEventWaitNodeGetEvent\b/hipGraphEventWaitNodeGetEvent/g; - $ft{'graph'} += s/\bcudaGraphEventWaitNodeSetEvent\b/hipGraphEventWaitNodeSetEvent/g; - $ft{'graph'} += s/\bcudaGraphExecChildGraphNodeSetParams\b/hipGraphExecChildGraphNodeSetParams/g; - $ft{'graph'} += s/\bcudaGraphExecDestroy\b/hipGraphExecDestroy/g; - $ft{'graph'} += s/\bcudaGraphExecEventRecordNodeSetEvent\b/hipGraphExecEventRecordNodeSetEvent/g; - $ft{'graph'} += s/\bcudaGraphExecEventWaitNodeSetEvent\b/hipGraphExecEventWaitNodeSetEvent/g; - $ft{'graph'} += s/\bcudaGraphExecHostNodeSetParams\b/hipGraphExecHostNodeSetParams/g; - $ft{'graph'} += s/\bcudaGraphExecKernelNodeSetParams\b/hipGraphExecKernelNodeSetParams/g; - $ft{'graph'} += s/\bcudaGraphExecMemcpyNodeSetParams\b/hipGraphExecMemcpyNodeSetParams/g; - $ft{'graph'} += s/\bcudaGraphExecMemcpyNodeSetParams1D\b/hipGraphExecMemcpyNodeSetParams1D/g; - $ft{'graph'} += s/\bcudaGraphExecMemcpyNodeSetParamsFromSymbol\b/hipGraphExecMemcpyNodeSetParamsFromSymbol/g; - $ft{'graph'} += s/\bcudaGraphExecMemcpyNodeSetParamsToSymbol\b/hipGraphExecMemcpyNodeSetParamsToSymbol/g; - $ft{'graph'} += s/\bcudaGraphExecMemsetNodeSetParams\b/hipGraphExecMemsetNodeSetParams/g; - $ft{'graph'} += s/\bcudaGraphExecUpdate\b/hipGraphExecUpdate/g; - $ft{'graph'} += s/\bcudaGraphGetEdges\b/hipGraphGetEdges/g; - $ft{'graph'} += s/\bcudaGraphGetNodes\b/hipGraphGetNodes/g; - $ft{'graph'} += s/\bcudaGraphGetRootNodes\b/hipGraphGetRootNodes/g; - $ft{'graph'} += s/\bcudaGraphHostNodeGetParams\b/hipGraphHostNodeGetParams/g; - $ft{'graph'} += s/\bcudaGraphHostNodeSetParams\b/hipGraphHostNodeSetParams/g; - $ft{'graph'} += s/\bcudaGraphInstantiate\b/hipGraphInstantiate/g; - $ft{'graph'} += s/\bcudaGraphInstantiateWithFlags\b/hipGraphInstantiateWithFlags/g; - $ft{'graph'} += s/\bcudaGraphKernelNodeGetParams\b/hipGraphKernelNodeGetParams/g; - $ft{'graph'} += s/\bcudaGraphKernelNodeSetParams\b/hipGraphKernelNodeSetParams/g; - $ft{'graph'} += s/\bcudaGraphLaunch\b/hipGraphLaunch/g; - $ft{'graph'} += s/\bcudaGraphMemcpyNodeGetParams\b/hipGraphMemcpyNodeGetParams/g; - $ft{'graph'} += s/\bcudaGraphMemcpyNodeSetParams\b/hipGraphMemcpyNodeSetParams/g; - $ft{'graph'} += s/\bcudaGraphMemcpyNodeSetParams1D\b/hipGraphMemcpyNodeSetParams1D/g; - $ft{'graph'} += s/\bcudaGraphMemcpyNodeSetParamsFromSymbol\b/hipGraphMemcpyNodeSetParamsFromSymbol/g; - $ft{'graph'} += s/\bcudaGraphMemcpyNodeSetParamsToSymbol\b/hipGraphMemcpyNodeSetParamsToSymbol/g; - $ft{'graph'} += s/\bcudaGraphMemsetNodeGetParams\b/hipGraphMemsetNodeGetParams/g; - $ft{'graph'} += s/\bcudaGraphMemsetNodeSetParams\b/hipGraphMemsetNodeSetParams/g; - $ft{'graph'} += s/\bcudaGraphNodeFindInClone\b/hipGraphNodeFindInClone/g; - $ft{'graph'} += s/\bcudaGraphNodeGetDependencies\b/hipGraphNodeGetDependencies/g; - $ft{'graph'} += s/\bcudaGraphNodeGetDependentNodes\b/hipGraphNodeGetDependentNodes/g; - $ft{'graph'} += s/\bcudaGraphNodeGetType\b/hipGraphNodeGetType/g; - $ft{'graph'} += s/\bcudaGraphRemoveDependencies\b/hipGraphRemoveDependencies/g; - $ft{'occupancy'} += s/\bcuOccupancyMaxActiveBlocksPerMultiprocessor\b/hipModuleOccupancyMaxActiveBlocksPerMultiprocessor/g; - $ft{'occupancy'} += s/\bcuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags\b/hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags/g; - $ft{'occupancy'} += s/\bcuOccupancyMaxPotentialBlockSize\b/hipModuleOccupancyMaxPotentialBlockSize/g; - $ft{'occupancy'} += s/\bcuOccupancyMaxPotentialBlockSizeWithFlags\b/hipModuleOccupancyMaxPotentialBlockSizeWithFlags/g; - $ft{'occupancy'} += s/\bcudaOccupancyMaxActiveBlocksPerMultiprocessor\b/hipOccupancyMaxActiveBlocksPerMultiprocessor/g; - $ft{'occupancy'} += s/\bcudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags\b/hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags/g; - $ft{'occupancy'} += s/\bcudaOccupancyMaxPotentialBlockSize\b/hipOccupancyMaxPotentialBlockSize/g; - $ft{'occupancy'} += s/\bcudaOccupancyMaxPotentialBlockSizeWithFlags\b/hipOccupancyMaxPotentialBlockSizeWithFlags/g; - $ft{'texture'} += s/\bcuTexObjectCreate\b/hipTexObjectCreate/g; - $ft{'texture'} += s/\bcuTexObjectDestroy\b/hipTexObjectDestroy/g; - $ft{'texture'} += s/\bcuTexObjectGetResourceDesc\b/hipTexObjectGetResourceDesc/g; - $ft{'texture'} += s/\bcuTexObjectGetResourceViewDesc\b/hipTexObjectGetResourceViewDesc/g; - $ft{'texture'} += s/\bcuTexObjectGetTextureDesc\b/hipTexObjectGetTextureDesc/g; - $ft{'texture'} += s/\bcuTexRefGetAddress\b/hipTexRefGetAddress/g; - $ft{'texture'} += s/\bcuTexRefGetAddressMode\b/hipTexRefGetAddressMode/g; - $ft{'texture'} += s/\bcuTexRefGetAddress_v2\b/hipTexRefGetAddress/g; - $ft{'texture'} += s/\bcuTexRefGetArray\b/hipTexRefGetArray/g; - $ft{'texture'} += s/\bcuTexRefGetFilterMode\b/hipTexRefGetFilterMode/g; - $ft{'texture'} += s/\bcuTexRefGetFlags\b/hipTexRefGetFlags/g; - $ft{'texture'} += s/\bcuTexRefGetFormat\b/hipTexRefGetFormat/g; - $ft{'texture'} += s/\bcuTexRefGetMaxAnisotropy\b/hipTexRefGetMaxAnisotropy/g; - $ft{'texture'} += s/\bcuTexRefGetMipmapFilterMode\b/hipTexRefGetMipmapFilterMode/g; - $ft{'texture'} += s/\bcuTexRefGetMipmapLevelBias\b/hipTexRefGetMipmapLevelBias/g; - $ft{'texture'} += s/\bcuTexRefGetMipmapLevelClamp\b/hipTexRefGetMipmapLevelClamp/g; - $ft{'texture'} += s/\bcuTexRefGetMipmappedArray\b/hipTexRefGetMipMappedArray/g; - $ft{'texture'} += s/\bcuTexRefSetAddress\b/hipTexRefSetAddress/g; - $ft{'texture'} += s/\bcuTexRefSetAddress2D\b/hipTexRefSetAddress2D/g; - $ft{'texture'} += s/\bcuTexRefSetAddress2D_v2\b/hipTexRefSetAddress2D/g; - $ft{'texture'} += s/\bcuTexRefSetAddress2D_v3\b/hipTexRefSetAddress2D/g; - $ft{'texture'} += s/\bcuTexRefSetAddressMode\b/hipTexRefSetAddressMode/g; - $ft{'texture'} += s/\bcuTexRefSetAddress_v2\b/hipTexRefSetAddress/g; - $ft{'texture'} += s/\bcuTexRefSetArray\b/hipTexRefSetArray/g; - $ft{'texture'} += s/\bcuTexRefSetBorderColor\b/hipTexRefSetBorderColor/g; - $ft{'texture'} += s/\bcuTexRefSetFilterMode\b/hipTexRefSetFilterMode/g; - $ft{'texture'} += s/\bcuTexRefSetFlags\b/hipTexRefSetFlags/g; - $ft{'texture'} += s/\bcuTexRefSetFormat\b/hipTexRefSetFormat/g; - $ft{'texture'} += s/\bcuTexRefSetMaxAnisotropy\b/hipTexRefSetMaxAnisotropy/g; - $ft{'texture'} += s/\bcuTexRefSetMipmapFilterMode\b/hipTexRefSetMipmapFilterMode/g; - $ft{'texture'} += s/\bcuTexRefSetMipmapLevelBias\b/hipTexRefSetMipmapLevelBias/g; - $ft{'texture'} += s/\bcuTexRefSetMipmapLevelClamp\b/hipTexRefSetMipmapLevelClamp/g; - $ft{'texture'} += s/\bcuTexRefSetMipmappedArray\b/hipTexRefSetMipmappedArray/g; - $ft{'texture'} += s/\bcudaBindTexture\b/hipBindTexture/g; - $ft{'texture'} += s/\bcudaBindTexture2D\b/hipBindTexture2D/g; - $ft{'texture'} += s/\bcudaBindTextureToArray\b/hipBindTextureToArray/g; - $ft{'texture'} += s/\bcudaBindTextureToMipmappedArray\b/hipBindTextureToMipmappedArray/g; - $ft{'texture'} += s/\bcudaCreateChannelDesc\b/hipCreateChannelDesc/g; - $ft{'texture'} += s/\bcudaCreateTextureObject\b/hipCreateTextureObject/g; - $ft{'texture'} += s/\bcudaDestroyTextureObject\b/hipDestroyTextureObject/g; - $ft{'texture'} += s/\bcudaGetChannelDesc\b/hipGetChannelDesc/g; - $ft{'texture'} += s/\bcudaGetTextureAlignmentOffset\b/hipGetTextureAlignmentOffset/g; - $ft{'texture'} += s/\bcudaGetTextureObjectResourceDesc\b/hipGetTextureObjectResourceDesc/g; - $ft{'texture'} += s/\bcudaGetTextureObjectResourceViewDesc\b/hipGetTextureObjectResourceViewDesc/g; - $ft{'texture'} += s/\bcudaGetTextureReference\b/hipGetTextureReference/g; - $ft{'texture'} += s/\bcudaUnbindTexture\b/hipUnbindTexture/g; - $ft{'surface'} += s/\bcudaCreateSurfaceObject\b/hipCreateSurfaceObject/g; - $ft{'surface'} += s/\bcudaDestroySurfaceObject\b/hipDestroySurfaceObject/g; - $ft{'peer'} += s/\bcuCtxDisablePeerAccess\b/hipCtxDisablePeerAccess/g; - $ft{'peer'} += s/\bcuCtxEnablePeerAccess\b/hipCtxEnablePeerAccess/g; - $ft{'peer'} += s/\bcuDeviceCanAccessPeer\b/hipDeviceCanAccessPeer/g; - $ft{'peer'} += s/\bcuDeviceGetP2PAttribute\b/hipDeviceGetP2PAttribute/g; - $ft{'peer'} += s/\bcudaDeviceCanAccessPeer\b/hipDeviceCanAccessPeer/g; - $ft{'peer'} += s/\bcudaDeviceDisablePeerAccess\b/hipDeviceDisablePeerAccess/g; - $ft{'peer'} += s/\bcudaDeviceEnablePeerAccess\b/hipDeviceEnablePeerAccess/g; - $ft{'graphics'} += s/\bcuGraphicsMapResources\b/hipGraphicsMapResources/g; - $ft{'graphics'} += s/\bcuGraphicsResourceGetMappedPointer\b/hipGraphicsResourceGetMappedPointer/g; - $ft{'graphics'} += s/\bcuGraphicsResourceGetMappedPointer_v2\b/hipGraphicsResourceGetMappedPointer/g; - $ft{'graphics'} += s/\bcuGraphicsUnmapResources\b/hipGraphicsUnmapResources/g; - $ft{'graphics'} += s/\bcuGraphicsUnregisterResource\b/hipGraphicsUnregisterResource/g; - $ft{'graphics'} += s/\bcudaGraphicsMapResources\b/hipGraphicsMapResources/g; - $ft{'graphics'} += s/\bcudaGraphicsResourceGetMappedPointer\b/hipGraphicsResourceGetMappedPointer/g; - $ft{'graphics'} += s/\bcudaGraphicsUnmapResources\b/hipGraphicsUnmapResources/g; - $ft{'graphics'} += s/\bcudaGraphicsUnregisterResource\b/hipGraphicsUnregisterResource/g; - $ft{'profiler'} += s/\bcuProfilerStart\b/hipProfilerStart/g; - $ft{'profiler'} += s/\bcuProfilerStop\b/hipProfilerStop/g; - $ft{'profiler'} += s/\bcudaProfilerStart\b/hipProfilerStart/g; - $ft{'profiler'} += s/\bcudaProfilerStop\b/hipProfilerStop/g; - $ft{'openGL'} += s/\bcuGLGetDevices\b/hipGLGetDevices/g; - $ft{'openGL'} += s/\bcuGraphicsGLRegisterBuffer\b/hipGraphicsGLRegisterBuffer/g; - $ft{'openGL'} += s/\bcudaGLGetDevices\b/hipGLGetDevices/g; - $ft{'openGL'} += s/\bcudaGraphicsGLRegisterBuffer\b/hipGraphicsGLRegisterBuffer/g; - $ft{'openGL'} += s/\bcudaGraphicsGLRegisterImage\b/hipGraphicsGLRegisterImage/g; - $ft{'thread'} += s/\bcudaThreadExit\b/hipDeviceReset/g; - $ft{'thread'} += s/\bcudaThreadGetCacheConfig\b/hipDeviceGetCacheConfig/g; - $ft{'thread'} += s/\bcudaThreadSetCacheConfig\b/hipDeviceSetCacheConfig/g; - $ft{'thread'} += s/\bcudaThreadSynchronize\b/hipDeviceSynchronize/g; - $ft{'complex'} += s/\bcuCabs\b/hipCabs/g; - $ft{'complex'} += s/\bcuCabsf\b/hipCabsf/g; - $ft{'complex'} += s/\bcuCadd\b/hipCadd/g; - $ft{'complex'} += s/\bcuCaddf\b/hipCaddf/g; - $ft{'complex'} += s/\bcuCdiv\b/hipCdiv/g; - $ft{'complex'} += s/\bcuCdivf\b/hipCdivf/g; - $ft{'complex'} += s/\bcuCfma\b/hipCfma/g; - $ft{'complex'} += s/\bcuCfmaf\b/hipCfmaf/g; - $ft{'complex'} += s/\bcuCimag\b/hipCimag/g; - $ft{'complex'} += s/\bcuCimagf\b/hipCimagf/g; - $ft{'complex'} += s/\bcuCmul\b/hipCmul/g; - $ft{'complex'} += s/\bcuCmulf\b/hipCmulf/g; - $ft{'complex'} += s/\bcuComplexDoubleToFloat\b/hipComplexDoubleToFloat/g; - $ft{'complex'} += s/\bcuComplexFloatToDouble\b/hipComplexFloatToDouble/g; - $ft{'complex'} += s/\bcuConj\b/hipConj/g; - $ft{'complex'} += s/\bcuConjf\b/hipConjf/g; - $ft{'complex'} += s/\bcuCreal\b/hipCreal/g; - $ft{'complex'} += s/\bcuCrealf\b/hipCrealf/g; - $ft{'complex'} += s/\bcuCsub\b/hipCsub/g; - $ft{'complex'} += s/\bcuCsubf\b/hipCsubf/g; - $ft{'complex'} += s/\bmake_cuComplex\b/make_hipComplex/g; - $ft{'complex'} += s/\bmake_cuDoubleComplex\b/make_hipDoubleComplex/g; - $ft{'complex'} += s/\bmake_cuFloatComplex\b/make_hipFloatComplex/g; - $ft{'library'} += s/\bcublasAxpyEx\b/hipblasAxpyEx/g; - $ft{'library'} += s/\bcublasCaxpy\b/hipblasCaxpy/g; - $ft{'library'} += s/\bcublasCaxpy_v2\b/hipblasCaxpy/g; - $ft{'library'} += s/\bcublasCcopy\b/hipblasCcopy/g; - $ft{'library'} += s/\bcublasCcopy_v2\b/hipblasCcopy/g; - $ft{'library'} += s/\bcublasCdgmm\b/hipblasCdgmm/g; - $ft{'library'} += s/\bcublasCdotc\b/hipblasCdotc/g; - $ft{'library'} += s/\bcublasCdotc_v2\b/hipblasCdotc/g; - $ft{'library'} += s/\bcublasCdotu\b/hipblasCdotu/g; - $ft{'library'} += s/\bcublasCdotu_v2\b/hipblasCdotu/g; - $ft{'library'} += s/\bcublasCgbmv\b/hipblasCgbmv/g; - $ft{'library'} += s/\bcublasCgbmv_v2\b/hipblasCgbmv/g; - $ft{'library'} += s/\bcublasCgeam\b/hipblasCgeam/g; - $ft{'library'} += s/\bcublasCgemm\b/hipblasCgemm/g; - $ft{'library'} += s/\bcublasCgemmBatched\b/hipblasCgemmBatched/g; - $ft{'library'} += s/\bcublasCgemmStridedBatched\b/hipblasCgemmStridedBatched/g; - $ft{'library'} += s/\bcublasCgemm_v2\b/hipblasCgemm/g; - $ft{'library'} += s/\bcublasCgemv\b/hipblasCgemv/g; - $ft{'library'} += s/\bcublasCgemv_v2\b/hipblasCgemv/g; - $ft{'library'} += s/\bcublasCgeqrfBatched\b/hipblasCgeqrfBatched/g; - $ft{'library'} += s/\bcublasCgerc\b/hipblasCgerc/g; - $ft{'library'} += s/\bcublasCgerc_v2\b/hipblasCgerc/g; - $ft{'library'} += s/\bcublasCgeru\b/hipblasCgeru/g; - $ft{'library'} += s/\bcublasCgeru_v2\b/hipblasCgeru/g; - $ft{'library'} += s/\bcublasCgetrfBatched\b/hipblasCgetrfBatched/g; - $ft{'library'} += s/\bcublasCgetriBatched\b/hipblasCgetriBatched/g; - $ft{'library'} += s/\bcublasCgetrsBatched\b/hipblasCgetrsBatched/g; - $ft{'library'} += s/\bcublasChbmv\b/hipblasChbmv/g; - $ft{'library'} += s/\bcublasChbmv_v2\b/hipblasChbmv/g; - $ft{'library'} += s/\bcublasChemm\b/hipblasChemm/g; - $ft{'library'} += s/\bcublasChemm_v2\b/hipblasChemm/g; - $ft{'library'} += s/\bcublasChemv\b/hipblasChemv/g; - $ft{'library'} += s/\bcublasChemv_v2\b/hipblasChemv/g; - $ft{'library'} += s/\bcublasCher\b/hipblasCher/g; - $ft{'library'} += s/\bcublasCher2\b/hipblasCher2/g; - $ft{'library'} += s/\bcublasCher2_v2\b/hipblasCher2/g; - $ft{'library'} += s/\bcublasCher2k\b/hipblasCher2k/g; - $ft{'library'} += s/\bcublasCher2k_v2\b/hipblasCher2k/g; - $ft{'library'} += s/\bcublasCher_v2\b/hipblasCher/g; - $ft{'library'} += s/\bcublasCherk\b/hipblasCherk/g; - $ft{'library'} += s/\bcublasCherk_v2\b/hipblasCherk/g; - $ft{'library'} += s/\bcublasCherkx\b/hipblasCherkx/g; - $ft{'library'} += s/\bcublasChpmv\b/hipblasChpmv/g; - $ft{'library'} += s/\bcublasChpmv_v2\b/hipblasChpmv/g; - $ft{'library'} += s/\bcublasChpr\b/hipblasChpr/g; - $ft{'library'} += s/\bcublasChpr2\b/hipblasChpr2/g; - $ft{'library'} += s/\bcublasChpr2_v2\b/hipblasChpr2/g; - $ft{'library'} += s/\bcublasChpr_v2\b/hipblasChpr/g; - $ft{'library'} += s/\bcublasCreate\b/hipblasCreate/g; - $ft{'library'} += s/\bcublasCreate_v2\b/hipblasCreate/g; - $ft{'library'} += s/\bcublasCrot\b/hipblasCrot/g; - $ft{'library'} += s/\bcublasCrot_v2\b/hipblasCrot/g; - $ft{'library'} += s/\bcublasCrotg\b/hipblasCrotg/g; - $ft{'library'} += s/\bcublasCrotg_v2\b/hipblasCrotg/g; - $ft{'library'} += s/\bcublasCscal\b/hipblasCscal/g; - $ft{'library'} += s/\bcublasCscal_v2\b/hipblasCscal/g; - $ft{'library'} += s/\bcublasCsrot\b/hipblasCsrot/g; - $ft{'library'} += s/\bcublasCsrot_v2\b/hipblasCsrot/g; - $ft{'library'} += s/\bcublasCsscal\b/hipblasCsscal/g; - $ft{'library'} += s/\bcublasCsscal_v2\b/hipblasCsscal/g; - $ft{'library'} += s/\bcublasCswap\b/hipblasCswap/g; - $ft{'library'} += s/\bcublasCswap_v2\b/hipblasCswap/g; - $ft{'library'} += s/\bcublasCsymm\b/hipblasCsymm/g; - $ft{'library'} += s/\bcublasCsymm_v2\b/hipblasCsymm/g; - $ft{'library'} += s/\bcublasCsymv\b/hipblasCsymv/g; - $ft{'library'} += s/\bcublasCsymv_v2\b/hipblasCsymv/g; - $ft{'library'} += s/\bcublasCsyr\b/hipblasCsyr/g; - $ft{'library'} += s/\bcublasCsyr2\b/hipblasCsyr2/g; - $ft{'library'} += s/\bcublasCsyr2_v2\b/hipblasCsyr2/g; - $ft{'library'} += s/\bcublasCsyr2k\b/hipblasCsyr2k/g; - $ft{'library'} += s/\bcublasCsyr2k_v2\b/hipblasCsyr2k/g; - $ft{'library'} += s/\bcublasCsyr_v2\b/hipblasCsyr/g; - $ft{'library'} += s/\bcublasCsyrk\b/hipblasCsyrk/g; - $ft{'library'} += s/\bcublasCsyrk_v2\b/hipblasCsyrk/g; - $ft{'library'} += s/\bcublasCsyrkx\b/hipblasCsyrkx/g; - $ft{'library'} += s/\bcublasCtbmv\b/hipblasCtbmv/g; - $ft{'library'} += s/\bcublasCtbmv_v2\b/hipblasCtbmv/g; - $ft{'library'} += s/\bcublasCtbsv\b/hipblasCtbsv/g; - $ft{'library'} += s/\bcublasCtbsv_v2\b/hipblasCtbsv/g; - $ft{'library'} += s/\bcublasCtpmv\b/hipblasCtpmv/g; - $ft{'library'} += s/\bcublasCtpmv_v2\b/hipblasCtpmv/g; - $ft{'library'} += s/\bcublasCtpsv\b/hipblasCtpsv/g; - $ft{'library'} += s/\bcublasCtpsv_v2\b/hipblasCtpsv/g; - $ft{'library'} += s/\bcublasCtrmm\b/hipblasCtrmm/g; - $ft{'library'} += s/\bcublasCtrmm_v2\b/hipblasCtrmm/g; - $ft{'library'} += s/\bcublasCtrmv\b/hipblasCtrmv/g; - $ft{'library'} += s/\bcublasCtrmv_v2\b/hipblasCtrmv/g; - $ft{'library'} += s/\bcublasCtrsm\b/hipblasCtrsm/g; - $ft{'library'} += s/\bcublasCtrsmBatched\b/hipblasCtrsmBatched/g; - $ft{'library'} += s/\bcublasCtrsm_v2\b/hipblasCtrsm/g; - $ft{'library'} += s/\bcublasCtrsv\b/hipblasCtrsv/g; - $ft{'library'} += s/\bcublasCtrsv_v2\b/hipblasCtrsv/g; - $ft{'library'} += s/\bcublasDasum\b/hipblasDasum/g; - $ft{'library'} += s/\bcublasDasum_v2\b/hipblasDasum/g; - $ft{'library'} += s/\bcublasDaxpy\b/hipblasDaxpy/g; - $ft{'library'} += s/\bcublasDaxpy_v2\b/hipblasDaxpy/g; - $ft{'library'} += s/\bcublasDcopy\b/hipblasDcopy/g; - $ft{'library'} += s/\bcublasDcopy_v2\b/hipblasDcopy/g; - $ft{'library'} += s/\bcublasDdgmm\b/hipblasDdgmm/g; - $ft{'library'} += s/\bcublasDdot\b/hipblasDdot/g; - $ft{'library'} += s/\bcublasDdot_v2\b/hipblasDdot/g; - $ft{'library'} += s/\bcublasDestroy\b/hipblasDestroy/g; - $ft{'library'} += s/\bcublasDestroy_v2\b/hipblasDestroy/g; - $ft{'library'} += s/\bcublasDgbmv\b/hipblasDgbmv/g; - $ft{'library'} += s/\bcublasDgbmv_v2\b/hipblasDgbmv/g; - $ft{'library'} += s/\bcublasDgeam\b/hipblasDgeam/g; - $ft{'library'} += s/\bcublasDgemm\b/hipblasDgemm/g; - $ft{'library'} += s/\bcublasDgemmBatched\b/hipblasDgemmBatched/g; - $ft{'library'} += s/\bcublasDgemmStridedBatched\b/hipblasDgemmStridedBatched/g; - $ft{'library'} += s/\bcublasDgemm_v2\b/hipblasDgemm/g; - $ft{'library'} += s/\bcublasDgemv\b/hipblasDgemv/g; - $ft{'library'} += s/\bcublasDgemv_v2\b/hipblasDgemv/g; - $ft{'library'} += s/\bcublasDgeqrfBatched\b/hipblasDgeqrfBatched/g; - $ft{'library'} += s/\bcublasDger\b/hipblasDger/g; - $ft{'library'} += s/\bcublasDger_v2\b/hipblasDger/g; - $ft{'library'} += s/\bcublasDgetrfBatched\b/hipblasDgetrfBatched/g; - $ft{'library'} += s/\bcublasDgetriBatched\b/hipblasDgetriBatched/g; - $ft{'library'} += s/\bcublasDgetrsBatched\b/hipblasDgetrsBatched/g; - $ft{'library'} += s/\bcublasDnrm2\b/hipblasDnrm2/g; - $ft{'library'} += s/\bcublasDnrm2_v2\b/hipblasDnrm2/g; - $ft{'library'} += s/\bcublasDotEx\b/hipblasDotEx/g; - $ft{'library'} += s/\bcublasDotcEx\b/hipblasDotcEx/g; - $ft{'library'} += s/\bcublasDrot\b/hipblasDrot/g; - $ft{'library'} += s/\bcublasDrot_v2\b/hipblasDrot/g; - $ft{'library'} += s/\bcublasDrotg\b/hipblasDrotg/g; - $ft{'library'} += s/\bcublasDrotg_v2\b/hipblasDrotg/g; - $ft{'library'} += s/\bcublasDrotm\b/hipblasDrotm/g; - $ft{'library'} += s/\bcublasDrotm_v2\b/hipblasDrotm/g; - $ft{'library'} += s/\bcublasDrotmg\b/hipblasDrotmg/g; - $ft{'library'} += s/\bcublasDrotmg_v2\b/hipblasDrotmg/g; - $ft{'library'} += s/\bcublasDsbmv\b/hipblasDsbmv/g; - $ft{'library'} += s/\bcublasDsbmv_v2\b/hipblasDsbmv/g; - $ft{'library'} += s/\bcublasDscal\b/hipblasDscal/g; - $ft{'library'} += s/\bcublasDscal_v2\b/hipblasDscal/g; - $ft{'library'} += s/\bcublasDspmv\b/hipblasDspmv/g; - $ft{'library'} += s/\bcublasDspmv_v2\b/hipblasDspmv/g; - $ft{'library'} += s/\bcublasDspr\b/hipblasDspr/g; - $ft{'library'} += s/\bcublasDspr2\b/hipblasDspr2/g; - $ft{'library'} += s/\bcublasDspr2_v2\b/hipblasDspr2/g; - $ft{'library'} += s/\bcublasDspr_v2\b/hipblasDspr/g; - $ft{'library'} += s/\bcublasDswap\b/hipblasDswap/g; - $ft{'library'} += s/\bcublasDswap_v2\b/hipblasDswap/g; - $ft{'library'} += s/\bcublasDsymm\b/hipblasDsymm/g; - $ft{'library'} += s/\bcublasDsymm_v2\b/hipblasDsymm/g; - $ft{'library'} += s/\bcublasDsymv\b/hipblasDsymv/g; - $ft{'library'} += s/\bcublasDsymv_v2\b/hipblasDsymv/g; - $ft{'library'} += s/\bcublasDsyr\b/hipblasDsyr/g; - $ft{'library'} += s/\bcublasDsyr2\b/hipblasDsyr2/g; - $ft{'library'} += s/\bcublasDsyr2_v2\b/hipblasDsyr2/g; - $ft{'library'} += s/\bcublasDsyr2k\b/hipblasDsyr2k/g; - $ft{'library'} += s/\bcublasDsyr2k_v2\b/hipblasDsyr2k/g; - $ft{'library'} += s/\bcublasDsyr_v2\b/hipblasDsyr/g; - $ft{'library'} += s/\bcublasDsyrk\b/hipblasDsyrk/g; - $ft{'library'} += s/\bcublasDsyrk_v2\b/hipblasDsyrk/g; - $ft{'library'} += s/\bcublasDsyrkx\b/hipblasDsyrkx/g; - $ft{'library'} += s/\bcublasDtbmv\b/hipblasDtbmv/g; - $ft{'library'} += s/\bcublasDtbmv_v2\b/hipblasDtbmv/g; - $ft{'library'} += s/\bcublasDtbsv\b/hipblasDtbsv/g; - $ft{'library'} += s/\bcublasDtbsv_v2\b/hipblasDtbsv/g; - $ft{'library'} += s/\bcublasDtpmv\b/hipblasDtpmv/g; - $ft{'library'} += s/\bcublasDtpmv_v2\b/hipblasDtpmv/g; - $ft{'library'} += s/\bcublasDtpsv\b/hipblasDtpsv/g; - $ft{'library'} += s/\bcublasDtpsv_v2\b/hipblasDtpsv/g; - $ft{'library'} += s/\bcublasDtrmm\b/hipblasDtrmm/g; - $ft{'library'} += s/\bcublasDtrmm_v2\b/hipblasDtrmm/g; - $ft{'library'} += s/\bcublasDtrmv\b/hipblasDtrmv/g; - $ft{'library'} += s/\bcublasDtrmv_v2\b/hipblasDtrmv/g; - $ft{'library'} += s/\bcublasDtrsm\b/hipblasDtrsm/g; - $ft{'library'} += s/\bcublasDtrsmBatched\b/hipblasDtrsmBatched/g; - $ft{'library'} += s/\bcublasDtrsm_v2\b/hipblasDtrsm/g; - $ft{'library'} += s/\bcublasDtrsv\b/hipblasDtrsv/g; - $ft{'library'} += s/\bcublasDtrsv_v2\b/hipblasDtrsv/g; - $ft{'library'} += s/\bcublasDzasum\b/hipblasDzasum/g; - $ft{'library'} += s/\bcublasDzasum_v2\b/hipblasDzasum/g; - $ft{'library'} += s/\bcublasDznrm2\b/hipblasDznrm2/g; - $ft{'library'} += s/\bcublasDznrm2_v2\b/hipblasDznrm2/g; - $ft{'library'} += s/\bcublasGemmBatchedEx\b/hipblasGemmBatchedEx/g; - $ft{'library'} += s/\bcublasGemmEx\b/hipblasGemmEx/g; - $ft{'library'} += s/\bcublasGemmStridedBatchedEx\b/hipblasGemmStridedBatchedEx/g; - $ft{'library'} += s/\bcublasGetAtomicsMode\b/hipblasGetAtomicsMode/g; - $ft{'library'} += s/\bcublasGetMatrix\b/hipblasGetMatrix/g; - $ft{'library'} += s/\bcublasGetMatrixAsync\b/hipblasGetMatrixAsync/g; - $ft{'library'} += s/\bcublasGetPointerMode\b/hipblasGetPointerMode/g; - $ft{'library'} += s/\bcublasGetPointerMode_v2\b/hipblasGetPointerMode/g; - $ft{'library'} += s/\bcublasGetStream\b/hipblasGetStream/g; - $ft{'library'} += s/\bcublasGetStream_v2\b/hipblasGetStream/g; - $ft{'library'} += s/\bcublasGetVector\b/hipblasGetVector/g; - $ft{'library'} += s/\bcublasGetVectorAsync\b/hipblasGetVectorAsync/g; - $ft{'library'} += s/\bcublasHgemm\b/hipblasHgemm/g; - $ft{'library'} += s/\bcublasHgemmBatched\b/hipblasHgemmBatched/g; - $ft{'library'} += s/\bcublasHgemmStridedBatched\b/hipblasHgemmStridedBatched/g; - $ft{'library'} += s/\bcublasIcamax\b/hipblasIcamax/g; - $ft{'library'} += s/\bcublasIcamax_v2\b/hipblasIcamax/g; - $ft{'library'} += s/\bcublasIcamin\b/hipblasIcamin/g; - $ft{'library'} += s/\bcublasIcamin_v2\b/hipblasIcamin/g; - $ft{'library'} += s/\bcublasIdamax\b/hipblasIdamax/g; - $ft{'library'} += s/\bcublasIdamax_v2\b/hipblasIdamax/g; - $ft{'library'} += s/\bcublasIdamin\b/hipblasIdamin/g; - $ft{'library'} += s/\bcublasIdamin_v2\b/hipblasIdamin/g; - $ft{'library'} += s/\bcublasIsamax\b/hipblasIsamax/g; - $ft{'library'} += s/\bcublasIsamax_v2\b/hipblasIsamax/g; - $ft{'library'} += s/\bcublasIsamin\b/hipblasIsamin/g; - $ft{'library'} += s/\bcublasIsamin_v2\b/hipblasIsamin/g; - $ft{'library'} += s/\bcublasIzamax\b/hipblasIzamax/g; - $ft{'library'} += s/\bcublasIzamax_v2\b/hipblasIzamax/g; - $ft{'library'} += s/\bcublasIzamin\b/hipblasIzamin/g; - $ft{'library'} += s/\bcublasIzamin_v2\b/hipblasIzamin/g; - $ft{'library'} += s/\bcublasNrm2Ex\b/hipblasNrm2Ex/g; - $ft{'library'} += s/\bcublasRotEx\b/hipblasRotEx/g; - $ft{'library'} += s/\bcublasSasum\b/hipblasSasum/g; - $ft{'library'} += s/\bcublasSasum_v2\b/hipblasSasum/g; - $ft{'library'} += s/\bcublasSaxpy\b/hipblasSaxpy/g; - $ft{'library'} += s/\bcublasSaxpy_v2\b/hipblasSaxpy/g; - $ft{'library'} += s/\bcublasScalEx\b/hipblasScalEx/g; - $ft{'library'} += s/\bcublasScasum\b/hipblasScasum/g; - $ft{'library'} += s/\bcublasScasum_v2\b/hipblasScasum/g; - $ft{'library'} += s/\bcublasScnrm2\b/hipblasScnrm2/g; - $ft{'library'} += s/\bcublasScnrm2_v2\b/hipblasScnrm2/g; - $ft{'library'} += s/\bcublasScopy\b/hipblasScopy/g; - $ft{'library'} += s/\bcublasScopy_v2\b/hipblasScopy/g; - $ft{'library'} += s/\bcublasSdgmm\b/hipblasSdgmm/g; - $ft{'library'} += s/\bcublasSdot\b/hipblasSdot/g; - $ft{'library'} += s/\bcublasSdot_v2\b/hipblasSdot/g; - $ft{'library'} += s/\bcublasSetAtomicsMode\b/hipblasSetAtomicsMode/g; - $ft{'library'} += s/\bcublasSetMatrix\b/hipblasSetMatrix/g; - $ft{'library'} += s/\bcublasSetMatrixAsync\b/hipblasSetMatrixAsync/g; - $ft{'library'} += s/\bcublasSetPointerMode\b/hipblasSetPointerMode/g; - $ft{'library'} += s/\bcublasSetPointerMode_v2\b/hipblasSetPointerMode/g; - $ft{'library'} += s/\bcublasSetStream\b/hipblasSetStream/g; - $ft{'library'} += s/\bcublasSetStream_v2\b/hipblasSetStream/g; - $ft{'library'} += s/\bcublasSetVector\b/hipblasSetVector/g; - $ft{'library'} += s/\bcublasSetVectorAsync\b/hipblasSetVectorAsync/g; - $ft{'library'} += s/\bcublasSgbmv\b/hipblasSgbmv/g; - $ft{'library'} += s/\bcublasSgbmv_v2\b/hipblasSgbmv/g; - $ft{'library'} += s/\bcublasSgeam\b/hipblasSgeam/g; - $ft{'library'} += s/\bcublasSgemm\b/hipblasSgemm/g; - $ft{'library'} += s/\bcublasSgemmBatched\b/hipblasSgemmBatched/g; - $ft{'library'} += s/\bcublasSgemmStridedBatched\b/hipblasSgemmStridedBatched/g; - $ft{'library'} += s/\bcublasSgemm_v2\b/hipblasSgemm/g; - $ft{'library'} += s/\bcublasSgemv\b/hipblasSgemv/g; - $ft{'library'} += s/\bcublasSgemv_v2\b/hipblasSgemv/g; - $ft{'library'} += s/\bcublasSgeqrfBatched\b/hipblasSgeqrfBatched/g; - $ft{'library'} += s/\bcublasSger\b/hipblasSger/g; - $ft{'library'} += s/\bcublasSger_v2\b/hipblasSger/g; - $ft{'library'} += s/\bcublasSgetrfBatched\b/hipblasSgetrfBatched/g; - $ft{'library'} += s/\bcublasSgetriBatched\b/hipblasSgetriBatched/g; - $ft{'library'} += s/\bcublasSgetrsBatched\b/hipblasSgetrsBatched/g; - $ft{'library'} += s/\bcublasSnrm2\b/hipblasSnrm2/g; - $ft{'library'} += s/\bcublasSnrm2_v2\b/hipblasSnrm2/g; - $ft{'library'} += s/\bcublasSrot\b/hipblasSrot/g; - $ft{'library'} += s/\bcublasSrot_v2\b/hipblasSrot/g; - $ft{'library'} += s/\bcublasSrotg\b/hipblasSrotg/g; - $ft{'library'} += s/\bcublasSrotg_v2\b/hipblasSrotg/g; - $ft{'library'} += s/\bcublasSrotm\b/hipblasSrotm/g; - $ft{'library'} += s/\bcublasSrotm_v2\b/hipblasSrotm/g; - $ft{'library'} += s/\bcublasSrotmg\b/hipblasSrotmg/g; - $ft{'library'} += s/\bcublasSrotmg_v2\b/hipblasSrotmg/g; - $ft{'library'} += s/\bcublasSsbmv\b/hipblasSsbmv/g; - $ft{'library'} += s/\bcublasSsbmv_v2\b/hipblasSsbmv/g; - $ft{'library'} += s/\bcublasSscal\b/hipblasSscal/g; - $ft{'library'} += s/\bcublasSscal_v2\b/hipblasSscal/g; - $ft{'library'} += s/\bcublasSspmv\b/hipblasSspmv/g; - $ft{'library'} += s/\bcublasSspmv_v2\b/hipblasSspmv/g; - $ft{'library'} += s/\bcublasSspr\b/hipblasSspr/g; - $ft{'library'} += s/\bcublasSspr2\b/hipblasSspr2/g; - $ft{'library'} += s/\bcublasSspr2_v2\b/hipblasSspr2/g; - $ft{'library'} += s/\bcublasSspr_v2\b/hipblasSspr/g; - $ft{'library'} += s/\bcublasSswap\b/hipblasSswap/g; - $ft{'library'} += s/\bcublasSswap_v2\b/hipblasSswap/g; - $ft{'library'} += s/\bcublasSsymm\b/hipblasSsymm/g; - $ft{'library'} += s/\bcublasSsymm_v2\b/hipblasSsymm/g; - $ft{'library'} += s/\bcublasSsymv\b/hipblasSsymv/g; - $ft{'library'} += s/\bcublasSsymv_v2\b/hipblasSsymv/g; - $ft{'library'} += s/\bcublasSsyr\b/hipblasSsyr/g; - $ft{'library'} += s/\bcublasSsyr2\b/hipblasSsyr2/g; - $ft{'library'} += s/\bcublasSsyr2_v2\b/hipblasSsyr2/g; - $ft{'library'} += s/\bcublasSsyr2k\b/hipblasSsyr2k/g; - $ft{'library'} += s/\bcublasSsyr2k_v2\b/hipblasSsyr2k/g; - $ft{'library'} += s/\bcublasSsyr_v2\b/hipblasSsyr/g; - $ft{'library'} += s/\bcublasSsyrk\b/hipblasSsyrk/g; - $ft{'library'} += s/\bcublasSsyrk_v2\b/hipblasSsyrk/g; - $ft{'library'} += s/\bcublasSsyrkx\b/hipblasSsyrkx/g; - $ft{'library'} += s/\bcublasStbmv\b/hipblasStbmv/g; - $ft{'library'} += s/\bcublasStbmv_v2\b/hipblasStbmv/g; - $ft{'library'} += s/\bcublasStbsv\b/hipblasStbsv/g; - $ft{'library'} += s/\bcublasStbsv_v2\b/hipblasStbsv/g; - $ft{'library'} += s/\bcublasStpmv\b/hipblasStpmv/g; - $ft{'library'} += s/\bcublasStpmv_v2\b/hipblasStpmv/g; - $ft{'library'} += s/\bcublasStpsv\b/hipblasStpsv/g; - $ft{'library'} += s/\bcublasStpsv_v2\b/hipblasStpsv/g; - $ft{'library'} += s/\bcublasStrmm\b/hipblasStrmm/g; - $ft{'library'} += s/\bcublasStrmm_v2\b/hipblasStrmm/g; - $ft{'library'} += s/\bcublasStrmv\b/hipblasStrmv/g; - $ft{'library'} += s/\bcublasStrmv_v2\b/hipblasStrmv/g; - $ft{'library'} += s/\bcublasStrsm\b/hipblasStrsm/g; - $ft{'library'} += s/\bcublasStrsmBatched\b/hipblasStrsmBatched/g; - $ft{'library'} += s/\bcublasStrsm_v2\b/hipblasStrsm/g; - $ft{'library'} += s/\bcublasStrsv\b/hipblasStrsv/g; - $ft{'library'} += s/\bcublasStrsv_v2\b/hipblasStrsv/g; - $ft{'library'} += s/\bcublasZaxpy\b/hipblasZaxpy/g; - $ft{'library'} += s/\bcublasZaxpy_v2\b/hipblasZaxpy/g; - $ft{'library'} += s/\bcublasZcopy\b/hipblasZcopy/g; - $ft{'library'} += s/\bcublasZcopy_v2\b/hipblasZcopy/g; - $ft{'library'} += s/\bcublasZdgmm\b/hipblasZdgmm/g; - $ft{'library'} += s/\bcublasZdotc\b/hipblasZdotc/g; - $ft{'library'} += s/\bcublasZdotc_v2\b/hipblasZdotc/g; - $ft{'library'} += s/\bcublasZdotu\b/hipblasZdotu/g; - $ft{'library'} += s/\bcublasZdotu_v2\b/hipblasZdotu/g; - $ft{'library'} += s/\bcublasZdrot\b/hipblasZdrot/g; - $ft{'library'} += s/\bcublasZdrot_v2\b/hipblasZdrot/g; - $ft{'library'} += s/\bcublasZdscal\b/hipblasZdscal/g; - $ft{'library'} += s/\bcublasZdscal_v2\b/hipblasZdscal/g; - $ft{'library'} += s/\bcublasZgbmv\b/hipblasZgbmv/g; - $ft{'library'} += s/\bcublasZgbmv_v2\b/hipblasZgbmv/g; - $ft{'library'} += s/\bcublasZgeam\b/hipblasZgeam/g; - $ft{'library'} += s/\bcublasZgemm\b/hipblasZgemm/g; - $ft{'library'} += s/\bcublasZgemmBatched\b/hipblasZgemmBatched/g; - $ft{'library'} += s/\bcublasZgemmStridedBatched\b/hipblasZgemmStridedBatched/g; - $ft{'library'} += s/\bcublasZgemm_v2\b/hipblasZgemm/g; - $ft{'library'} += s/\bcublasZgemv\b/hipblasZgemv/g; - $ft{'library'} += s/\bcublasZgemv_v2\b/hipblasZgemv/g; - $ft{'library'} += s/\bcublasZgeqrfBatched\b/hipblasZgeqrfBatched/g; - $ft{'library'} += s/\bcublasZgerc\b/hipblasZgerc/g; - $ft{'library'} += s/\bcublasZgerc_v2\b/hipblasZgerc/g; - $ft{'library'} += s/\bcublasZgeru\b/hipblasZgeru/g; - $ft{'library'} += s/\bcublasZgeru_v2\b/hipblasZgeru/g; - $ft{'library'} += s/\bcublasZgetrfBatched\b/hipblasZgetrfBatched/g; - $ft{'library'} += s/\bcublasZgetriBatched\b/hipblasZgetriBatched/g; - $ft{'library'} += s/\bcublasZgetrsBatched\b/hipblasZgetrsBatched/g; - $ft{'library'} += s/\bcublasZhbmv\b/hipblasZhbmv/g; - $ft{'library'} += s/\bcublasZhbmv_v2\b/hipblasZhbmv/g; - $ft{'library'} += s/\bcublasZhemm\b/hipblasZhemm/g; - $ft{'library'} += s/\bcublasZhemm_v2\b/hipblasZhemm/g; - $ft{'library'} += s/\bcublasZhemv\b/hipblasZhemv/g; - $ft{'library'} += s/\bcublasZhemv_v2\b/hipblasZhemv/g; - $ft{'library'} += s/\bcublasZher\b/hipblasZher/g; - $ft{'library'} += s/\bcublasZher2\b/hipblasZher2/g; - $ft{'library'} += s/\bcublasZher2_v2\b/hipblasZher2/g; - $ft{'library'} += s/\bcublasZher2k\b/hipblasZher2k/g; - $ft{'library'} += s/\bcublasZher2k_v2\b/hipblasZher2k/g; - $ft{'library'} += s/\bcublasZher_v2\b/hipblasZher/g; - $ft{'library'} += s/\bcublasZherk\b/hipblasZherk/g; - $ft{'library'} += s/\bcublasZherk_v2\b/hipblasZherk/g; - $ft{'library'} += s/\bcublasZherkx\b/hipblasZherkx/g; - $ft{'library'} += s/\bcublasZhpmv\b/hipblasZhpmv/g; - $ft{'library'} += s/\bcublasZhpmv_v2\b/hipblasZhpmv/g; - $ft{'library'} += s/\bcublasZhpr\b/hipblasZhpr/g; - $ft{'library'} += s/\bcublasZhpr2\b/hipblasZhpr2/g; - $ft{'library'} += s/\bcublasZhpr2_v2\b/hipblasZhpr2/g; - $ft{'library'} += s/\bcublasZhpr_v2\b/hipblasZhpr/g; - $ft{'library'} += s/\bcublasZrot\b/hipblasZrot/g; - $ft{'library'} += s/\bcublasZrot_v2\b/hipblasZrot/g; - $ft{'library'} += s/\bcublasZrotg\b/hipblasZrotg/g; - $ft{'library'} += s/\bcublasZrotg_v2\b/hipblasZrotg/g; - $ft{'library'} += s/\bcublasZscal\b/hipblasZscal/g; - $ft{'library'} += s/\bcublasZscal_v2\b/hipblasZscal/g; - $ft{'library'} += s/\bcublasZswap\b/hipblasZswap/g; - $ft{'library'} += s/\bcublasZswap_v2\b/hipblasZswap/g; - $ft{'library'} += s/\bcublasZsymm\b/hipblasZsymm/g; - $ft{'library'} += s/\bcublasZsymm_v2\b/hipblasZsymm/g; - $ft{'library'} += s/\bcublasZsymv\b/hipblasZsymv/g; - $ft{'library'} += s/\bcublasZsymv_v2\b/hipblasZsymv/g; - $ft{'library'} += s/\bcublasZsyr\b/hipblasZsyr/g; - $ft{'library'} += s/\bcublasZsyr2\b/hipblasZsyr2/g; - $ft{'library'} += s/\bcublasZsyr2_v2\b/hipblasZsyr2/g; - $ft{'library'} += s/\bcublasZsyr2k\b/hipblasZsyr2k/g; - $ft{'library'} += s/\bcublasZsyr2k_v2\b/hipblasZsyr2k/g; - $ft{'library'} += s/\bcublasZsyr_v2\b/hipblasZsyr/g; - $ft{'library'} += s/\bcublasZsyrk\b/hipblasZsyrk/g; - $ft{'library'} += s/\bcublasZsyrk_v2\b/hipblasZsyrk/g; - $ft{'library'} += s/\bcublasZsyrkx\b/hipblasZsyrkx/g; - $ft{'library'} += s/\bcublasZtbmv\b/hipblasZtbmv/g; - $ft{'library'} += s/\bcublasZtbmv_v2\b/hipblasZtbmv/g; - $ft{'library'} += s/\bcublasZtbsv\b/hipblasZtbsv/g; - $ft{'library'} += s/\bcublasZtbsv_v2\b/hipblasZtbsv/g; - $ft{'library'} += s/\bcublasZtpmv\b/hipblasZtpmv/g; - $ft{'library'} += s/\bcublasZtpmv_v2\b/hipblasZtpmv/g; - $ft{'library'} += s/\bcublasZtpsv\b/hipblasZtpsv/g; - $ft{'library'} += s/\bcublasZtpsv_v2\b/hipblasZtpsv/g; - $ft{'library'} += s/\bcublasZtrmm\b/hipblasZtrmm/g; - $ft{'library'} += s/\bcublasZtrmm_v2\b/hipblasZtrmm/g; - $ft{'library'} += s/\bcublasZtrmv\b/hipblasZtrmv/g; - $ft{'library'} += s/\bcublasZtrmv_v2\b/hipblasZtrmv/g; - $ft{'library'} += s/\bcublasZtrsm\b/hipblasZtrsm/g; - $ft{'library'} += s/\bcublasZtrsmBatched\b/hipblasZtrsmBatched/g; - $ft{'library'} += s/\bcublasZtrsm_v2\b/hipblasZtrsm/g; - $ft{'library'} += s/\bcublasZtrsv\b/hipblasZtrsv/g; - $ft{'library'} += s/\bcublasZtrsv_v2\b/hipblasZtrsv/g; - $ft{'library'} += s/\bcuda_stream\b/hip_stream/g; - $ft{'library'} += s/\bcudnnActivationBackward\b/hipdnnActivationBackward/g; - $ft{'library'} += s/\bcudnnActivationForward\b/hipdnnActivationForward/g; - $ft{'library'} += s/\bcudnnAddTensor\b/hipdnnAddTensor/g; - $ft{'library'} += s/\bcudnnBatchNormalizationBackward\b/hipdnnBatchNormalizationBackward/g; - $ft{'library'} += s/\bcudnnBatchNormalizationForwardInference\b/hipdnnBatchNormalizationForwardInference/g; - $ft{'library'} += s/\bcudnnBatchNormalizationForwardTraining\b/hipdnnBatchNormalizationForwardTraining/g; - $ft{'library'} += s/\bcudnnConvolutionBackwardBias\b/hipdnnConvolutionBackwardBias/g; - $ft{'library'} += s/\bcudnnConvolutionBackwardData\b/hipdnnConvolutionBackwardData/g; - $ft{'library'} += s/\bcudnnConvolutionBackwardFilter\b/hipdnnConvolutionBackwardFilter/g; - $ft{'library'} += s/\bcudnnConvolutionForward\b/hipdnnConvolutionForward/g; - $ft{'library'} += s/\bcudnnCreate\b/hipdnnCreate/g; - $ft{'library'} += s/\bcudnnCreateActivationDescriptor\b/hipdnnCreateActivationDescriptor/g; - $ft{'library'} += s/\bcudnnCreateConvolutionDescriptor\b/hipdnnCreateConvolutionDescriptor/g; - $ft{'library'} += s/\bcudnnCreateDropoutDescriptor\b/hipdnnCreateDropoutDescriptor/g; - $ft{'library'} += s/\bcudnnCreateFilterDescriptor\b/hipdnnCreateFilterDescriptor/g; - $ft{'library'} += s/\bcudnnCreateLRNDescriptor\b/hipdnnCreateLRNDescriptor/g; - $ft{'library'} += s/\bcudnnCreateOpTensorDescriptor\b/hipdnnCreateOpTensorDescriptor/g; - $ft{'library'} += s/\bcudnnCreatePersistentRNNPlan\b/hipdnnCreatePersistentRNNPlan/g; - $ft{'library'} += s/\bcudnnCreatePoolingDescriptor\b/hipdnnCreatePoolingDescriptor/g; - $ft{'library'} += s/\bcudnnCreateRNNDescriptor\b/hipdnnCreateRNNDescriptor/g; - $ft{'library'} += s/\bcudnnCreateReduceTensorDescriptor\b/hipdnnCreateReduceTensorDescriptor/g; - $ft{'library'} += s/\bcudnnCreateTensorDescriptor\b/hipdnnCreateTensorDescriptor/g; - $ft{'library'} += s/\bcudnnDeriveBNTensorDescriptor\b/hipdnnDeriveBNTensorDescriptor/g; - $ft{'library'} += s/\bcudnnDestroy\b/hipdnnDestroy/g; - $ft{'library'} += s/\bcudnnDestroyActivationDescriptor\b/hipdnnDestroyActivationDescriptor/g; - $ft{'library'} += s/\bcudnnDestroyConvolutionDescriptor\b/hipdnnDestroyConvolutionDescriptor/g; - $ft{'library'} += s/\bcudnnDestroyDropoutDescriptor\b/hipdnnDestroyDropoutDescriptor/g; - $ft{'library'} += s/\bcudnnDestroyFilterDescriptor\b/hipdnnDestroyFilterDescriptor/g; - $ft{'library'} += s/\bcudnnDestroyLRNDescriptor\b/hipdnnDestroyLRNDescriptor/g; - $ft{'library'} += s/\bcudnnDestroyOpTensorDescriptor\b/hipdnnDestroyOpTensorDescriptor/g; - $ft{'library'} += s/\bcudnnDestroyPersistentRNNPlan\b/hipdnnDestroyPersistentRNNPlan/g; - $ft{'library'} += s/\bcudnnDestroyPoolingDescriptor\b/hipdnnDestroyPoolingDescriptor/g; - $ft{'library'} += s/\bcudnnDestroyRNNDescriptor\b/hipdnnDestroyRNNDescriptor/g; - $ft{'library'} += s/\bcudnnDestroyReduceTensorDescriptor\b/hipdnnDestroyReduceTensorDescriptor/g; - $ft{'library'} += s/\bcudnnDestroyTensorDescriptor\b/hipdnnDestroyTensorDescriptor/g; - $ft{'library'} += s/\bcudnnDropoutGetStatesSize\b/hipdnnDropoutGetStatesSize/g; - $ft{'library'} += s/\bcudnnFindConvolutionBackwardDataAlgorithm\b/hipdnnFindConvolutionBackwardDataAlgorithm/g; - $ft{'library'} += s/\bcudnnFindConvolutionBackwardDataAlgorithmEx\b/hipdnnFindConvolutionBackwardDataAlgorithmEx/g; - $ft{'library'} += s/\bcudnnFindConvolutionBackwardFilterAlgorithm\b/hipdnnFindConvolutionBackwardFilterAlgorithm/g; - $ft{'library'} += s/\bcudnnFindConvolutionBackwardFilterAlgorithmEx\b/hipdnnFindConvolutionBackwardFilterAlgorithmEx/g; - $ft{'library'} += s/\bcudnnFindConvolutionForwardAlgorithm\b/hipdnnFindConvolutionForwardAlgorithm/g; - $ft{'library'} += s/\bcudnnFindConvolutionForwardAlgorithmEx\b/hipdnnFindConvolutionForwardAlgorithmEx/g; - $ft{'library'} += s/\bcudnnGetActivationDescriptor\b/hipdnnGetActivationDescriptor/g; - $ft{'library'} += s/\bcudnnGetConvolution2dDescriptor\b/hipdnnGetConvolution2dDescriptor/g; - $ft{'library'} += s/\bcudnnGetConvolution2dForwardOutputDim\b/hipdnnGetConvolution2dForwardOutputDim/g; - $ft{'library'} += s/\bcudnnGetConvolutionBackwardDataAlgorithm\b/hipdnnGetConvolutionBackwardDataAlgorithm/g; - $ft{'library'} += s/\bcudnnGetConvolutionBackwardDataWorkspaceSize\b/hipdnnGetConvolutionBackwardDataWorkspaceSize/g; - $ft{'library'} += s/\bcudnnGetConvolutionBackwardFilterAlgorithm\b/hipdnnGetConvolutionBackwardFilterAlgorithm/g; - $ft{'library'} += s/\bcudnnGetConvolutionBackwardFilterWorkspaceSize\b/hipdnnGetConvolutionBackwardFilterWorkspaceSize/g; - $ft{'library'} += s/\bcudnnGetConvolutionForwardAlgorithm\b/hipdnnGetConvolutionForwardAlgorithm/g; - $ft{'library'} += s/\bcudnnGetConvolutionForwardWorkspaceSize\b/hipdnnGetConvolutionForwardWorkspaceSize/g; - $ft{'library'} += s/\bcudnnGetErrorString\b/hipdnnGetErrorString/g; - $ft{'library'} += s/\bcudnnGetFilter4dDescriptor\b/hipdnnGetFilter4dDescriptor/g; - $ft{'library'} += s/\bcudnnGetFilterNdDescriptor\b/hipdnnGetFilterNdDescriptor/g; - $ft{'library'} += s/\bcudnnGetLRNDescriptor\b/hipdnnGetLRNDescriptor/g; - $ft{'library'} += s/\bcudnnGetOpTensorDescriptor\b/hipdnnGetOpTensorDescriptor/g; - $ft{'library'} += s/\bcudnnGetPooling2dDescriptor\b/hipdnnGetPooling2dDescriptor/g; - $ft{'library'} += s/\bcudnnGetPooling2dForwardOutputDim\b/hipdnnGetPooling2dForwardOutputDim/g; - $ft{'library'} += s/\bcudnnGetRNNDescriptor\b/hipdnnGetRNNDescriptor/g; - $ft{'library'} += s/\bcudnnGetRNNLinLayerBiasParams\b/hipdnnGetRNNLinLayerBiasParams/g; - $ft{'library'} += s/\bcudnnGetRNNLinLayerMatrixParams\b/hipdnnGetRNNLinLayerMatrixParams/g; - $ft{'library'} += s/\bcudnnGetRNNParamsSize\b/hipdnnGetRNNParamsSize/g; - $ft{'library'} += s/\bcudnnGetRNNTrainingReserveSize\b/hipdnnGetRNNTrainingReserveSize/g; - $ft{'library'} += s/\bcudnnGetRNNWorkspaceSize\b/hipdnnGetRNNWorkspaceSize/g; - $ft{'library'} += s/\bcudnnGetReduceTensorDescriptor\b/hipdnnGetReduceTensorDescriptor/g; - $ft{'library'} += s/\bcudnnGetReductionWorkspaceSize\b/hipdnnGetReductionWorkspaceSize/g; - $ft{'library'} += s/\bcudnnGetStream\b/hipdnnGetStream/g; - $ft{'library'} += s/\bcudnnGetTensor4dDescriptor\b/hipdnnGetTensor4dDescriptor/g; - $ft{'library'} += s/\bcudnnGetTensorNdDescriptor\b/hipdnnGetTensorNdDescriptor/g; - $ft{'library'} += s/\bcudnnGetVersion\b/hipdnnGetVersion/g; - $ft{'library'} += s/\bcudnnLRNCrossChannelBackward\b/hipdnnLRNCrossChannelBackward/g; - $ft{'library'} += s/\bcudnnLRNCrossChannelForward\b/hipdnnLRNCrossChannelForward/g; - $ft{'library'} += s/\bcudnnOpTensor\b/hipdnnOpTensor/g; - $ft{'library'} += s/\bcudnnPoolingBackward\b/hipdnnPoolingBackward/g; - $ft{'library'} += s/\bcudnnPoolingForward\b/hipdnnPoolingForward/g; - $ft{'library'} += s/\bcudnnRNNBackwardData\b/hipdnnRNNBackwardData/g; - $ft{'library'} += s/\bcudnnRNNBackwardWeights\b/hipdnnRNNBackwardWeights/g; - $ft{'library'} += s/\bcudnnRNNForwardInference\b/hipdnnRNNForwardInference/g; - $ft{'library'} += s/\bcudnnRNNForwardTraining\b/hipdnnRNNForwardTraining/g; - $ft{'library'} += s/\bcudnnReduceTensor\b/hipdnnReduceTensor/g; - $ft{'library'} += s/\bcudnnScaleTensor\b/hipdnnScaleTensor/g; - $ft{'library'} += s/\bcudnnSetActivationDescriptor\b/hipdnnSetActivationDescriptor/g; - $ft{'library'} += s/\bcudnnSetConvolution2dDescriptor\b/hipdnnSetConvolution2dDescriptor/g; - $ft{'library'} += s/\bcudnnSetConvolutionGroupCount\b/hipdnnSetConvolutionGroupCount/g; - $ft{'library'} += s/\bcudnnSetConvolutionMathType\b/hipdnnSetConvolutionMathType/g; - $ft{'library'} += s/\bcudnnSetConvolutionNdDescriptor\b/hipdnnSetConvolutionNdDescriptor/g; - $ft{'library'} += s/\bcudnnSetDropoutDescriptor\b/hipdnnSetDropoutDescriptor/g; - $ft{'library'} += s/\bcudnnSetFilter4dDescriptor\b/hipdnnSetFilter4dDescriptor/g; - $ft{'library'} += s/\bcudnnSetFilterNdDescriptor\b/hipdnnSetFilterNdDescriptor/g; - $ft{'library'} += s/\bcudnnSetLRNDescriptor\b/hipdnnSetLRNDescriptor/g; - $ft{'library'} += s/\bcudnnSetOpTensorDescriptor\b/hipdnnSetOpTensorDescriptor/g; - $ft{'library'} += s/\bcudnnSetPersistentRNNPlan\b/hipdnnSetPersistentRNNPlan/g; - $ft{'library'} += s/\bcudnnSetPooling2dDescriptor\b/hipdnnSetPooling2dDescriptor/g; - $ft{'library'} += s/\bcudnnSetPoolingNdDescriptor\b/hipdnnSetPoolingNdDescriptor/g; - $ft{'library'} += s/\bcudnnSetRNNDescriptor\b/hipdnnSetRNNDescriptor/g; - $ft{'library'} += s/\bcudnnSetRNNDescriptor_v5\b/hipdnnSetRNNDescriptor_v5/g; - $ft{'library'} += s/\bcudnnSetRNNDescriptor_v6\b/hipdnnSetRNNDescriptor_v6/g; - $ft{'library'} += s/\bcudnnSetReduceTensorDescriptor\b/hipdnnSetReduceTensorDescriptor/g; - $ft{'library'} += s/\bcudnnSetStream\b/hipdnnSetStream/g; - $ft{'library'} += s/\bcudnnSetTensor\b/hipdnnSetTensor/g; - $ft{'library'} += s/\bcudnnSetTensor4dDescriptor\b/hipdnnSetTensor4dDescriptor/g; - $ft{'library'} += s/\bcudnnSetTensor4dDescriptorEx\b/hipdnnSetTensor4dDescriptorEx/g; - $ft{'library'} += s/\bcudnnSetTensorNdDescriptor\b/hipdnnSetTensorNdDescriptor/g; - $ft{'library'} += s/\bcudnnSoftmaxBackward\b/hipdnnSoftmaxBackward/g; - $ft{'library'} += s/\bcudnnSoftmaxForward\b/hipdnnSoftmaxForward/g; - $ft{'library'} += s/\bcufftCallbackLoadC\b/hipfftCallbackLoadC/g; - $ft{'library'} += s/\bcufftCallbackLoadD\b/hipfftCallbackLoadD/g; - $ft{'library'} += s/\bcufftCallbackLoadR\b/hipfftCallbackLoadR/g; - $ft{'library'} += s/\bcufftCallbackLoadZ\b/hipfftCallbackLoadZ/g; - $ft{'library'} += s/\bcufftCallbackStoreC\b/hipfftCallbackStoreC/g; - $ft{'library'} += s/\bcufftCallbackStoreD\b/hipfftCallbackStoreD/g; - $ft{'library'} += s/\bcufftCallbackStoreR\b/hipfftCallbackStoreR/g; - $ft{'library'} += s/\bcufftCallbackStoreZ\b/hipfftCallbackStoreZ/g; - $ft{'library'} += s/\bcufftCreate\b/hipfftCreate/g; - $ft{'library'} += s/\bcufftDestroy\b/hipfftDestroy/g; - $ft{'library'} += s/\bcufftEstimate1d\b/hipfftEstimate1d/g; - $ft{'library'} += s/\bcufftEstimate2d\b/hipfftEstimate2d/g; - $ft{'library'} += s/\bcufftEstimate3d\b/hipfftEstimate3d/g; - $ft{'library'} += s/\bcufftEstimateMany\b/hipfftEstimateMany/g; - $ft{'library'} += s/\bcufftExecC2C\b/hipfftExecC2C/g; - $ft{'library'} += s/\bcufftExecC2R\b/hipfftExecC2R/g; - $ft{'library'} += s/\bcufftExecD2Z\b/hipfftExecD2Z/g; - $ft{'library'} += s/\bcufftExecR2C\b/hipfftExecR2C/g; - $ft{'library'} += s/\bcufftExecZ2D\b/hipfftExecZ2D/g; - $ft{'library'} += s/\bcufftExecZ2Z\b/hipfftExecZ2Z/g; - $ft{'library'} += s/\bcufftGetProperty\b/hipfftGetProperty/g; - $ft{'library'} += s/\bcufftGetSize\b/hipfftGetSize/g; - $ft{'library'} += s/\bcufftGetSize1d\b/hipfftGetSize1d/g; - $ft{'library'} += s/\bcufftGetSize2d\b/hipfftGetSize2d/g; - $ft{'library'} += s/\bcufftGetSize3d\b/hipfftGetSize3d/g; - $ft{'library'} += s/\bcufftGetSizeMany\b/hipfftGetSizeMany/g; - $ft{'library'} += s/\bcufftGetSizeMany64\b/hipfftGetSizeMany64/g; - $ft{'library'} += s/\bcufftGetVersion\b/hipfftGetVersion/g; - $ft{'library'} += s/\bcufftMakePlan1d\b/hipfftMakePlan1d/g; - $ft{'library'} += s/\bcufftMakePlan2d\b/hipfftMakePlan2d/g; - $ft{'library'} += s/\bcufftMakePlan3d\b/hipfftMakePlan3d/g; - $ft{'library'} += s/\bcufftMakePlanMany\b/hipfftMakePlanMany/g; - $ft{'library'} += s/\bcufftMakePlanMany64\b/hipfftMakePlanMany64/g; - $ft{'library'} += s/\bcufftPlan1d\b/hipfftPlan1d/g; - $ft{'library'} += s/\bcufftPlan2d\b/hipfftPlan2d/g; - $ft{'library'} += s/\bcufftPlan3d\b/hipfftPlan3d/g; - $ft{'library'} += s/\bcufftPlanMany\b/hipfftPlanMany/g; - $ft{'library'} += s/\bcufftSetAutoAllocation\b/hipfftSetAutoAllocation/g; - $ft{'library'} += s/\bcufftSetStream\b/hipfftSetStream/g; - $ft{'library'} += s/\bcufftSetWorkArea\b/hipfftSetWorkArea/g; - $ft{'library'} += s/\bcufftXtClearCallback\b/hipfftXtClearCallback/g; - $ft{'library'} += s/\bcufftXtSetCallback\b/hipfftXtSetCallback/g; - $ft{'library'} += s/\bcufftXtSetCallbackSharedSize\b/hipfftXtSetCallbackSharedSize/g; - $ft{'library'} += s/\bcurandCreateGenerator\b/hiprandCreateGenerator/g; - $ft{'library'} += s/\bcurandCreateGeneratorHost\b/hiprandCreateGeneratorHost/g; - $ft{'library'} += s/\bcurandCreatePoissonDistribution\b/hiprandCreatePoissonDistribution/g; - $ft{'library'} += s/\bcurandDestroyDistribution\b/hiprandDestroyDistribution/g; - $ft{'library'} += s/\bcurandDestroyGenerator\b/hiprandDestroyGenerator/g; - $ft{'library'} += s/\bcurandGenerate\b/hiprandGenerate/g; - $ft{'library'} += s/\bcurandGenerateLogNormal\b/hiprandGenerateLogNormal/g; - $ft{'library'} += s/\bcurandGenerateLogNormalDouble\b/hiprandGenerateLogNormalDouble/g; - $ft{'library'} += s/\bcurandGenerateNormal\b/hiprandGenerateNormal/g; - $ft{'library'} += s/\bcurandGenerateNormalDouble\b/hiprandGenerateNormalDouble/g; - $ft{'library'} += s/\bcurandGeneratePoisson\b/hiprandGeneratePoisson/g; - $ft{'library'} += s/\bcurandGenerateSeeds\b/hiprandGenerateSeeds/g; - $ft{'library'} += s/\bcurandGenerateUniform\b/hiprandGenerateUniform/g; - $ft{'library'} += s/\bcurandGenerateUniformDouble\b/hiprandGenerateUniformDouble/g; - $ft{'library'} += s/\bcurandGetVersion\b/hiprandGetVersion/g; - $ft{'library'} += s/\bcurandMakeMTGP32Constants\b/hiprandMakeMTGP32Constants/g; - $ft{'library'} += s/\bcurandMakeMTGP32KernelState\b/hiprandMakeMTGP32KernelState/g; - $ft{'library'} += s/\bcurandSetGeneratorOffset\b/hiprandSetGeneratorOffset/g; - $ft{'library'} += s/\bcurandSetPseudoRandomGeneratorSeed\b/hiprandSetPseudoRandomGeneratorSeed/g; - $ft{'library'} += s/\bcurandSetQuasiRandomGeneratorDimensions\b/hiprandSetQuasiRandomGeneratorDimensions/g; - $ft{'library'} += s/\bcurandSetStream\b/hiprandSetStream/g; - $ft{'library'} += s/\bcusparseAxpby\b/hipsparseAxpby/g; - $ft{'library'} += s/\bcusparseBlockedEllGet\b/hipsparseBlockedEllGet/g; - $ft{'library'} += s/\bcusparseCaxpyi\b/hipsparseCaxpyi/g; - $ft{'library'} += s/\bcusparseCbsr2csr\b/hipsparseCbsr2csr/g; - $ft{'library'} += s/\bcusparseCbsric02\b/hipsparseCbsric02/g; - $ft{'library'} += s/\bcusparseCbsric02_analysis\b/hipsparseCbsric02_analysis/g; - $ft{'library'} += s/\bcusparseCbsric02_bufferSize\b/hipsparseCbsric02_bufferSize/g; - $ft{'library'} += s/\bcusparseCbsrilu02\b/hipsparseCbsrilu02/g; - $ft{'library'} += s/\bcusparseCbsrilu02_analysis\b/hipsparseCbsrilu02_analysis/g; - $ft{'library'} += s/\bcusparseCbsrilu02_bufferSize\b/hipsparseCbsrilu02_bufferSize/g; - $ft{'library'} += s/\bcusparseCbsrilu02_numericBoost\b/hipsparseCbsrilu02_numericBoost/g; - $ft{'library'} += s/\bcusparseCbsrmm\b/hipsparseCbsrmm/g; - $ft{'library'} += s/\bcusparseCbsrmv\b/hipsparseCbsrmv/g; - $ft{'library'} += s/\bcusparseCbsrsm2_analysis\b/hipsparseCbsrsm2_analysis/g; - $ft{'library'} += s/\bcusparseCbsrsm2_bufferSize\b/hipsparseCbsrsm2_bufferSize/g; - $ft{'library'} += s/\bcusparseCbsrsm2_solve\b/hipsparseCbsrsm2_solve/g; - $ft{'library'} += s/\bcusparseCbsrsv2_analysis\b/hipsparseCbsrsv2_analysis/g; - $ft{'library'} += s/\bcusparseCbsrsv2_bufferSize\b/hipsparseCbsrsv2_bufferSize/g; - $ft{'library'} += s/\bcusparseCbsrsv2_bufferSizeExt\b/hipsparseCbsrsv2_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseCbsrsv2_solve\b/hipsparseCbsrsv2_solve/g; - $ft{'library'} += s/\bcusparseCbsrxmv\b/hipsparseCbsrxmv/g; - $ft{'library'} += s/\bcusparseCcsc2dense\b/hipsparseCcsc2dense/g; - $ft{'library'} += s/\bcusparseCcsr2bsr\b/hipsparseCcsr2bsr/g; - $ft{'library'} += s/\bcusparseCcsr2csc\b/hipsparseCcsr2csc/g; - $ft{'library'} += s/\bcusparseCcsr2csr_compress\b/hipsparseCcsr2csr_compress/g; - $ft{'library'} += s/\bcusparseCcsr2csru\b/hipsparseCcsr2csru/g; - $ft{'library'} += s/\bcusparseCcsr2dense\b/hipsparseCcsr2dense/g; - $ft{'library'} += s/\bcusparseCcsr2gebsr\b/hipsparseCcsr2gebsr/g; - $ft{'library'} += s/\bcusparseCcsr2gebsr_bufferSize\b/hipsparseCcsr2gebsr_bufferSize/g; - $ft{'library'} += s/\bcusparseCcsr2hyb\b/hipsparseCcsr2hyb/g; - $ft{'library'} += s/\bcusparseCcsrcolor\b/hipsparseCcsrcolor/g; - $ft{'library'} += s/\bcusparseCcsrgeam\b/hipsparseCcsrgeam/g; - $ft{'library'} += s/\bcusparseCcsrgeam2\b/hipsparseCcsrgeam2/g; - $ft{'library'} += s/\bcusparseCcsrgeam2_bufferSizeExt\b/hipsparseCcsrgeam2_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseCcsrgemm\b/hipsparseCcsrgemm/g; - $ft{'library'} += s/\bcusparseCcsrgemm2\b/hipsparseCcsrgemm2/g; - $ft{'library'} += s/\bcusparseCcsrgemm2_bufferSizeExt\b/hipsparseCcsrgemm2_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseCcsric02\b/hipsparseCcsric02/g; - $ft{'library'} += s/\bcusparseCcsric02_analysis\b/hipsparseCcsric02_analysis/g; - $ft{'library'} += s/\bcusparseCcsric02_bufferSize\b/hipsparseCcsric02_bufferSize/g; - $ft{'library'} += s/\bcusparseCcsric02_bufferSizeExt\b/hipsparseCcsric02_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseCcsrilu02\b/hipsparseCcsrilu02/g; - $ft{'library'} += s/\bcusparseCcsrilu02_analysis\b/hipsparseCcsrilu02_analysis/g; - $ft{'library'} += s/\bcusparseCcsrilu02_bufferSize\b/hipsparseCcsrilu02_bufferSize/g; - $ft{'library'} += s/\bcusparseCcsrilu02_bufferSizeExt\b/hipsparseCcsrilu02_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseCcsrilu02_numericBoost\b/hipsparseCcsrilu02_numericBoost/g; - $ft{'library'} += s/\bcusparseCcsrmm\b/hipsparseCcsrmm/g; - $ft{'library'} += s/\bcusparseCcsrmm2\b/hipsparseCcsrmm2/g; - $ft{'library'} += s/\bcusparseCcsrmv\b/hipsparseCcsrmv/g; - $ft{'library'} += s/\bcusparseCcsrsm2_analysis\b/hipsparseCcsrsm2_analysis/g; - $ft{'library'} += s/\bcusparseCcsrsm2_bufferSizeExt\b/hipsparseCcsrsm2_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseCcsrsm2_solve\b/hipsparseCcsrsm2_solve/g; - $ft{'library'} += s/\bcusparseCcsrsv2_analysis\b/hipsparseCcsrsv2_analysis/g; - $ft{'library'} += s/\bcusparseCcsrsv2_bufferSize\b/hipsparseCcsrsv2_bufferSize/g; - $ft{'library'} += s/\bcusparseCcsrsv2_bufferSizeExt\b/hipsparseCcsrsv2_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseCcsrsv2_solve\b/hipsparseCcsrsv2_solve/g; - $ft{'library'} += s/\bcusparseCcsru2csr\b/hipsparseCcsru2csr/g; - $ft{'library'} += s/\bcusparseCcsru2csr_bufferSizeExt\b/hipsparseCcsru2csr_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseCdense2csc\b/hipsparseCdense2csc/g; - $ft{'library'} += s/\bcusparseCdense2csr\b/hipsparseCdense2csr/g; - $ft{'library'} += s/\bcusparseCdotci\b/hipsparseCdotci/g; - $ft{'library'} += s/\bcusparseCdoti\b/hipsparseCdoti/g; - $ft{'library'} += s/\bcusparseCgebsr2csr\b/hipsparseCgebsr2csr/g; - $ft{'library'} += s/\bcusparseCgebsr2gebsc\b/hipsparseCgebsr2gebsc/g; - $ft{'library'} += s/\bcusparseCgebsr2gebsc_bufferSize\b/hipsparseCgebsr2gebsc_bufferSize/g; - $ft{'library'} += s/\bcusparseCgebsr2gebsr\b/hipsparseCgebsr2gebsr/g; - $ft{'library'} += s/\bcusparseCgebsr2gebsr_bufferSize\b/hipsparseCgebsr2gebsr_bufferSize/g; - $ft{'library'} += s/\bcusparseCgemmi\b/hipsparseCgemmi/g; - $ft{'library'} += s/\bcusparseCgemvi\b/hipsparseCgemvi/g; - $ft{'library'} += s/\bcusparseCgemvi_bufferSize\b/hipsparseCgemvi_bufferSize/g; - $ft{'library'} += s/\bcusparseCgpsvInterleavedBatch\b/hipsparseCgpsvInterleavedBatch/g; - $ft{'library'} += s/\bcusparseCgpsvInterleavedBatch_bufferSizeExt\b/hipsparseCgpsvInterleavedBatch_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseCgthr\b/hipsparseCgthr/g; - $ft{'library'} += s/\bcusparseCgthrz\b/hipsparseCgthrz/g; - $ft{'library'} += s/\bcusparseCgtsv2\b/hipsparseCgtsv2/g; - $ft{'library'} += s/\bcusparseCgtsv2StridedBatch\b/hipsparseCgtsv2StridedBatch/g; - $ft{'library'} += s/\bcusparseCgtsv2StridedBatch_bufferSizeExt\b/hipsparseCgtsv2StridedBatch_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseCgtsv2_bufferSizeExt\b/hipsparseCgtsv2_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseCgtsv2_nopivot\b/hipsparseCgtsv2_nopivot/g; - $ft{'library'} += s/\bcusparseCgtsv2_nopivot_bufferSizeExt\b/hipsparseCgtsv2_nopivot_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseCgtsvInterleavedBatch\b/hipsparseCgtsvInterleavedBatch/g; - $ft{'library'} += s/\bcusparseCgtsvInterleavedBatch_bufferSizeExt\b/hipsparseCgtsvInterleavedBatch_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseChyb2csr\b/hipsparseChyb2csr/g; - $ft{'library'} += s/\bcusparseChybmv\b/hipsparseChybmv/g; - $ft{'library'} += s/\bcusparseCnnz\b/hipsparseCnnz/g; - $ft{'library'} += s/\bcusparseCnnz_compress\b/hipsparseCnnz_compress/g; - $ft{'library'} += s/\bcusparseCooAoSGet\b/hipsparseCooAoSGet/g; - $ft{'library'} += s/\bcusparseCooGet\b/hipsparseCooGet/g; - $ft{'library'} += s/\bcusparseCooSetPointers\b/hipsparseCooSetPointers/g; - $ft{'library'} += s/\bcusparseCreate\b/hipsparseCreate/g; - $ft{'library'} += s/\bcusparseCreateBlockedEll\b/hipsparseCreateBlockedEll/g; - $ft{'library'} += s/\bcusparseCreateBsric02Info\b/hipsparseCreateBsric02Info/g; - $ft{'library'} += s/\bcusparseCreateBsrilu02Info\b/hipsparseCreateBsrilu02Info/g; - $ft{'library'} += s/\bcusparseCreateBsrsm2Info\b/hipsparseCreateBsrsm2Info/g; - $ft{'library'} += s/\bcusparseCreateBsrsv2Info\b/hipsparseCreateBsrsv2Info/g; - $ft{'library'} += s/\bcusparseCreateColorInfo\b/hipsparseCreateColorInfo/g; - $ft{'library'} += s/\bcusparseCreateCoo\b/hipsparseCreateCoo/g; - $ft{'library'} += s/\bcusparseCreateCooAoS\b/hipsparseCreateCooAoS/g; - $ft{'library'} += s/\bcusparseCreateCsc\b/hipsparseCreateCsc/g; - $ft{'library'} += s/\bcusparseCreateCsr\b/hipsparseCreateCsr/g; - $ft{'library'} += s/\bcusparseCreateCsrgemm2Info\b/hipsparseCreateCsrgemm2Info/g; - $ft{'library'} += s/\bcusparseCreateCsric02Info\b/hipsparseCreateCsric02Info/g; - $ft{'library'} += s/\bcusparseCreateCsrilu02Info\b/hipsparseCreateCsrilu02Info/g; - $ft{'library'} += s/\bcusparseCreateCsrsm2Info\b/hipsparseCreateCsrsm2Info/g; - $ft{'library'} += s/\bcusparseCreateCsrsv2Info\b/hipsparseCreateCsrsv2Info/g; - $ft{'library'} += s/\bcusparseCreateCsru2csrInfo\b/hipsparseCreateCsru2csrInfo/g; - $ft{'library'} += s/\bcusparseCreateDnMat\b/hipsparseCreateDnMat/g; - $ft{'library'} += s/\bcusparseCreateDnVec\b/hipsparseCreateDnVec/g; - $ft{'library'} += s/\bcusparseCreateHybMat\b/hipsparseCreateHybMat/g; - $ft{'library'} += s/\bcusparseCreateIdentityPermutation\b/hipsparseCreateIdentityPermutation/g; - $ft{'library'} += s/\bcusparseCreateMatDescr\b/hipsparseCreateMatDescr/g; - $ft{'library'} += s/\bcusparseCreatePruneInfo\b/hipsparseCreatePruneInfo/g; - $ft{'library'} += s/\bcusparseCreateSpVec\b/hipsparseCreateSpVec/g; - $ft{'library'} += s/\bcusparseCscSetPointers\b/hipsparseCscSetPointers/g; - $ft{'library'} += s/\bcusparseCsctr\b/hipsparseCsctr/g; - $ft{'library'} += s/\bcusparseCsrGet\b/hipsparseCsrGet/g; - $ft{'library'} += s/\bcusparseCsrSetPointers\b/hipsparseCsrSetPointers/g; - $ft{'library'} += s/\bcusparseDaxpyi\b/hipsparseDaxpyi/g; - $ft{'library'} += s/\bcusparseDbsr2csr\b/hipsparseDbsr2csr/g; - $ft{'library'} += s/\bcusparseDbsric02\b/hipsparseDbsric02/g; - $ft{'library'} += s/\bcusparseDbsric02_analysis\b/hipsparseDbsric02_analysis/g; - $ft{'library'} += s/\bcusparseDbsric02_bufferSize\b/hipsparseDbsric02_bufferSize/g; - $ft{'library'} += s/\bcusparseDbsrilu02\b/hipsparseDbsrilu02/g; - $ft{'library'} += s/\bcusparseDbsrilu02_analysis\b/hipsparseDbsrilu02_analysis/g; - $ft{'library'} += s/\bcusparseDbsrilu02_bufferSize\b/hipsparseDbsrilu02_bufferSize/g; - $ft{'library'} += s/\bcusparseDbsrilu02_numericBoost\b/hipsparseDbsrilu02_numericBoost/g; - $ft{'library'} += s/\bcusparseDbsrmm\b/hipsparseDbsrmm/g; - $ft{'library'} += s/\bcusparseDbsrmv\b/hipsparseDbsrmv/g; - $ft{'library'} += s/\bcusparseDbsrsm2_analysis\b/hipsparseDbsrsm2_analysis/g; - $ft{'library'} += s/\bcusparseDbsrsm2_bufferSize\b/hipsparseDbsrsm2_bufferSize/g; - $ft{'library'} += s/\bcusparseDbsrsm2_solve\b/hipsparseDbsrsm2_solve/g; - $ft{'library'} += s/\bcusparseDbsrsv2_analysis\b/hipsparseDbsrsv2_analysis/g; - $ft{'library'} += s/\bcusparseDbsrsv2_bufferSize\b/hipsparseDbsrsv2_bufferSize/g; - $ft{'library'} += s/\bcusparseDbsrsv2_bufferSizeExt\b/hipsparseDbsrsv2_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseDbsrsv2_solve\b/hipsparseDbsrsv2_solve/g; - $ft{'library'} += s/\bcusparseDbsrxmv\b/hipsparseDbsrxmv/g; - $ft{'library'} += s/\bcusparseDcsc2dense\b/hipsparseDcsc2dense/g; - $ft{'library'} += s/\bcusparseDcsr2bsr\b/hipsparseDcsr2bsr/g; - $ft{'library'} += s/\bcusparseDcsr2csc\b/hipsparseDcsr2csc/g; - $ft{'library'} += s/\bcusparseDcsr2csr_compress\b/hipsparseDcsr2csr_compress/g; - $ft{'library'} += s/\bcusparseDcsr2csru\b/hipsparseDcsr2csru/g; - $ft{'library'} += s/\bcusparseDcsr2dense\b/hipsparseDcsr2dense/g; - $ft{'library'} += s/\bcusparseDcsr2gebsr\b/hipsparseDcsr2gebsr/g; - $ft{'library'} += s/\bcusparseDcsr2gebsr_bufferSize\b/hipsparseDcsr2gebsr_bufferSize/g; - $ft{'library'} += s/\bcusparseDcsr2hyb\b/hipsparseDcsr2hyb/g; - $ft{'library'} += s/\bcusparseDcsrcolor\b/hipsparseDcsrcolor/g; - $ft{'library'} += s/\bcusparseDcsrgeam\b/hipsparseDcsrgeam/g; - $ft{'library'} += s/\bcusparseDcsrgeam2\b/hipsparseDcsrgeam2/g; - $ft{'library'} += s/\bcusparseDcsrgeam2_bufferSizeExt\b/hipsparseDcsrgeam2_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseDcsrgemm\b/hipsparseDcsrgemm/g; - $ft{'library'} += s/\bcusparseDcsrgemm2\b/hipsparseDcsrgemm2/g; - $ft{'library'} += s/\bcusparseDcsrgemm2_bufferSizeExt\b/hipsparseDcsrgemm2_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseDcsric02\b/hipsparseDcsric02/g; - $ft{'library'} += s/\bcusparseDcsric02_analysis\b/hipsparseDcsric02_analysis/g; - $ft{'library'} += s/\bcusparseDcsric02_bufferSize\b/hipsparseDcsric02_bufferSize/g; - $ft{'library'} += s/\bcusparseDcsric02_bufferSizeExt\b/hipsparseDcsric02_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseDcsrilu02\b/hipsparseDcsrilu02/g; - $ft{'library'} += s/\bcusparseDcsrilu02_analysis\b/hipsparseDcsrilu02_analysis/g; - $ft{'library'} += s/\bcusparseDcsrilu02_bufferSize\b/hipsparseDcsrilu02_bufferSize/g; - $ft{'library'} += s/\bcusparseDcsrilu02_bufferSizeExt\b/hipsparseDcsrilu02_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseDcsrilu02_numericBoost\b/hipsparseDcsrilu02_numericBoost/g; - $ft{'library'} += s/\bcusparseDcsrmm\b/hipsparseDcsrmm/g; - $ft{'library'} += s/\bcusparseDcsrmm2\b/hipsparseDcsrmm2/g; - $ft{'library'} += s/\bcusparseDcsrmv\b/hipsparseDcsrmv/g; - $ft{'library'} += s/\bcusparseDcsrsm2_analysis\b/hipsparseDcsrsm2_analysis/g; - $ft{'library'} += s/\bcusparseDcsrsm2_bufferSizeExt\b/hipsparseDcsrsm2_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseDcsrsm2_solve\b/hipsparseDcsrsm2_solve/g; - $ft{'library'} += s/\bcusparseDcsrsv2_analysis\b/hipsparseDcsrsv2_analysis/g; - $ft{'library'} += s/\bcusparseDcsrsv2_bufferSize\b/hipsparseDcsrsv2_bufferSize/g; - $ft{'library'} += s/\bcusparseDcsrsv2_bufferSizeExt\b/hipsparseDcsrsv2_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseDcsrsv2_solve\b/hipsparseDcsrsv2_solve/g; - $ft{'library'} += s/\bcusparseDcsru2csr\b/hipsparseDcsru2csr/g; - $ft{'library'} += s/\bcusparseDcsru2csr_bufferSizeExt\b/hipsparseDcsru2csr_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseDdense2csc\b/hipsparseDdense2csc/g; - $ft{'library'} += s/\bcusparseDdense2csr\b/hipsparseDdense2csr/g; - $ft{'library'} += s/\bcusparseDdoti\b/hipsparseDdoti/g; - $ft{'library'} += s/\bcusparseDenseToSparse_analysis\b/hipsparseDenseToSparse_analysis/g; - $ft{'library'} += s/\bcusparseDenseToSparse_bufferSize\b/hipsparseDenseToSparse_bufferSize/g; - $ft{'library'} += s/\bcusparseDenseToSparse_convert\b/hipsparseDenseToSparse_convert/g; - $ft{'library'} += s/\bcusparseDestroy\b/hipsparseDestroy/g; - $ft{'library'} += s/\bcusparseDestroyBsric02Info\b/hipsparseDestroyBsric02Info/g; - $ft{'library'} += s/\bcusparseDestroyBsrilu02Info\b/hipsparseDestroyBsrilu02Info/g; - $ft{'library'} += s/\bcusparseDestroyBsrsm2Info\b/hipsparseDestroyBsrsm2Info/g; - $ft{'library'} += s/\bcusparseDestroyBsrsv2Info\b/hipsparseDestroyBsrsv2Info/g; - $ft{'library'} += s/\bcusparseDestroyColorInfo\b/hipsparseDestroyColorInfo/g; - $ft{'library'} += s/\bcusparseDestroyCsrgemm2Info\b/hipsparseDestroyCsrgemm2Info/g; - $ft{'library'} += s/\bcusparseDestroyCsric02Info\b/hipsparseDestroyCsric02Info/g; - $ft{'library'} += s/\bcusparseDestroyCsrilu02Info\b/hipsparseDestroyCsrilu02Info/g; - $ft{'library'} += s/\bcusparseDestroyCsrsm2Info\b/hipsparseDestroyCsrsm2Info/g; - $ft{'library'} += s/\bcusparseDestroyCsrsv2Info\b/hipsparseDestroyCsrsv2Info/g; - $ft{'library'} += s/\bcusparseDestroyCsru2csrInfo\b/hipsparseDestroyCsru2csrInfo/g; - $ft{'library'} += s/\bcusparseDestroyDnMat\b/hipsparseDestroyDnMat/g; - $ft{'library'} += s/\bcusparseDestroyDnVec\b/hipsparseDestroyDnVec/g; - $ft{'library'} += s/\bcusparseDestroyHybMat\b/hipsparseDestroyHybMat/g; - $ft{'library'} += s/\bcusparseDestroyMatDescr\b/hipsparseDestroyMatDescr/g; - $ft{'library'} += s/\bcusparseDestroyPruneInfo\b/hipsparseDestroyPruneInfo/g; - $ft{'library'} += s/\bcusparseDestroySpMat\b/hipsparseDestroySpMat/g; - $ft{'library'} += s/\bcusparseDestroySpVec\b/hipsparseDestroySpVec/g; - $ft{'library'} += s/\bcusparseDgebsr2csr\b/hipsparseDgebsr2csr/g; - $ft{'library'} += s/\bcusparseDgebsr2gebsc\b/hipsparseDgebsr2gebsc/g; - $ft{'library'} += s/\bcusparseDgebsr2gebsc_bufferSize\b/hipsparseDgebsr2gebsc_bufferSize/g; - $ft{'library'} += s/\bcusparseDgebsr2gebsr\b/hipsparseDgebsr2gebsr/g; - $ft{'library'} += s/\bcusparseDgebsr2gebsr_bufferSize\b/hipsparseDgebsr2gebsr_bufferSize/g; - $ft{'library'} += s/\bcusparseDgemmi\b/hipsparseDgemmi/g; - $ft{'library'} += s/\bcusparseDgemvi\b/hipsparseDgemvi/g; - $ft{'library'} += s/\bcusparseDgemvi_bufferSize\b/hipsparseDgemvi_bufferSize/g; - $ft{'library'} += s/\bcusparseDgpsvInterleavedBatch\b/hipsparseDgpsvInterleavedBatch/g; - $ft{'library'} += s/\bcusparseDgpsvInterleavedBatch_bufferSizeExt\b/hipsparseDgpsvInterleavedBatch_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseDgthr\b/hipsparseDgthr/g; - $ft{'library'} += s/\bcusparseDgthrz\b/hipsparseDgthrz/g; - $ft{'library'} += s/\bcusparseDgtsv2\b/hipsparseDgtsv2/g; - $ft{'library'} += s/\bcusparseDgtsv2StridedBatch\b/hipsparseDgtsv2StridedBatch/g; - $ft{'library'} += s/\bcusparseDgtsv2StridedBatch_bufferSizeExt\b/hipsparseDgtsv2StridedBatch_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseDgtsv2_bufferSizeExt\b/hipsparseDgtsv2_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseDgtsv2_nopivot\b/hipsparseDgtsv2_nopivot/g; - $ft{'library'} += s/\bcusparseDgtsv2_nopivot_bufferSizeExt\b/hipsparseDgtsv2_nopivot_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseDgtsvInterleavedBatch\b/hipsparseDgtsvInterleavedBatch/g; - $ft{'library'} += s/\bcusparseDgtsvInterleavedBatch_bufferSizeExt\b/hipsparseDgtsvInterleavedBatch_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseDhyb2csr\b/hipsparseDhyb2csr/g; - $ft{'library'} += s/\bcusparseDhybmv\b/hipsparseDhybmv/g; - $ft{'library'} += s/\bcusparseDnMatGet\b/hipsparseDnMatGet/g; - $ft{'library'} += s/\bcusparseDnMatGetValues\b/hipsparseDnMatGetValues/g; - $ft{'library'} += s/\bcusparseDnMatSetValues\b/hipsparseDnMatSetValues/g; - $ft{'library'} += s/\bcusparseDnVecGet\b/hipsparseDnVecGet/g; - $ft{'library'} += s/\bcusparseDnVecGetValues\b/hipsparseDnVecGetValues/g; - $ft{'library'} += s/\bcusparseDnVecSetValues\b/hipsparseDnVecSetValues/g; - $ft{'library'} += s/\bcusparseDnnz\b/hipsparseDnnz/g; - $ft{'library'} += s/\bcusparseDnnz_compress\b/hipsparseDnnz_compress/g; - $ft{'library'} += s/\bcusparseDpruneCsr2csr\b/hipsparseDpruneCsr2csr/g; - $ft{'library'} += s/\bcusparseDpruneCsr2csrByPercentage\b/hipsparseDpruneCsr2csrByPercentage/g; - $ft{'library'} += s/\bcusparseDpruneCsr2csrByPercentage_bufferSizeExt\b/hipsparseDpruneCsr2csrByPercentage_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseDpruneCsr2csrNnz\b/hipsparseDpruneCsr2csrNnz/g; - $ft{'library'} += s/\bcusparseDpruneCsr2csrNnzByPercentage\b/hipsparseDpruneCsr2csrNnzByPercentage/g; - $ft{'library'} += s/\bcusparseDpruneCsr2csr_bufferSizeExt\b/hipsparseDpruneCsr2csr_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseDpruneDense2csr\b/hipsparseDpruneDense2csr/g; - $ft{'library'} += s/\bcusparseDpruneDense2csrByPercentage\b/hipsparseDpruneDense2csrByPercentage/g; - $ft{'library'} += s/\bcusparseDpruneDense2csrByPercentage_bufferSizeExt\b/hipsparseDpruneDense2csrByPercentage_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseDpruneDense2csrNnz\b/hipsparseDpruneDense2csrNnz/g; - $ft{'library'} += s/\bcusparseDpruneDense2csrNnzByPercentage\b/hipsparseDpruneDense2csrNnzByPercentage/g; - $ft{'library'} += s/\bcusparseDpruneDense2csr_bufferSizeExt\b/hipsparseDpruneDense2csr_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseDroti\b/hipsparseDroti/g; - $ft{'library'} += s/\bcusparseDsctr\b/hipsparseDsctr/g; - $ft{'library'} += s/\bcusparseGather\b/hipsparseGather/g; - $ft{'library'} += s/\bcusparseGetMatDiagType\b/hipsparseGetMatDiagType/g; - $ft{'library'} += s/\bcusparseGetMatFillMode\b/hipsparseGetMatFillMode/g; - $ft{'library'} += s/\bcusparseGetMatIndexBase\b/hipsparseGetMatIndexBase/g; - $ft{'library'} += s/\bcusparseGetMatType\b/hipsparseGetMatType/g; - $ft{'library'} += s/\bcusparseGetPointerMode\b/hipsparseGetPointerMode/g; - $ft{'library'} += s/\bcusparseGetStream\b/hipsparseGetStream/g; - $ft{'library'} += s/\bcusparseGetVersion\b/hipsparseGetVersion/g; - $ft{'library'} += s/\bcusparseRot\b/hipsparseRot/g; - $ft{'library'} += s/\bcusparseSDDMM\b/hipsparseSDDMM/g; - $ft{'library'} += s/\bcusparseSDDMM_bufferSize\b/hipsparseSDDMM_bufferSize/g; - $ft{'library'} += s/\bcusparseSDDMM_preprocess\b/hipsparseSDDMM_preprocess/g; - $ft{'library'} += s/\bcusparseSaxpyi\b/hipsparseSaxpyi/g; - $ft{'library'} += s/\bcusparseSbsr2csr\b/hipsparseSbsr2csr/g; - $ft{'library'} += s/\bcusparseSbsric02\b/hipsparseSbsric02/g; - $ft{'library'} += s/\bcusparseSbsric02_analysis\b/hipsparseSbsric02_analysis/g; - $ft{'library'} += s/\bcusparseSbsric02_bufferSize\b/hipsparseSbsric02_bufferSize/g; - $ft{'library'} += s/\bcusparseSbsrilu02\b/hipsparseSbsrilu02/g; - $ft{'library'} += s/\bcusparseSbsrilu02_analysis\b/hipsparseSbsrilu02_analysis/g; - $ft{'library'} += s/\bcusparseSbsrilu02_bufferSize\b/hipsparseSbsrilu02_bufferSize/g; - $ft{'library'} += s/\bcusparseSbsrilu02_numericBoost\b/hipsparseSbsrilu02_numericBoost/g; - $ft{'library'} += s/\bcusparseSbsrmm\b/hipsparseSbsrmm/g; - $ft{'library'} += s/\bcusparseSbsrmv\b/hipsparseSbsrmv/g; - $ft{'library'} += s/\bcusparseSbsrsm2_analysis\b/hipsparseSbsrsm2_analysis/g; - $ft{'library'} += s/\bcusparseSbsrsm2_bufferSize\b/hipsparseSbsrsm2_bufferSize/g; - $ft{'library'} += s/\bcusparseSbsrsm2_solve\b/hipsparseSbsrsm2_solve/g; - $ft{'library'} += s/\bcusparseSbsrsv2_analysis\b/hipsparseSbsrsv2_analysis/g; - $ft{'library'} += s/\bcusparseSbsrsv2_bufferSize\b/hipsparseSbsrsv2_bufferSize/g; - $ft{'library'} += s/\bcusparseSbsrsv2_bufferSizeExt\b/hipsparseSbsrsv2_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseSbsrsv2_solve\b/hipsparseSbsrsv2_solve/g; - $ft{'library'} += s/\bcusparseSbsrxmv\b/hipsparseSbsrxmv/g; - $ft{'library'} += s/\bcusparseScatter\b/hipsparseScatter/g; - $ft{'library'} += s/\bcusparseScsc2dense\b/hipsparseScsc2dense/g; - $ft{'library'} += s/\bcusparseScsr2bsr\b/hipsparseScsr2bsr/g; - $ft{'library'} += s/\bcusparseScsr2csc\b/hipsparseScsr2csc/g; - $ft{'library'} += s/\bcusparseScsr2csr_compress\b/hipsparseScsr2csr_compress/g; - $ft{'library'} += s/\bcusparseScsr2csru\b/hipsparseScsr2csru/g; - $ft{'library'} += s/\bcusparseScsr2dense\b/hipsparseScsr2dense/g; - $ft{'library'} += s/\bcusparseScsr2gebsr\b/hipsparseScsr2gebsr/g; - $ft{'library'} += s/\bcusparseScsr2gebsr_bufferSize\b/hipsparseScsr2gebsr_bufferSize/g; - $ft{'library'} += s/\bcusparseScsr2hyb\b/hipsparseScsr2hyb/g; - $ft{'library'} += s/\bcusparseScsrcolor\b/hipsparseScsrcolor/g; - $ft{'library'} += s/\bcusparseScsrgeam\b/hipsparseScsrgeam/g; - $ft{'library'} += s/\bcusparseScsrgeam2\b/hipsparseScsrgeam2/g; - $ft{'library'} += s/\bcusparseScsrgeam2_bufferSizeExt\b/hipsparseScsrgeam2_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseScsrgemm\b/hipsparseScsrgemm/g; - $ft{'library'} += s/\bcusparseScsrgemm2\b/hipsparseScsrgemm2/g; - $ft{'library'} += s/\bcusparseScsrgemm2_bufferSizeExt\b/hipsparseScsrgemm2_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseScsric02\b/hipsparseScsric02/g; - $ft{'library'} += s/\bcusparseScsric02_analysis\b/hipsparseScsric02_analysis/g; - $ft{'library'} += s/\bcusparseScsric02_bufferSize\b/hipsparseScsric02_bufferSize/g; - $ft{'library'} += s/\bcusparseScsric02_bufferSizeExt\b/hipsparseScsric02_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseScsrilu02\b/hipsparseScsrilu02/g; - $ft{'library'} += s/\bcusparseScsrilu02_analysis\b/hipsparseScsrilu02_analysis/g; - $ft{'library'} += s/\bcusparseScsrilu02_bufferSize\b/hipsparseScsrilu02_bufferSize/g; - $ft{'library'} += s/\bcusparseScsrilu02_bufferSizeExt\b/hipsparseScsrilu02_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseScsrilu02_numericBoost\b/hipsparseScsrilu02_numericBoost/g; - $ft{'library'} += s/\bcusparseScsrmm\b/hipsparseScsrmm/g; - $ft{'library'} += s/\bcusparseScsrmm2\b/hipsparseScsrmm2/g; - $ft{'library'} += s/\bcusparseScsrmv\b/hipsparseScsrmv/g; - $ft{'library'} += s/\bcusparseScsrsm2_analysis\b/hipsparseScsrsm2_analysis/g; - $ft{'library'} += s/\bcusparseScsrsm2_bufferSizeExt\b/hipsparseScsrsm2_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseScsrsm2_solve\b/hipsparseScsrsm2_solve/g; - $ft{'library'} += s/\bcusparseScsrsv2_analysis\b/hipsparseScsrsv2_analysis/g; - $ft{'library'} += s/\bcusparseScsrsv2_bufferSize\b/hipsparseScsrsv2_bufferSize/g; - $ft{'library'} += s/\bcusparseScsrsv2_bufferSizeExt\b/hipsparseScsrsv2_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseScsrsv2_solve\b/hipsparseScsrsv2_solve/g; - $ft{'library'} += s/\bcusparseScsru2csr\b/hipsparseScsru2csr/g; - $ft{'library'} += s/\bcusparseScsru2csr_bufferSizeExt\b/hipsparseScsru2csr_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseSdense2csc\b/hipsparseSdense2csc/g; - $ft{'library'} += s/\bcusparseSdense2csr\b/hipsparseSdense2csr/g; - $ft{'library'} += s/\bcusparseSdoti\b/hipsparseSdoti/g; - $ft{'library'} += s/\bcusparseSetMatDiagType\b/hipsparseSetMatDiagType/g; - $ft{'library'} += s/\bcusparseSetMatFillMode\b/hipsparseSetMatFillMode/g; - $ft{'library'} += s/\bcusparseSetMatIndexBase\b/hipsparseSetMatIndexBase/g; - $ft{'library'} += s/\bcusparseSetMatType\b/hipsparseSetMatType/g; - $ft{'library'} += s/\bcusparseSetPointerMode\b/hipsparseSetPointerMode/g; - $ft{'library'} += s/\bcusparseSetStream\b/hipsparseSetStream/g; - $ft{'library'} += s/\bcusparseSgebsr2csr\b/hipsparseSgebsr2csr/g; - $ft{'library'} += s/\bcusparseSgebsr2gebsc\b/hipsparseSgebsr2gebsc/g; - $ft{'library'} += s/\bcusparseSgebsr2gebsc_bufferSize\b/hipsparseSgebsr2gebsc_bufferSize/g; - $ft{'library'} += s/\bcusparseSgebsr2gebsr\b/hipsparseSgebsr2gebsr/g; - $ft{'library'} += s/\bcusparseSgebsr2gebsr_bufferSize\b/hipsparseSgebsr2gebsr_bufferSize/g; - $ft{'library'} += s/\bcusparseSgemmi\b/hipsparseSgemmi/g; - $ft{'library'} += s/\bcusparseSgemvi\b/hipsparseSgemvi/g; - $ft{'library'} += s/\bcusparseSgemvi_bufferSize\b/hipsparseSgemvi_bufferSize/g; - $ft{'library'} += s/\bcusparseSgpsvInterleavedBatch\b/hipsparseSgpsvInterleavedBatch/g; - $ft{'library'} += s/\bcusparseSgpsvInterleavedBatch_bufferSizeExt\b/hipsparseSgpsvInterleavedBatch_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseSgthr\b/hipsparseSgthr/g; - $ft{'library'} += s/\bcusparseSgthrz\b/hipsparseSgthrz/g; - $ft{'library'} += s/\bcusparseSgtsv2\b/hipsparseSgtsv2/g; - $ft{'library'} += s/\bcusparseSgtsv2StridedBatch\b/hipsparseSgtsv2StridedBatch/g; - $ft{'library'} += s/\bcusparseSgtsv2StridedBatch_bufferSizeExt\b/hipsparseSgtsv2StridedBatch_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseSgtsv2_bufferSizeExt\b/hipsparseSgtsv2_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseSgtsv2_nopivot\b/hipsparseSgtsv2_nopivot/g; - $ft{'library'} += s/\bcusparseSgtsv2_nopivot_bufferSizeExt\b/hipsparseSgtsv2_nopivot_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseSgtsvInterleavedBatch\b/hipsparseSgtsvInterleavedBatch/g; - $ft{'library'} += s/\bcusparseSgtsvInterleavedBatch_bufferSizeExt\b/hipsparseSgtsvInterleavedBatch_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseShyb2csr\b/hipsparseShyb2csr/g; - $ft{'library'} += s/\bcusparseShybmv\b/hipsparseShybmv/g; - $ft{'library'} += s/\bcusparseSnnz\b/hipsparseSnnz/g; - $ft{'library'} += s/\bcusparseSnnz_compress\b/hipsparseSnnz_compress/g; - $ft{'library'} += s/\bcusparseSpGEMM_compute\b/hipsparseSpGEMM_compute/g; - $ft{'library'} += s/\bcusparseSpGEMM_copy\b/hipsparseSpGEMM_copy/g; - $ft{'library'} += s/\bcusparseSpGEMM_createDescr\b/hipsparseSpGEMM_createDescr/g; - $ft{'library'} += s/\bcusparseSpGEMM_destroyDescr\b/hipsparseSpGEMM_destroyDescr/g; - $ft{'library'} += s/\bcusparseSpGEMM_workEstimation\b/hipsparseSpGEMM_workEstimation/g; - $ft{'library'} += s/\bcusparseSpMM\b/hipsparseSpMM/g; - $ft{'library'} += s/\bcusparseSpMM_bufferSize\b/hipsparseSpMM_bufferSize/g; - $ft{'library'} += s/\bcusparseSpMM_preprocess\b/hipsparseSpMM_preprocess/g; - $ft{'library'} += s/\bcusparseSpMV\b/hipsparseSpMV/g; - $ft{'library'} += s/\bcusparseSpMV_bufferSize\b/hipsparseSpMV_bufferSize/g; - $ft{'library'} += s/\bcusparseSpMatGetAttribute\b/hipsparseSpMatGetAttribute/g; - $ft{'library'} += s/\bcusparseSpMatGetFormat\b/hipsparseSpMatGetFormat/g; - $ft{'library'} += s/\bcusparseSpMatGetIndexBase\b/hipsparseSpMatGetIndexBase/g; - $ft{'library'} += s/\bcusparseSpMatGetSize\b/hipsparseSpMatGetSize/g; - $ft{'library'} += s/\bcusparseSpMatGetValues\b/hipsparseSpMatGetValues/g; - $ft{'library'} += s/\bcusparseSpMatSetAttribute\b/hipsparseSpMatSetAttribute/g; - $ft{'library'} += s/\bcusparseSpMatSetValues\b/hipsparseSpMatSetValues/g; - $ft{'library'} += s/\bcusparseSpSM_analysis\b/hipsparseSpSM_analysis/g; - $ft{'library'} += s/\bcusparseSpSM_bufferSize\b/hipsparseSpSM_bufferSize/g; - $ft{'library'} += s/\bcusparseSpSM_createDescr\b/hipsparseSpSM_createDescr/g; - $ft{'library'} += s/\bcusparseSpSM_destroyDescr\b/hipsparseSpSM_destroyDescr/g; - $ft{'library'} += s/\bcusparseSpSM_solve\b/hipsparseSpSM_solve/g; - $ft{'library'} += s/\bcusparseSpSV_analysis\b/hipsparseSpSV_analysis/g; - $ft{'library'} += s/\bcusparseSpSV_bufferSize\b/hipsparseSpSV_bufferSize/g; - $ft{'library'} += s/\bcusparseSpSV_createDescr\b/hipsparseSpSV_createDescr/g; - $ft{'library'} += s/\bcusparseSpSV_destroyDescr\b/hipsparseSpSV_destroyDescr/g; - $ft{'library'} += s/\bcusparseSpSV_solve\b/hipsparseSpSV_solve/g; - $ft{'library'} += s/\bcusparseSpVV\b/hipsparseSpVV/g; - $ft{'library'} += s/\bcusparseSpVV_bufferSize\b/hipsparseSpVV_bufferSize/g; - $ft{'library'} += s/\bcusparseSpVecGet\b/hipsparseSpVecGet/g; - $ft{'library'} += s/\bcusparseSpVecGetIndexBase\b/hipsparseSpVecGetIndexBase/g; - $ft{'library'} += s/\bcusparseSpVecGetValues\b/hipsparseSpVecGetValues/g; - $ft{'library'} += s/\bcusparseSpVecSetValues\b/hipsparseSpVecSetValues/g; - $ft{'library'} += s/\bcusparseSparseToDense\b/hipsparseSparseToDense/g; - $ft{'library'} += s/\bcusparseSparseToDense_bufferSize\b/hipsparseSparseToDense_bufferSize/g; - $ft{'library'} += s/\bcusparseSpruneCsr2csr\b/hipsparseSpruneCsr2csr/g; - $ft{'library'} += s/\bcusparseSpruneCsr2csrByPercentage\b/hipsparseSpruneCsr2csrByPercentage/g; - $ft{'library'} += s/\bcusparseSpruneCsr2csrByPercentage_bufferSizeExt\b/hipsparseSpruneCsr2csrByPercentage_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseSpruneCsr2csrNnz\b/hipsparseSpruneCsr2csrNnz/g; - $ft{'library'} += s/\bcusparseSpruneCsr2csrNnzByPercentage\b/hipsparseSpruneCsr2csrNnzByPercentage/g; - $ft{'library'} += s/\bcusparseSpruneCsr2csr_bufferSizeExt\b/hipsparseSpruneCsr2csr_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseSpruneDense2csr\b/hipsparseSpruneDense2csr/g; - $ft{'library'} += s/\bcusparseSpruneDense2csrByPercentage\b/hipsparseSpruneDense2csrByPercentage/g; - $ft{'library'} += s/\bcusparseSpruneDense2csrByPercentage_bufferSizeExt\b/hipsparseSpruneDense2csrByPercentage_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseSpruneDense2csrNnz\b/hipsparseSpruneDense2csrNnz/g; - $ft{'library'} += s/\bcusparseSpruneDense2csrNnzByPercentage\b/hipsparseSpruneDense2csrNnzByPercentage/g; - $ft{'library'} += s/\bcusparseSpruneDense2csr_bufferSizeExt\b/hipsparseSpruneDense2csr_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseSroti\b/hipsparseSroti/g; - $ft{'library'} += s/\bcusparseSsctr\b/hipsparseSsctr/g; - $ft{'library'} += s/\bcusparseXbsric02_zeroPivot\b/hipsparseXbsric02_zeroPivot/g; - $ft{'library'} += s/\bcusparseXbsrilu02_zeroPivot\b/hipsparseXbsrilu02_zeroPivot/g; - $ft{'library'} += s/\bcusparseXbsrsm2_zeroPivot\b/hipsparseXbsrsm2_zeroPivot/g; - $ft{'library'} += s/\bcusparseXbsrsv2_zeroPivot\b/hipsparseXbsrsv2_zeroPivot/g; - $ft{'library'} += s/\bcusparseXcoo2csr\b/hipsparseXcoo2csr/g; - $ft{'library'} += s/\bcusparseXcoosortByColumn\b/hipsparseXcoosortByColumn/g; - $ft{'library'} += s/\bcusparseXcoosortByRow\b/hipsparseXcoosortByRow/g; - $ft{'library'} += s/\bcusparseXcoosort_bufferSizeExt\b/hipsparseXcoosort_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseXcscsort\b/hipsparseXcscsort/g; - $ft{'library'} += s/\bcusparseXcscsort_bufferSizeExt\b/hipsparseXcscsort_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseXcsr2bsrNnz\b/hipsparseXcsr2bsrNnz/g; - $ft{'library'} += s/\bcusparseXcsr2coo\b/hipsparseXcsr2coo/g; - $ft{'library'} += s/\bcusparseXcsr2gebsrNnz\b/hipsparseXcsr2gebsrNnz/g; - $ft{'library'} += s/\bcusparseXcsrgeam2Nnz\b/hipsparseXcsrgeam2Nnz/g; - $ft{'library'} += s/\bcusparseXcsrgeamNnz\b/hipsparseXcsrgeamNnz/g; - $ft{'library'} += s/\bcusparseXcsrgemm2Nnz\b/hipsparseXcsrgemm2Nnz/g; - $ft{'library'} += s/\bcusparseXcsrgemmNnz\b/hipsparseXcsrgemmNnz/g; - $ft{'library'} += s/\bcusparseXcsric02_zeroPivot\b/hipsparseXcsric02_zeroPivot/g; - $ft{'library'} += s/\bcusparseXcsrilu02_zeroPivot\b/hipsparseXcsrilu02_zeroPivot/g; - $ft{'library'} += s/\bcusparseXcsrsm2_zeroPivot\b/hipsparseXcsrsm2_zeroPivot/g; - $ft{'library'} += s/\bcusparseXcsrsort\b/hipsparseXcsrsort/g; - $ft{'library'} += s/\bcusparseXcsrsort_bufferSizeExt\b/hipsparseXcsrsort_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseXcsrsv2_zeroPivot\b/hipsparseXcsrsv2_zeroPivot/g; - $ft{'library'} += s/\bcusparseXgebsr2gebsrNnz\b/hipsparseXgebsr2gebsrNnz/g; - $ft{'library'} += s/\bcusparseZaxpyi\b/hipsparseZaxpyi/g; - $ft{'library'} += s/\bcusparseZbsr2csr\b/hipsparseZbsr2csr/g; - $ft{'library'} += s/\bcusparseZbsric02\b/hipsparseZbsric02/g; - $ft{'library'} += s/\bcusparseZbsric02_analysis\b/hipsparseZbsric02_analysis/g; - $ft{'library'} += s/\bcusparseZbsric02_bufferSize\b/hipsparseZbsric02_bufferSize/g; - $ft{'library'} += s/\bcusparseZbsrilu02\b/hipsparseZbsrilu02/g; - $ft{'library'} += s/\bcusparseZbsrilu02_analysis\b/hipsparseZbsrilu02_analysis/g; - $ft{'library'} += s/\bcusparseZbsrilu02_bufferSize\b/hipsparseZbsrilu02_bufferSize/g; - $ft{'library'} += s/\bcusparseZbsrilu02_numericBoost\b/hipsparseZbsrilu02_numericBoost/g; - $ft{'library'} += s/\bcusparseZbsrmm\b/hipsparseZbsrmm/g; - $ft{'library'} += s/\bcusparseZbsrmv\b/hipsparseZbsrmv/g; - $ft{'library'} += s/\bcusparseZbsrsm2_analysis\b/hipsparseZbsrsm2_analysis/g; - $ft{'library'} += s/\bcusparseZbsrsm2_bufferSize\b/hipsparseZbsrsm2_bufferSize/g; - $ft{'library'} += s/\bcusparseZbsrsm2_solve\b/hipsparseZbsrsm2_solve/g; - $ft{'library'} += s/\bcusparseZbsrsv2_analysis\b/hipsparseZbsrsv2_analysis/g; - $ft{'library'} += s/\bcusparseZbsrsv2_bufferSize\b/hipsparseZbsrsv2_bufferSize/g; - $ft{'library'} += s/\bcusparseZbsrsv2_bufferSizeExt\b/hipsparseZbsrsv2_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseZbsrsv2_solve\b/hipsparseZbsrsv2_solve/g; - $ft{'library'} += s/\bcusparseZbsrxmv\b/hipsparseZbsrxmv/g; - $ft{'library'} += s/\bcusparseZcsc2dense\b/hipsparseZcsc2dense/g; - $ft{'library'} += s/\bcusparseZcsr2bsr\b/hipsparseZcsr2bsr/g; - $ft{'library'} += s/\bcusparseZcsr2csc\b/hipsparseZcsr2csc/g; - $ft{'library'} += s/\bcusparseZcsr2csr_compress\b/hipsparseZcsr2csr_compress/g; - $ft{'library'} += s/\bcusparseZcsr2csru\b/hipsparseZcsr2csru/g; - $ft{'library'} += s/\bcusparseZcsr2dense\b/hipsparseZcsr2dense/g; - $ft{'library'} += s/\bcusparseZcsr2gebsr\b/hipsparseZcsr2gebsr/g; - $ft{'library'} += s/\bcusparseZcsr2gebsr_bufferSize\b/hipsparseZcsr2gebsr_bufferSize/g; - $ft{'library'} += s/\bcusparseZcsr2hyb\b/hipsparseZcsr2hyb/g; - $ft{'library'} += s/\bcusparseZcsrcolor\b/hipsparseZcsrcolor/g; - $ft{'library'} += s/\bcusparseZcsrgeam\b/hipsparseZcsrgeam/g; - $ft{'library'} += s/\bcusparseZcsrgeam2\b/hipsparseZcsrgeam2/g; - $ft{'library'} += s/\bcusparseZcsrgeam2_bufferSizeExt\b/hipsparseZcsrgeam2_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseZcsrgemm\b/hipsparseZcsrgemm/g; - $ft{'library'} += s/\bcusparseZcsrgemm2\b/hipsparseZcsrgemm2/g; - $ft{'library'} += s/\bcusparseZcsrgemm2_bufferSizeExt\b/hipsparseZcsrgemm2_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseZcsric02\b/hipsparseZcsric02/g; - $ft{'library'} += s/\bcusparseZcsric02_analysis\b/hipsparseZcsric02_analysis/g; - $ft{'library'} += s/\bcusparseZcsric02_bufferSize\b/hipsparseZcsric02_bufferSize/g; - $ft{'library'} += s/\bcusparseZcsric02_bufferSizeExt\b/hipsparseZcsric02_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseZcsrilu02\b/hipsparseZcsrilu02/g; - $ft{'library'} += s/\bcusparseZcsrilu02_analysis\b/hipsparseZcsrilu02_analysis/g; - $ft{'library'} += s/\bcusparseZcsrilu02_bufferSize\b/hipsparseZcsrilu02_bufferSize/g; - $ft{'library'} += s/\bcusparseZcsrilu02_bufferSizeExt\b/hipsparseZcsrilu02_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseZcsrilu02_numericBoost\b/hipsparseZcsrilu02_numericBoost/g; - $ft{'library'} += s/\bcusparseZcsrmm\b/hipsparseZcsrmm/g; - $ft{'library'} += s/\bcusparseZcsrmm2\b/hipsparseZcsrmm2/g; - $ft{'library'} += s/\bcusparseZcsrmv\b/hipsparseZcsrmv/g; - $ft{'library'} += s/\bcusparseZcsrsm2_analysis\b/hipsparseZcsrsm2_analysis/g; - $ft{'library'} += s/\bcusparseZcsrsm2_bufferSizeExt\b/hipsparseZcsrsm2_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseZcsrsm2_solve\b/hipsparseZcsrsm2_solve/g; - $ft{'library'} += s/\bcusparseZcsrsv2_analysis\b/hipsparseZcsrsv2_analysis/g; - $ft{'library'} += s/\bcusparseZcsrsv2_bufferSize\b/hipsparseZcsrsv2_bufferSize/g; - $ft{'library'} += s/\bcusparseZcsrsv2_bufferSizeExt\b/hipsparseZcsrsv2_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseZcsrsv2_solve\b/hipsparseZcsrsv2_solve/g; - $ft{'library'} += s/\bcusparseZcsru2csr\b/hipsparseZcsru2csr/g; - $ft{'library'} += s/\bcusparseZcsru2csr_bufferSizeExt\b/hipsparseZcsru2csr_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseZdense2csc\b/hipsparseZdense2csc/g; - $ft{'library'} += s/\bcusparseZdense2csr\b/hipsparseZdense2csr/g; - $ft{'library'} += s/\bcusparseZdotci\b/hipsparseZdotci/g; - $ft{'library'} += s/\bcusparseZdoti\b/hipsparseZdoti/g; - $ft{'library'} += s/\bcusparseZgebsr2csr\b/hipsparseZgebsr2csr/g; - $ft{'library'} += s/\bcusparseZgebsr2gebsc\b/hipsparseZgebsr2gebsc/g; - $ft{'library'} += s/\bcusparseZgebsr2gebsc_bufferSize\b/hipsparseZgebsr2gebsc_bufferSize/g; - $ft{'library'} += s/\bcusparseZgebsr2gebsr\b/hipsparseZgebsr2gebsr/g; - $ft{'library'} += s/\bcusparseZgebsr2gebsr_bufferSize\b/hipsparseZgebsr2gebsr_bufferSize/g; - $ft{'library'} += s/\bcusparseZgemmi\b/hipsparseZgemmi/g; - $ft{'library'} += s/\bcusparseZgemvi\b/hipsparseZgemvi/g; - $ft{'library'} += s/\bcusparseZgemvi_bufferSize\b/hipsparseZgemvi_bufferSize/g; - $ft{'library'} += s/\bcusparseZgpsvInterleavedBatch\b/hipsparseZgpsvInterleavedBatch/g; - $ft{'library'} += s/\bcusparseZgpsvInterleavedBatch_bufferSizeExt\b/hipsparseZgpsvInterleavedBatch_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseZgthr\b/hipsparseZgthr/g; - $ft{'library'} += s/\bcusparseZgthrz\b/hipsparseZgthrz/g; - $ft{'library'} += s/\bcusparseZgtsv2\b/hipsparseZgtsv2/g; - $ft{'library'} += s/\bcusparseZgtsv2StridedBatch\b/hipsparseZgtsv2StridedBatch/g; - $ft{'library'} += s/\bcusparseZgtsv2StridedBatch_bufferSizeExt\b/hipsparseZgtsv2StridedBatch_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseZgtsv2_bufferSizeExt\b/hipsparseZgtsv2_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseZgtsv2_nopivot\b/hipsparseZgtsv2_nopivot/g; - $ft{'library'} += s/\bcusparseZgtsv2_nopivot_bufferSizeExt\b/hipsparseZgtsv2_nopivot_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseZgtsvInterleavedBatch\b/hipsparseZgtsvInterleavedBatch/g; - $ft{'library'} += s/\bcusparseZgtsvInterleavedBatch_bufferSizeExt\b/hipsparseZgtsvInterleavedBatch_bufferSizeExt/g; - $ft{'library'} += s/\bcusparseZhyb2csr\b/hipsparseZhyb2csr/g; - $ft{'library'} += s/\bcusparseZhybmv\b/hipsparseZhybmv/g; - $ft{'library'} += s/\bcusparseZnnz\b/hipsparseZnnz/g; - $ft{'library'} += s/\bcusparseZnnz_compress\b/hipsparseZnnz_compress/g; - $ft{'library'} += s/\bcusparseZsctr\b/hipsparseZsctr/g; - $ft{'library'} += s/\bnvrtcAddNameExpression\b/hiprtcAddNameExpression/g; - $ft{'library'} += s/\bnvrtcCompileProgram\b/hiprtcCompileProgram/g; - $ft{'library'} += s/\bnvrtcCreateProgram\b/hiprtcCreateProgram/g; - $ft{'library'} += s/\bnvrtcDestroyProgram\b/hiprtcDestroyProgram/g; - $ft{'library'} += s/\bnvrtcGetErrorString\b/hiprtcGetErrorString/g; - $ft{'library'} += s/\bnvrtcGetLoweredName\b/hiprtcGetLoweredName/g; - $ft{'library'} += s/\bnvrtcGetPTX\b/hiprtcGetCode/g; - $ft{'library'} += s/\bnvrtcGetPTXSize\b/hiprtcGetCodeSize/g; - $ft{'library'} += s/\bnvrtcGetProgramLog\b/hiprtcGetProgramLog/g; - $ft{'library'} += s/\bnvrtcGetProgramLogSize\b/hiprtcGetProgramLogSize/g; - $ft{'library'} += s/\bnvrtcVersion\b/hiprtcVersion/g; - $ft{'device_library'} += s/\bcurand\b/hiprand/g; - $ft{'device_library'} += s/\bcurand_discrete\b/hiprand_discrete/g; - $ft{'device_library'} += s/\bcurand_discrete4\b/hiprand_discrete4/g; - $ft{'device_library'} += s/\bcurand_init\b/hiprand_init/g; - $ft{'device_library'} += s/\bcurand_log_normal\b/hiprand_log_normal/g; - $ft{'device_library'} += s/\bcurand_log_normal2\b/hiprand_log_normal2/g; - $ft{'device_library'} += s/\bcurand_log_normal2_double\b/hiprand_log_normal2_double/g; - $ft{'device_library'} += s/\bcurand_log_normal4\b/hiprand_log_normal4/g; - $ft{'device_library'} += s/\bcurand_log_normal4_double\b/hiprand_log_normal4_double/g; - $ft{'device_library'} += s/\bcurand_log_normal_double\b/hiprand_log_normal_double/g; - $ft{'device_library'} += s/\bcurand_normal\b/hiprand_normal/g; - $ft{'device_library'} += s/\bcurand_normal2\b/hiprand_normal2/g; - $ft{'device_library'} += s/\bcurand_normal2_double\b/hiprand_normal2_double/g; - $ft{'device_library'} += s/\bcurand_normal4\b/hiprand_normal4/g; - $ft{'device_library'} += s/\bcurand_normal4_double\b/hiprand_normal4_double/g; - $ft{'device_library'} += s/\bcurand_normal_double\b/hiprand_normal_double/g; - $ft{'device_library'} += s/\bcurand_poisson\b/hiprand_poisson/g; - $ft{'device_library'} += s/\bcurand_poisson4\b/hiprand_poisson4/g; - $ft{'device_library'} += s/\bcurand_uniform\b/hiprand_uniform/g; - $ft{'device_library'} += s/\bcurand_uniform2_double\b/hiprand_uniform2_double/g; - $ft{'device_library'} += s/\bcurand_uniform4\b/hiprand_uniform4/g; - $ft{'device_library'} += s/\bcurand_uniform4_double\b/hiprand_uniform4_double/g; - $ft{'device_library'} += s/\bcurand_uniform_double\b/hiprand_uniform_double/g; - $ft{'include'} += s/(?])\bcaffe2\/core\/common_cudnn.h\b/caffe2\/core\/hip\/common_miopen.h/g; - $ft{'include'} += s/(?])\bcaffe2\/operators\/spatial_batch_norm_op.h\b/caffe2\/operators\/hip\/spatial_batch_norm_op_miopen.hip/g; - $ft{'include'} += s/(?])\bchannel_descriptor.h\b/hip\/channel_descriptor.h/g; - $ft{'include'} += s/(?])\bcooperative_groups.h\b/hip\/hip_cooperative_groups.h/g; - $ft{'include'} += s/(?])\bcuda_fp16.h\b/hip\/hip_fp16.h/g; - $ft{'include'} += s/(?])\bcuda_profiler_api.h\b/hip\/hip_profile.h/g; - $ft{'include'} += s/(?])\bcuda_runtime_api.h\b/hip\/hip_runtime_api.h/g; - $ft{'include'} += s/(?])\bcuda_texture_types.h\b/hip\/hip_texture_types.h/g; - $ft{'include'} += s/(?])\bcufftXt.h\b/hipfftXt.h/g; - $ft{'include'} += s/(?])\bcurand_discrete.h\b/hiprand_kernel.h/g; - $ft{'include'} += s/(?])\bcurand_discrete2.h\b/hiprand_kernel.h/g; - $ft{'include'} += s/(?])\bcurand_globals.h\b/hiprand_kernel.h/g; - $ft{'include'} += s/(?])\bcurand_kernel.h\b/hiprand_kernel.h/g; - $ft{'include'} += s/(?])\bcurand_lognormal.h\b/hiprand_kernel.h/g; - $ft{'include'} += s/(?])\bcurand_mrg32k3a.h\b/hiprand_kernel.h/g; - $ft{'include'} += s/(?])\bcurand_mtgp32.h\b/hiprand_kernel.h/g; - $ft{'include'} += s/(?])\bcurand_mtgp32_host.h\b/hiprand_mtgp32_host.h/g; - $ft{'include'} += s/(?])\bcurand_mtgp32_kernel.h\b/hiprand_kernel.h/g; - $ft{'include'} += s/(?])\bcurand_mtgp32dc_p_11213.h\b/rocrand_mtgp32_11213.h/g; - $ft{'include'} += s/(?])\bcurand_normal.h\b/hiprand_kernel.h/g; - $ft{'include'} += s/(?])\bcurand_normal_static.h\b/hiprand_kernel.h/g; - $ft{'include'} += s/(?])\bcurand_philox4x32_x.h\b/hiprand_kernel.h/g; - $ft{'include'} += s/(?])\bcurand_poisson.h\b/hiprand_kernel.h/g; - $ft{'include'} += s/(?])\bcurand_precalc.h\b/hiprand_kernel.h/g; - $ft{'include'} += s/(?])\bcurand_uniform.h\b/hiprand_kernel.h/g; - $ft{'include'} += s/(?])\bdevice_functions.h\b/hip\/device_functions.h/g; - $ft{'include'} += s/(?])\bdriver_types.h\b/hip\/driver_types.h/g; - $ft{'include'} += s/(?])\btexture_fetch_functions.h\b//g; - $ft{'include'} += s/(?])\bvector_types.h\b/hip\/hip_vector_types.h/g; - $ft{'include_cuda_main_header'} += s/(?])\bcuComplex.h\b/hip\/hip_complex.h/g; - $ft{'include_cuda_main_header'} += s/(?])\bcub\/cub.cuh\b/hipcub\/hipcub.hpp/g; - $ft{'include_cuda_main_header'} += s/(?])\bcublas.h\b/hipblas.h/g; - $ft{'include_cuda_main_header'} += s/(?])\bcublas_v2.h\b/hipblas.h/g; - $ft{'include_cuda_main_header'} += s/(?])\bcuda.h\b/hip\/hip_runtime.h/g; - $ft{'include_cuda_main_header'} += s/(?])\bcuda_runtime.h\b/hip\/hip_runtime.h/g; - $ft{'include_cuda_main_header'} += s/(?])\bcudnn.h\b/hipDNN.h/g; - $ft{'include_cuda_main_header'} += s/(?])\bcufft.h\b/hipfft.h/g; - $ft{'include_cuda_main_header'} += s/(?])\bcurand.h\b/hiprand.h/g; - $ft{'include_cuda_main_header'} += s/(?])\bcusparse.h\b/hipsparse.h/g; - $ft{'include_cuda_main_header'} += s/(?])\bcusparse_v2.h\b/hipsparse.h/g; - $ft{'include_cuda_main_header'} += s/(?])\bnvrtc.h\b/hiprtc.h/g; - $ft{'type'} += s/\bCUDAContext\b/HIPContext/g; - $ft{'type'} += s/\bCUDA_ARRAY3D_DESCRIPTOR\b/HIP_ARRAY3D_DESCRIPTOR/g; - $ft{'type'} += s/\bCUDA_ARRAY3D_DESCRIPTOR_st\b/HIP_ARRAY3D_DESCRIPTOR/g; - $ft{'type'} += s/\bCUDA_ARRAY3D_DESCRIPTOR_v2\b/HIP_ARRAY3D_DESCRIPTOR/g; - $ft{'type'} += s/\bCUDA_ARRAY_DESCRIPTOR\b/HIP_ARRAY_DESCRIPTOR/g; - $ft{'type'} += s/\bCUDA_ARRAY_DESCRIPTOR_st\b/HIP_ARRAY_DESCRIPTOR/g; - $ft{'type'} += s/\bCUDA_ARRAY_DESCRIPTOR_v1\b/HIP_ARRAY_DESCRIPTOR/g; - $ft{'type'} += s/\bCUDA_ARRAY_DESCRIPTOR_v1_st\b/HIP_ARRAY_DESCRIPTOR/g; - $ft{'type'} += s/\bCUDA_ARRAY_DESCRIPTOR_v2\b/HIP_ARRAY_DESCRIPTOR/g; - $ft{'type'} += s/\bCUDA_EXTERNAL_MEMORY_BUFFER_DESC\b/hipExternalMemoryBufferDesc/g; - $ft{'type'} += s/\bCUDA_EXTERNAL_MEMORY_BUFFER_DESC_st\b/hipExternalMemoryBufferDesc_st/g; - $ft{'type'} += s/\bCUDA_EXTERNAL_MEMORY_BUFFER_DESC_v1\b/hipExternalMemoryBufferDesc/g; - $ft{'type'} += s/\bCUDA_EXTERNAL_MEMORY_HANDLE_DESC\b/hipExternalMemoryHandleDesc/g; - $ft{'type'} += s/\bCUDA_EXTERNAL_MEMORY_HANDLE_DESC_st\b/hipExternalMemoryHandleDesc_st/g; - $ft{'type'} += s/\bCUDA_EXTERNAL_MEMORY_HANDLE_DESC_v1\b/hipExternalMemoryHandleDesc/g; - $ft{'type'} += s/\bCUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC\b/hipExternalSemaphoreHandleDesc/g; - $ft{'type'} += s/\bCUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_st\b/hipExternalSemaphoreHandleDesc_st/g; - $ft{'type'} += s/\bCUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_v1\b/hipExternalSemaphoreHandleDesc/g; - $ft{'type'} += s/\bCUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS\b/hipExternalSemaphoreSignalParams/g; - $ft{'type'} += s/\bCUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS_st\b/hipExternalSemaphoreSignalParams_st/g; - $ft{'type'} += s/\bCUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS_v1\b/hipExternalSemaphoreSignalParams/g; - $ft{'type'} += s/\bCUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS\b/hipExternalSemaphoreWaitParams/g; - $ft{'type'} += s/\bCUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st\b/hipExternalSemaphoreWaitParams_st/g; - $ft{'type'} += s/\bCUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_v1\b/hipExternalSemaphoreWaitParams/g; - $ft{'type'} += s/\bCUDA_HOST_NODE_PARAMS\b/hipHostNodeParams/g; - $ft{'type'} += s/\bCUDA_HOST_NODE_PARAMS_st\b/hipHostNodeParams/g; - $ft{'type'} += s/\bCUDA_HOST_NODE_PARAMS_v1\b/hipHostNodeParams/g; - $ft{'type'} += s/\bCUDA_KERNEL_NODE_PARAMS\b/hipKernelNodeParams/g; - $ft{'type'} += s/\bCUDA_KERNEL_NODE_PARAMS_st\b/hipKernelNodeParams/g; - $ft{'type'} += s/\bCUDA_KERNEL_NODE_PARAMS_v1\b/hipKernelNodeParams/g; - $ft{'type'} += s/\bCUDA_MEMCPY2D\b/hip_Memcpy2D/g; - $ft{'type'} += s/\bCUDA_MEMCPY2D_st\b/hip_Memcpy2D/g; - $ft{'type'} += s/\bCUDA_MEMCPY2D_v1\b/hip_Memcpy2D/g; - $ft{'type'} += s/\bCUDA_MEMCPY2D_v1_st\b/hip_Memcpy2D/g; - $ft{'type'} += s/\bCUDA_MEMCPY2D_v2\b/hip_Memcpy2D/g; - $ft{'type'} += s/\bCUDA_MEMCPY3D\b/HIP_MEMCPY3D/g; - $ft{'type'} += s/\bCUDA_MEMCPY3D_st\b/HIP_MEMCPY3D/g; - $ft{'type'} += s/\bCUDA_MEMCPY3D_v1\b/HIP_MEMCPY3D/g; - $ft{'type'} += s/\bCUDA_MEMCPY3D_v1_st\b/HIP_MEMCPY3D/g; - $ft{'type'} += s/\bCUDA_MEMCPY3D_v2\b/HIP_MEMCPY3D/g; - $ft{'type'} += s/\bCUDA_MEMSET_NODE_PARAMS\b/hipMemsetParams/g; - $ft{'type'} += s/\bCUDA_MEMSET_NODE_PARAMS_st\b/hipMemsetParams/g; - $ft{'type'} += s/\bCUDA_MEMSET_NODE_PARAMS_v1\b/hipMemsetParams/g; - $ft{'type'} += s/\bCUDA_RESOURCE_DESC\b/HIP_RESOURCE_DESC/g; - $ft{'type'} += s/\bCUDA_RESOURCE_DESC_st\b/HIP_RESOURCE_DESC_st/g; - $ft{'type'} += s/\bCUDA_RESOURCE_DESC_v1\b/HIP_RESOURCE_DESC/g; - $ft{'type'} += s/\bCUDA_RESOURCE_VIEW_DESC\b/HIP_RESOURCE_VIEW_DESC/g; - $ft{'type'} += s/\bCUDA_RESOURCE_VIEW_DESC_st\b/HIP_RESOURCE_VIEW_DESC_st/g; - $ft{'type'} += s/\bCUDA_RESOURCE_VIEW_DESC_v1\b/HIP_RESOURCE_VIEW_DESC/g; - $ft{'type'} += s/\bCUDA_TEXTURE_DESC\b/HIP_TEXTURE_DESC/g; - $ft{'type'} += s/\bCUDA_TEXTURE_DESC_st\b/HIP_TEXTURE_DESC_st/g; - $ft{'type'} += s/\bCUDA_TEXTURE_DESC_v1\b/HIP_TEXTURE_DESC/g; - $ft{'type'} += s/\bCUGLDeviceList\b/hipGLDeviceList/g; - $ft{'type'} += s/\bCUGLDeviceList_enum\b/hipGLDeviceList/g; - $ft{'type'} += s/\bCUaddress_mode\b/HIPaddress_mode/g; - $ft{'type'} += s/\bCUaddress_mode_enum\b/HIPaddress_mode_enum/g; - $ft{'type'} += s/\bCUarray\b/hipArray_t/g; - $ft{'type'} += s/\bCUarray_format\b/hipArray_Format/g; - $ft{'type'} += s/\bCUarray_format_enum\b/hipArray_Format/g; - $ft{'type'} += s/\bCUarray_st\b/hipArray/g; - $ft{'type'} += s/\bCUcomputemode\b/hipComputeMode/g; - $ft{'type'} += s/\bCUcomputemode_enum\b/hipComputeMode/g; - $ft{'type'} += s/\bCUcontext\b/hipCtx_t/g; - $ft{'type'} += s/\bCUctx_st\b/ihipCtx_t/g; - $ft{'type'} += s/\bCUdevice\b/hipDevice_t/g; - $ft{'type'} += s/\bCUdevice_P2PAttribute\b/hipDeviceP2PAttr/g; - $ft{'type'} += s/\bCUdevice_P2PAttribute_enum\b/hipDeviceP2PAttr/g; - $ft{'type'} += s/\bCUdevice_attribute\b/hipDeviceAttribute_t/g; - $ft{'type'} += s/\bCUdevice_attribute_enum\b/hipDeviceAttribute_t/g; - $ft{'type'} += s/\bCUdevice_v1\b/hipDevice_t/g; - $ft{'type'} += s/\bCUdeviceptr\b/hipDeviceptr_t/g; - $ft{'type'} += s/\bCUdeviceptr_v1\b/hipDeviceptr_t/g; - $ft{'type'} += s/\bCUdeviceptr_v2\b/hipDeviceptr_t/g; - $ft{'type'} += s/\bCUevent\b/hipEvent_t/g; - $ft{'type'} += s/\bCUevent_st\b/ihipEvent_t/g; - $ft{'type'} += s/\bCUexternalMemory\b/hipExternalMemory_t/g; - $ft{'type'} += s/\bCUexternalMemoryHandleType\b/hipExternalMemoryHandleType/g; - $ft{'type'} += s/\bCUexternalMemoryHandleType_enum\b/hipExternalMemoryHandleType_enum/g; - $ft{'type'} += s/\bCUexternalSemaphore\b/hipExternalSemaphore_t/g; - $ft{'type'} += s/\bCUexternalSemaphoreHandleType\b/hipExternalSemaphoreHandleType/g; - $ft{'type'} += s/\bCUexternalSemaphoreHandleType_enum\b/hipExternalSemaphoreHandleType_enum/g; - $ft{'type'} += s/\bCUfilter_mode\b/HIPfilter_mode/g; - $ft{'type'} += s/\bCUfilter_mode_enum\b/HIPfilter_mode_enum/g; - $ft{'type'} += s/\bCUfunc_cache\b/hipFuncCache_t/g; - $ft{'type'} += s/\bCUfunc_cache_enum\b/hipFuncCache_t/g; - $ft{'type'} += s/\bCUfunc_st\b/ihipModuleSymbol_t/g; - $ft{'type'} += s/\bCUfunction\b/hipFunction_t/g; - $ft{'type'} += s/\bCUfunction_attribute\b/hipFunction_attribute/g; - $ft{'type'} += s/\bCUfunction_attribute_enum\b/hipFunction_attribute/g; - $ft{'type'} += s/\bCUgraph\b/hipGraph_t/g; - $ft{'type'} += s/\bCUgraphExec\b/hipGraphExec_t/g; - $ft{'type'} += s/\bCUgraphExecUpdateResult\b/hipGraphExecUpdateResult/g; - $ft{'type'} += s/\bCUgraphExecUpdateResult_enum\b/hipGraphExecUpdateResult/g; - $ft{'type'} += s/\bCUgraphExec_st\b/hipGraphExec/g; - $ft{'type'} += s/\bCUgraphNode\b/hipGraphNode_t/g; - $ft{'type'} += s/\bCUgraphNodeType\b/hipGraphNodeType/g; - $ft{'type'} += s/\bCUgraphNodeType_enum\b/hipGraphNodeType/g; - $ft{'type'} += s/\bCUgraphNode_st\b/hipGraphNode/g; - $ft{'type'} += s/\bCUgraph_st\b/ihipGraph/g; - $ft{'type'} += s/\bCUgraphicsRegisterFlags\b/hipGraphicsRegisterFlags/g; - $ft{'type'} += s/\bCUgraphicsRegisterFlags_enum\b/hipGraphicsRegisterFlags/g; - $ft{'type'} += s/\bCUgraphicsResource\b/hipGraphicsResource_t/g; - $ft{'type'} += s/\bCUgraphicsResource_st\b/hipGraphicsResource/g; - $ft{'type'} += s/\bCUhostFn\b/hipHostFn_t/g; - $ft{'type'} += s/\bCUipcEventHandle\b/hipIpcEventHandle_t/g; - $ft{'type'} += s/\bCUipcEventHandle_st\b/hipIpcEventHandle_st/g; - $ft{'type'} += s/\bCUipcEventHandle_v1\b/hipIpcEventHandle_t/g; - $ft{'type'} += s/\bCUipcMemHandle\b/hipIpcMemHandle_t/g; - $ft{'type'} += s/\bCUipcMemHandle_st\b/hipIpcMemHandle_st/g; - $ft{'type'} += s/\bCUipcMemHandle_v1\b/hipIpcMemHandle_t/g; - $ft{'type'} += s/\bCUjit_option\b/hipJitOption/g; - $ft{'type'} += s/\bCUjit_option_enum\b/hipJitOption/g; - $ft{'type'} += s/\bCUlimit\b/hipLimit_t/g; - $ft{'type'} += s/\bCUlimit_enum\b/hipLimit_t/g; - $ft{'type'} += s/\bCUmem_advise\b/hipMemoryAdvise/g; - $ft{'type'} += s/\bCUmem_advise_enum\b/hipMemoryAdvise/g; - $ft{'type'} += s/\bCUmem_range_attribute\b/hipMemRangeAttribute/g; - $ft{'type'} += s/\bCUmem_range_attribute_enum\b/hipMemRangeAttribute/g; - $ft{'type'} += s/\bCUmemorytype\b/hipMemoryType/g; - $ft{'type'} += s/\bCUmemorytype_enum\b/hipMemoryType/g; - $ft{'type'} += s/\bCUmipmappedArray\b/hipMipmappedArray_t/g; - $ft{'type'} += s/\bCUmipmappedArray_st\b/hipMipmappedArray/g; - $ft{'type'} += s/\bCUmod_st\b/ihipModule_t/g; - $ft{'type'} += s/\bCUmodule\b/hipModule_t/g; - $ft{'type'} += s/\bCUoccupancyB2DSize\b/void*/g; - $ft{'type'} += s/\bCUpointer_attribute\b/hipPointer_attribute/g; - $ft{'type'} += s/\bCUpointer_attribute_enum\b/hipPointer_attribute/g; - $ft{'type'} += s/\bCUresourceViewFormat\b/HIPresourceViewFormat/g; - $ft{'type'} += s/\bCUresourceViewFormat_enum\b/HIPresourceViewFormat_enum/g; - $ft{'type'} += s/\bCUresourcetype\b/HIPresourcetype/g; - $ft{'type'} += s/\bCUresourcetype_enum\b/HIPresourcetype_enum/g; - $ft{'type'} += s/\bCUresult\b/hipError_t/g; - $ft{'type'} += s/\bCUsharedconfig\b/hipSharedMemConfig/g; - $ft{'type'} += s/\bCUsharedconfig_enum\b/hipSharedMemConfig/g; - $ft{'type'} += s/\bCUstream\b/hipStream_t/g; - $ft{'type'} += s/\bCUstreamCallback\b/hipStreamCallback_t/g; - $ft{'type'} += s/\bCUstreamCaptureMode\b/hipStreamCaptureMode/g; - $ft{'type'} += s/\bCUstreamCaptureMode_enum\b/hipStreamCaptureMode/g; - $ft{'type'} += s/\bCUstreamCaptureStatus\b/hipStreamCaptureStatus/g; - $ft{'type'} += s/\bCUstreamCaptureStatus_enum\b/hipStreamCaptureStatus/g; - $ft{'type'} += s/\bCUstreamUpdateCaptureDependencies_flags\b/hipStreamUpdateCaptureDependenciesFlags/g; - $ft{'type'} += s/\bCUstreamUpdateCaptureDependencies_flags_enum\b/hipStreamUpdateCaptureDependenciesFlags/g; - $ft{'type'} += s/\bCUstream_st\b/ihipStream_t/g; - $ft{'type'} += s/\bCUsurfObject\b/hipSurfaceObject_t/g; - $ft{'type'} += s/\bCUsurfObject_v1\b/hipSurfaceObject_t/g; - $ft{'type'} += s/\bCUtexObject\b/hipTextureObject_t/g; - $ft{'type'} += s/\bCUtexObject_v1\b/hipTextureObject_t/g; - $ft{'type'} += s/\bCUtexref\b/hipTexRef/g; - $ft{'type'} += s/\bCUtexref_st\b/textureReference/g; - $ft{'type'} += s/\bbsric02Info_t\b/bsric02Info_t/g; - $ft{'type'} += s/\bbsrilu02Info_t\b/bsrilu02Info_t/g; - $ft{'type'} += s/\bbsrsm2Info\b/bsrsm2Info/g; - $ft{'type'} += s/\bbsrsm2Info_t\b/bsrsm2Info_t/g; - $ft{'type'} += s/\bbsrsv2Info_t\b/bsrsv2Info_t/g; - $ft{'type'} += s/\bcsrgemm2Info_t\b/csrgemm2Info_t/g; - $ft{'type'} += s/\bcsrilu02Info_t\b/csrilu02Info_t/g; - $ft{'type'} += s/\bcsrsm2Info_t\b/csrsm2Info_t/g; - $ft{'type'} += s/\bcsrsv2Info_t\b/csrsv2Info_t/g; - $ft{'type'} += s/\bcsru2csrInfo\b/csru2csrInfo/g; - $ft{'type'} += s/\bcsru2csrInfo_t\b/csru2csrInfo_t/g; - $ft{'type'} += s/\bcuComplex\b/hipComplex/g; - $ft{'type'} += s/\bcuDoubleComplex\b/hipDoubleComplex/g; - $ft{'type'} += s/\bcuFloatComplex\b/hipFloatComplex/g; - $ft{'type'} += s/\bcublasAtomicsMode_t\b/hipblasAtomicsMode_t/g; - $ft{'type'} += s/\bcublasDataType_t\b/hipblasDatatype_t/g; - $ft{'type'} += s/\bcublasDiagType_t\b/hipblasDiagType_t/g; - $ft{'type'} += s/\bcublasFillMode_t\b/hipblasFillMode_t/g; - $ft{'type'} += s/\bcublasGemmAlgo_t\b/hipblasGemmAlgo_t/g; - $ft{'type'} += s/\bcublasHandle_t\b/hipblasHandle_t/g; - $ft{'type'} += s/\bcublasOperation_t\b/hipblasOperation_t/g; - $ft{'type'} += s/\bcublasPointerMode_t\b/hipblasPointerMode_t/g; - $ft{'type'} += s/\bcublasSideMode_t\b/hipblasSideMode_t/g; - $ft{'type'} += s/\bcublasStatus\b/hipblasStatus_t/g; - $ft{'type'} += s/\bcublasStatus_t\b/hipblasStatus_t/g; - $ft{'type'} += s/\bcudaArray\b/hipArray/g; - $ft{'type'} += s/\bcudaArray_const_t\b/hipArray_const_t/g; - $ft{'type'} += s/\bcudaArray_t\b/hipArray_t/g; - $ft{'type'} += s/\bcudaChannelFormatDesc\b/hipChannelFormatDesc/g; - $ft{'type'} += s/\bcudaChannelFormatKind\b/hipChannelFormatKind/g; - $ft{'type'} += s/\bcudaComputeMode\b/hipComputeMode/g; - $ft{'type'} += s/\bcudaDataType\b/hipblasDatatype_t/g; - $ft{'type'} += s/\bcudaDataType_t\b/hipblasDatatype_t/g; - $ft{'type'} += s/\bcudaDeviceAttr\b/hipDeviceAttribute_t/g; - $ft{'type'} += s/\bcudaDeviceP2PAttr\b/hipDeviceP2PAttr/g; - $ft{'type'} += s/\bcudaDeviceProp\b/hipDeviceProp_t/g; - $ft{'type'} += s/\bcudaError\b/hipError_t/g; - $ft{'type'} += s/\bcudaError_enum\b/hipError_t/g; - $ft{'type'} += s/\bcudaError_t\b/hipError_t/g; - $ft{'type'} += s/\bcudaEvent_t\b/hipEvent_t/g; - $ft{'type'} += s/\bcudaExtent\b/hipExtent/g; - $ft{'type'} += s/\bcudaExternalMemoryBufferDesc\b/hipExternalMemoryBufferDesc/g; - $ft{'type'} += s/\bcudaExternalMemoryHandleDesc\b/hipExternalMemoryHandleDesc/g; - $ft{'type'} += s/\bcudaExternalMemoryHandleType\b/hipExternalMemoryHandleType/g; - $ft{'type'} += s/\bcudaExternalMemory_t\b/hipExternalMemory_t/g; - $ft{'type'} += s/\bcudaExternalSemaphoreHandleDesc\b/hipExternalSemaphoreHandleDesc/g; - $ft{'type'} += s/\bcudaExternalSemaphoreHandleType\b/hipExternalSemaphoreHandleType/g; - $ft{'type'} += s/\bcudaExternalSemaphoreSignalParams\b/hipExternalSemaphoreSignalParams/g; - $ft{'type'} += s/\bcudaExternalSemaphoreSignalParams_v1\b/hipExternalSemaphoreSignalParams/g; - $ft{'type'} += s/\bcudaExternalSemaphoreWaitParams\b/hipExternalSemaphoreWaitParams/g; - $ft{'type'} += s/\bcudaExternalSemaphoreWaitParams_v1\b/hipExternalSemaphoreWaitParams/g; - $ft{'type'} += s/\bcudaExternalSemaphore_t\b/hipExternalSemaphore_t/g; - $ft{'type'} += s/\bcudaFuncAttribute\b/hipFuncAttribute/g; - $ft{'type'} += s/\bcudaFuncAttributes\b/hipFuncAttributes/g; - $ft{'type'} += s/\bcudaFuncCache\b/hipFuncCache_t/g; - $ft{'type'} += s/\bcudaFunction_t\b/hipFunction_t/g; - $ft{'type'} += s/\bcudaGLDeviceList\b/hipGLDeviceList/g; - $ft{'type'} += s/\bcudaGraphExecUpdateResult\b/hipGraphExecUpdateResult/g; - $ft{'type'} += s/\bcudaGraphExec_t\b/hipGraphExec_t/g; - $ft{'type'} += s/\bcudaGraphNodeType\b/hipGraphNodeType/g; - $ft{'type'} += s/\bcudaGraphNode_t\b/hipGraphNode_t/g; - $ft{'type'} += s/\bcudaGraph_t\b/hipGraph_t/g; - $ft{'type'} += s/\bcudaGraphicsRegisterFlags\b/hipGraphicsRegisterFlags/g; - $ft{'type'} += s/\bcudaGraphicsResource\b/hipGraphicsResource/g; - $ft{'type'} += s/\bcudaGraphicsResource_t\b/hipGraphicsResource_t/g; - $ft{'type'} += s/\bcudaHostFn_t\b/hipHostFn_t/g; - $ft{'type'} += s/\bcudaHostNodeParams\b/hipHostNodeParams/g; - $ft{'type'} += s/\bcudaIpcEventHandle_st\b/hipIpcEventHandle_st/g; - $ft{'type'} += s/\bcudaIpcEventHandle_t\b/hipIpcEventHandle_t/g; - $ft{'type'} += s/\bcudaIpcMemHandle_st\b/hipIpcMemHandle_st/g; - $ft{'type'} += s/\bcudaIpcMemHandle_t\b/hipIpcMemHandle_t/g; - $ft{'type'} += s/\bcudaKernelNodeParams\b/hipKernelNodeParams/g; - $ft{'type'} += s/\bcudaLaunchParams\b/hipLaunchParams/g; - $ft{'type'} += s/\bcudaLimit\b/hipLimit_t/g; - $ft{'type'} += s/\bcudaMemRangeAttribute\b/hipMemRangeAttribute/g; - $ft{'type'} += s/\bcudaMemcpy3DParms\b/hipMemcpy3DParms/g; - $ft{'type'} += s/\bcudaMemcpyKind\b/hipMemcpyKind/g; - $ft{'type'} += s/\bcudaMemoryAdvise\b/hipMemoryAdvise/g; - $ft{'type'} += s/\bcudaMemoryType\b/hipMemoryType/g; - $ft{'type'} += s/\bcudaMemsetParams\b/hipMemsetParams/g; - $ft{'type'} += s/\bcudaMipmappedArray\b/hipMipmappedArray/g; - $ft{'type'} += s/\bcudaMipmappedArray_const_t\b/hipMipmappedArray_const_t/g; - $ft{'type'} += s/\bcudaMipmappedArray_t\b/hipMipmappedArray_t/g; - $ft{'type'} += s/\bcudaPitchedPtr\b/hipPitchedPtr/g; - $ft{'type'} += s/\bcudaPointerAttributes\b/hipPointerAttribute_t/g; - $ft{'type'} += s/\bcudaPos\b/hipPos/g; - $ft{'type'} += s/\bcudaResourceDesc\b/hipResourceDesc/g; - $ft{'type'} += s/\bcudaResourceType\b/hipResourceType/g; - $ft{'type'} += s/\bcudaResourceViewDesc\b/hipResourceViewDesc/g; - $ft{'type'} += s/\bcudaResourceViewFormat\b/hipResourceViewFormat/g; - $ft{'type'} += s/\bcudaSharedMemConfig\b/hipSharedMemConfig/g; - $ft{'type'} += s/\bcudaStreamCallback_t\b/hipStreamCallback_t/g; - $ft{'type'} += s/\bcudaStreamCaptureMode\b/hipStreamCaptureMode/g; - $ft{'type'} += s/\bcudaStreamCaptureStatus\b/hipStreamCaptureStatus/g; - $ft{'type'} += s/\bcudaStreamUpdateCaptureDependenciesFlags\b/hipStreamUpdateCaptureDependenciesFlags/g; - $ft{'type'} += s/\bcudaStream_t\b/hipStream_t/g; - $ft{'type'} += s/\bcudaSurfaceBoundaryMode\b/hipSurfaceBoundaryMode/g; - $ft{'type'} += s/\bcudaSurfaceObject_t\b/hipSurfaceObject_t/g; - $ft{'type'} += s/\bcudaTextureAddressMode\b/hipTextureAddressMode/g; - $ft{'type'} += s/\bcudaTextureDesc\b/hipTextureDesc/g; - $ft{'type'} += s/\bcudaTextureFilterMode\b/hipTextureFilterMode/g; - $ft{'type'} += s/\bcudaTextureObject_t\b/hipTextureObject_t/g; - $ft{'type'} += s/\bcudaTextureReadMode\b/hipTextureReadMode/g; - $ft{'type'} += s/\bcudnnActivationDescriptor_t\b/hipdnnActivationDescriptor_t/g; - $ft{'type'} += s/\bcudnnActivationMode_t\b/hipdnnActivationMode_t/g; - $ft{'type'} += s/\bcudnnBatchNormMode_t\b/hipdnnBatchNormMode_t/g; - $ft{'type'} += s/\bcudnnConvolutionBwdDataAlgoPerfStruct\b/hipdnnConvolutionBwdDataAlgoPerf_t/g; - $ft{'type'} += s/\bcudnnConvolutionBwdDataAlgoPerf_t\b/hipdnnConvolutionBwdDataAlgoPerf_t/g; - $ft{'type'} += s/\bcudnnConvolutionBwdDataAlgo_t\b/hipdnnConvolutionBwdDataAlgo_t/g; - $ft{'type'} += s/\bcudnnConvolutionBwdDataPreference_t\b/hipdnnConvolutionBwdDataPreference_t/g; - $ft{'type'} += s/\bcudnnConvolutionBwdFilterAlgoPerfStruct\b/hipdnnConvolutionBwdFilterAlgoPerf_t/g; - $ft{'type'} += s/\bcudnnConvolutionBwdFilterAlgoPerf_t\b/hipdnnConvolutionBwdFilterAlgoPerf_t/g; - $ft{'type'} += s/\bcudnnConvolutionBwdFilterAlgo_t\b/hipdnnConvolutionBwdFilterAlgo_t/g; - $ft{'type'} += s/\bcudnnConvolutionBwdFilterPreference_t\b/hipdnnConvolutionBwdFilterPreference_t/g; - $ft{'type'} += s/\bcudnnConvolutionDescriptor_t\b/hipdnnConvolutionDescriptor_t/g; - $ft{'type'} += s/\bcudnnConvolutionFwdAlgoPerfStruct\b/hipdnnConvolutionFwdAlgoPerf_t/g; - $ft{'type'} += s/\bcudnnConvolutionFwdAlgoPerf_t\b/hipdnnConvolutionFwdAlgoPerf_t/g; - $ft{'type'} += s/\bcudnnConvolutionFwdAlgo_t\b/hipdnnConvolutionFwdAlgo_t/g; - $ft{'type'} += s/\bcudnnConvolutionFwdPreference_t\b/hipdnnConvolutionFwdPreference_t/g; - $ft{'type'} += s/\bcudnnConvolutionMode_t\b/hipdnnConvolutionMode_t/g; - $ft{'type'} += s/\bcudnnDataType_t\b/hipdnnDataType_t/g; - $ft{'type'} += s/\bcudnnDirectionMode_t\b/hipdnnDirectionMode_t/g; - $ft{'type'} += s/\bcudnnDropoutDescriptor_t\b/hipdnnDropoutDescriptor_t/g; - $ft{'type'} += s/\bcudnnFilterDescriptor_t\b/hipdnnFilterDescriptor_t/g; - $ft{'type'} += s/\bcudnnHandle_t\b/hipdnnHandle_t/g; - $ft{'type'} += s/\bcudnnIndicesType_t\b/hipdnnIndicesType_t/g; - $ft{'type'} += s/\bcudnnLRNDescriptor_t\b/hipdnnLRNDescriptor_t/g; - $ft{'type'} += s/\bcudnnLRNMode_t\b/hipdnnLRNMode_t/g; - $ft{'type'} += s/\bcudnnMathType_t\b/hipdnnMathType_t/g; - $ft{'type'} += s/\bcudnnNanPropagation_t\b/hipdnnNanPropagation_t/g; - $ft{'type'} += s/\bcudnnOpTensorDescriptor_t\b/hipdnnOpTensorDescriptor_t/g; - $ft{'type'} += s/\bcudnnOpTensorOp_t\b/hipdnnOpTensorOp_t/g; - $ft{'type'} += s/\bcudnnPersistentRNNPlan_t\b/hipdnnPersistentRNNPlan_t/g; - $ft{'type'} += s/\bcudnnPoolingDescriptor_t\b/hipdnnPoolingDescriptor_t/g; - $ft{'type'} += s/\bcudnnPoolingMode_t\b/hipdnnPoolingMode_t/g; - $ft{'type'} += s/\bcudnnRNNAlgo_t\b/hipdnnRNNAlgo_t/g; - $ft{'type'} += s/\bcudnnRNNBiasMode_t\b/hipdnnRNNBiasMode_t/g; - $ft{'type'} += s/\bcudnnRNNDescriptor_t\b/hipdnnRNNDescriptor_t/g; - $ft{'type'} += s/\bcudnnRNNInputMode_t\b/hipdnnRNNInputMode_t/g; - $ft{'type'} += s/\bcudnnRNNMode_t\b/hipdnnRNNMode_t/g; - $ft{'type'} += s/\bcudnnReduceTensorDescriptor_t\b/hipdnnReduceTensorDescriptor_t/g; - $ft{'type'} += s/\bcudnnReduceTensorIndices_t\b/hipdnnReduceTensorIndices_t/g; - $ft{'type'} += s/\bcudnnReduceTensorOp_t\b/hipdnnReduceTensorOp_t/g; - $ft{'type'} += s/\bcudnnSoftmaxAlgorithm_t\b/hipdnnSoftmaxAlgorithm_t/g; - $ft{'type'} += s/\bcudnnSoftmaxMode_t\b/hipdnnSoftmaxMode_t/g; - $ft{'type'} += s/\bcudnnStatus_t\b/hipdnnStatus_t/g; - $ft{'type'} += s/\bcudnnTensorDescriptor_t\b/hipdnnTensorDescriptor_t/g; - $ft{'type'} += s/\bcudnnTensorFormat_t\b/hipdnnTensorFormat_t/g; - $ft{'type'} += s/\bcufftComplex\b/hipfftComplex/g; - $ft{'type'} += s/\bcufftDoubleComplex\b/hipfftDoubleComplex/g; - $ft{'type'} += s/\bcufftDoubleReal\b/hipfftDoubleReal/g; - $ft{'type'} += s/\bcufftHandle\b/hipfftHandle/g; - $ft{'type'} += s/\bcufftReal\b/hipfftReal/g; - $ft{'type'} += s/\bcufftResult\b/hipfftResult/g; - $ft{'type'} += s/\bcufftResult_t\b/hipfftResult_t/g; - $ft{'type'} += s/\bcufftType\b/hipfftType/g; - $ft{'type'} += s/\bcufftType_t\b/hipfftType_t/g; - $ft{'type'} += s/\bcufftXtCallbackType\b/hipfftXtCallbackType/g; - $ft{'type'} += s/\bcufftXtCallbackType_t\b/hipfftXtCallbackType_t/g; - $ft{'type'} += s/\bcurandDirectionVectors32_t\b/hiprandDirectionVectors32_t/g; - $ft{'type'} += s/\bcurandDiscreteDistribution_st\b/hiprandDiscreteDistribution_st/g; - $ft{'type'} += s/\bcurandDiscreteDistribution_t\b/hiprandDiscreteDistribution_t/g; - $ft{'type'} += s/\bcurandGenerator_st\b/hiprandGenerator_st/g; - $ft{'type'} += s/\bcurandGenerator_t\b/hiprandGenerator_t/g; - $ft{'type'} += s/\bcurandRngType\b/hiprandRngType_t/g; - $ft{'type'} += s/\bcurandRngType_t\b/hiprandRngType_t/g; - $ft{'type'} += s/\bcurandState\b/hiprandState/g; - $ft{'type'} += s/\bcurandStateMRG32k3a\b/hiprandStateMRG32k3a/g; - $ft{'type'} += s/\bcurandStateMRG32k3a_t\b/hiprandStateMRG32k3a_t/g; - $ft{'type'} += s/\bcurandStateMtgp32\b/hiprandStateMtgp32/g; - $ft{'type'} += s/\bcurandStateMtgp32_t\b/hiprandStateMtgp32_t/g; - $ft{'type'} += s/\bcurandStatePhilox4_32_10\b/hiprandStatePhilox4_32_10/g; - $ft{'type'} += s/\bcurandStatePhilox4_32_10_t\b/hiprandStatePhilox4_32_10_t/g; - $ft{'type'} += s/\bcurandStateSobol32\b/hiprandStateSobol32/g; - $ft{'type'} += s/\bcurandStateSobol32_t\b/hiprandStateSobol32_t/g; - $ft{'type'} += s/\bcurandStateXORWOW\b/hiprandStateXORWOW/g; - $ft{'type'} += s/\bcurandStateXORWOW_t\b/hiprandStateXORWOW_t/g; - $ft{'type'} += s/\bcurandState_t\b/hiprandState_t/g; - $ft{'type'} += s/\bcurandStatus\b/hiprandStatus_t/g; - $ft{'type'} += s/\bcurandStatus_t\b/hiprandStatus_t/g; - $ft{'type'} += s/\bcusparseAction_t\b/hipsparseAction_t/g; - $ft{'type'} += s/\bcusparseColorInfo_t\b/hipsparseColorInfo_t/g; - $ft{'type'} += s/\bcusparseDiagType_t\b/hipsparseDiagType_t/g; - $ft{'type'} += s/\bcusparseDirection_t\b/hipsparseDirection_t/g; - $ft{'type'} += s/\bcusparseDnMatDescr\b/hipsparseDnMatDescr/g; - $ft{'type'} += s/\bcusparseDnMatDescr_t\b/hipsparseDnMatDescr_t/g; - $ft{'type'} += s/\bcusparseDnVecDescr_t\b/hipsparseDnVecDescr_t/g; - $ft{'type'} += s/\bcusparseFillMode_t\b/hipsparseFillMode_t/g; - $ft{'type'} += s/\bcusparseFormat_t\b/hipsparseFormat_t/g; - $ft{'type'} += s/\bcusparseHandle_t\b/hipsparseHandle_t/g; - $ft{'type'} += s/\bcusparseHybMat_t\b/hipsparseHybMat_t/g; - $ft{'type'} += s/\bcusparseHybPartition_t\b/hipsparseHybPartition_t/g; - $ft{'type'} += s/\bcusparseIndexBase_t\b/hipsparseIndexBase_t/g; - $ft{'type'} += s/\bcusparseIndexType_t\b/hipsparseIndexType_t/g; - $ft{'type'} += s/\bcusparseMatDescr_t\b/hipsparseMatDescr_t/g; - $ft{'type'} += s/\bcusparseMatrixType_t\b/hipsparseMatrixType_t/g; - $ft{'type'} += s/\bcusparseOperation_t\b/hipsparseOperation_t/g; - $ft{'type'} += s/\bcusparseOrder_t\b/hipsparseOrder_t/g; - $ft{'type'} += s/\bcusparsePointerMode_t\b/hipsparsePointerMode_t/g; - $ft{'type'} += s/\bcusparseSDDMMAlg_t\b/hipsparseSDDMMAlg_t/g; - $ft{'type'} += s/\bcusparseSolvePolicy_t\b/hipsparseSolvePolicy_t/g; - $ft{'type'} += s/\bcusparseSpGEMMAlg_t\b/hipsparseSpGEMMAlg_t/g; - $ft{'type'} += s/\bcusparseSpGEMMDescr\b/hipsparseSpGEMMDescr/g; - $ft{'type'} += s/\bcusparseSpGEMMDescr_t\b/hipsparseSpGEMMDescr_t/g; - $ft{'type'} += s/\bcusparseSpMMAlg_t\b/hipsparseSpMMAlg_t/g; - $ft{'type'} += s/\bcusparseSpMVAlg_t\b/hipsparseSpMVAlg_t/g; - $ft{'type'} += s/\bcusparseSpMatAttribute_t\b/hipsparseSpMatAttribute_t/g; - $ft{'type'} += s/\bcusparseSpMatDescr_t\b/hipsparseSpMatDescr_t/g; - $ft{'type'} += s/\bcusparseSpSMAlg_t\b/hipsparseSpSMAlg_t/g; - $ft{'type'} += s/\bcusparseSpSMDescr\b/hipsparseSpSMDescr/g; - $ft{'type'} += s/\bcusparseSpSMDescr_t\b/hipsparseSpSMDescr_t/g; - $ft{'type'} += s/\bcusparseSpSVAlg_t\b/hipsparseSpSVAlg_t/g; - $ft{'type'} += s/\bcusparseSpSVDescr\b/hipsparseSpSVDescr/g; - $ft{'type'} += s/\bcusparseSpSVDescr_t\b/hipsparseSpSVDescr_t/g; - $ft{'type'} += s/\bcusparseSpVecDescr_t\b/hipsparseSpVecDescr_t/g; - $ft{'type'} += s/\bcusparseSparseToDenseAlg_t\b/hipsparseSparseToDenseAlg_t/g; - $ft{'type'} += s/\bcusparseStatus_t\b/hipsparseStatus_t/g; - $ft{'type'} += s/\bnvrtcProgram\b/hiprtcProgram/g; - $ft{'type'} += s/\bnvrtcResult\b/hiprtcResult/g; - $ft{'type'} += s/\bpruneInfo_t\b/pruneInfo_t/g; - $ft{'type'} += s/\bsurfaceReference\b/surfaceReference/g; - $ft{'numeric_literal'} += s/\bCUBLAS_ATOMICS_ALLOWED\b/HIPBLAS_ATOMICS_ALLOWED/g; - $ft{'numeric_literal'} += s/\bCUBLAS_ATOMICS_NOT_ALLOWED\b/HIPBLAS_ATOMICS_NOT_ALLOWED/g; - $ft{'numeric_literal'} += s/\bCUBLAS_DIAG_NON_UNIT\b/HIPBLAS_DIAG_NON_UNIT/g; - $ft{'numeric_literal'} += s/\bCUBLAS_DIAG_UNIT\b/HIPBLAS_DIAG_UNIT/g; - $ft{'numeric_literal'} += s/\bCUBLAS_FILL_MODE_FULL\b/HIPBLAS_FILL_MODE_FULL/g; - $ft{'numeric_literal'} += s/\bCUBLAS_FILL_MODE_LOWER\b/HIPBLAS_FILL_MODE_LOWER/g; - $ft{'numeric_literal'} += s/\bCUBLAS_FILL_MODE_UPPER\b/HIPBLAS_FILL_MODE_UPPER/g; - $ft{'numeric_literal'} += s/\bCUBLAS_GEMM_DEFAULT\b/HIPBLAS_GEMM_DEFAULT/g; - $ft{'numeric_literal'} += s/\bCUBLAS_GEMM_DFALT\b/HIPBLAS_GEMM_DEFAULT/g; - $ft{'numeric_literal'} += s/\bCUBLAS_OP_C\b/HIPBLAS_OP_C/g; - $ft{'numeric_literal'} += s/\bCUBLAS_OP_HERMITAN\b/HIPBLAS_OP_C/g; - $ft{'numeric_literal'} += s/\bCUBLAS_OP_N\b/HIPBLAS_OP_N/g; - $ft{'numeric_literal'} += s/\bCUBLAS_OP_T\b/HIPBLAS_OP_T/g; - $ft{'numeric_literal'} += s/\bCUBLAS_POINTER_MODE_DEVICE\b/HIPBLAS_POINTER_MODE_DEVICE/g; - $ft{'numeric_literal'} += s/\bCUBLAS_POINTER_MODE_HOST\b/HIPBLAS_POINTER_MODE_HOST/g; - $ft{'numeric_literal'} += s/\bCUBLAS_SIDE_LEFT\b/HIPBLAS_SIDE_LEFT/g; - $ft{'numeric_literal'} += s/\bCUBLAS_SIDE_RIGHT\b/HIPBLAS_SIDE_RIGHT/g; - $ft{'numeric_literal'} += s/\bCUBLAS_STATUS_ALLOC_FAILED\b/HIPBLAS_STATUS_ALLOC_FAILED/g; - $ft{'numeric_literal'} += s/\bCUBLAS_STATUS_ARCH_MISMATCH\b/HIPBLAS_STATUS_ARCH_MISMATCH/g; - $ft{'numeric_literal'} += s/\bCUBLAS_STATUS_EXECUTION_FAILED\b/HIPBLAS_STATUS_EXECUTION_FAILED/g; - $ft{'numeric_literal'} += s/\bCUBLAS_STATUS_INTERNAL_ERROR\b/HIPBLAS_STATUS_INTERNAL_ERROR/g; - $ft{'numeric_literal'} += s/\bCUBLAS_STATUS_INVALID_VALUE\b/HIPBLAS_STATUS_INVALID_VALUE/g; - $ft{'numeric_literal'} += s/\bCUBLAS_STATUS_LICENSE_ERROR\b/HIPBLAS_STATUS_UNKNOWN/g; - $ft{'numeric_literal'} += s/\bCUBLAS_STATUS_MAPPING_ERROR\b/HIPBLAS_STATUS_MAPPING_ERROR/g; - $ft{'numeric_literal'} += s/\bCUBLAS_STATUS_NOT_INITIALIZED\b/HIPBLAS_STATUS_NOT_INITIALIZED/g; - $ft{'numeric_literal'} += s/\bCUBLAS_STATUS_NOT_SUPPORTED\b/HIPBLAS_STATUS_NOT_SUPPORTED/g; - $ft{'numeric_literal'} += s/\bCUBLAS_STATUS_SUCCESS\b/HIPBLAS_STATUS_SUCCESS/g; - $ft{'numeric_literal'} += s/\bCUDA_C_16BF\b/HIPBLAS_C_16B/g; - $ft{'numeric_literal'} += s/\bCUDA_C_16F\b/HIPBLAS_C_16F/g; - $ft{'numeric_literal'} += s/\bCUDA_C_32F\b/HIPBLAS_C_32F/g; - $ft{'numeric_literal'} += s/\bCUDA_C_32I\b/HIPBLAS_C_32I/g; - $ft{'numeric_literal'} += s/\bCUDA_C_32U\b/HIPBLAS_C_32U/g; - $ft{'numeric_literal'} += s/\bCUDA_C_64F\b/HIPBLAS_C_64F/g; - $ft{'numeric_literal'} += s/\bCUDA_C_8I\b/HIPBLAS_C_8I/g; - $ft{'numeric_literal'} += s/\bCUDA_C_8U\b/HIPBLAS_C_8U/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_ALREADY_ACQUIRED\b/hipErrorAlreadyAcquired/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_ALREADY_MAPPED\b/hipErrorAlreadyMapped/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_ARRAY_IS_MAPPED\b/hipErrorArrayIsMapped/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_ASSERT\b/hipErrorAssert/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_CAPTURED_EVENT\b/hipErrorCapturedEvent/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_CONTEXT_ALREADY_CURRENT\b/hipErrorContextAlreadyCurrent/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_CONTEXT_ALREADY_IN_USE\b/hipErrorContextAlreadyInUse/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_CONTEXT_IS_DESTROYED\b/hipErrorContextIsDestroyed/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE\b/hipErrorCooperativeLaunchTooLarge/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_DEINITIALIZED\b/hipErrorDeinitialized/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_ECC_UNCORRECTABLE\b/hipErrorECCNotCorrectable/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_FILE_NOT_FOUND\b/hipErrorFileNotFound/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_GRAPH_EXEC_UPDATE_FAILURE\b/hipErrorGraphExecUpdateFailure/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED\b/hipErrorHostMemoryAlreadyRegistered/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_HOST_MEMORY_NOT_REGISTERED\b/hipErrorHostMemoryNotRegistered/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_ILLEGAL_ADDRESS\b/hipErrorIllegalAddress/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_ILLEGAL_STATE\b/hipErrorIllegalState/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_INVALID_CONTEXT\b/hipErrorInvalidContext/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_INVALID_DEVICE\b/hipErrorInvalidDevice/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_INVALID_GRAPHICS_CONTEXT\b/hipErrorInvalidGraphicsContext/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_INVALID_HANDLE\b/hipErrorInvalidHandle/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_INVALID_IMAGE\b/hipErrorInvalidImage/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_INVALID_PTX\b/hipErrorInvalidKernelFile/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_INVALID_SOURCE\b/hipErrorInvalidSource/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_INVALID_VALUE\b/hipErrorInvalidValue/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_LAUNCH_FAILED\b/hipErrorLaunchFailure/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_LAUNCH_OUT_OF_RESOURCES\b/hipErrorLaunchOutOfResources/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_LAUNCH_TIMEOUT\b/hipErrorLaunchTimeOut/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_MAP_FAILED\b/hipErrorMapFailed/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_NOT_FOUND\b/hipErrorNotFound/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_NOT_INITIALIZED\b/hipErrorNotInitialized/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_NOT_MAPPED\b/hipErrorNotMapped/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_NOT_MAPPED_AS_ARRAY\b/hipErrorNotMappedAsArray/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_NOT_MAPPED_AS_POINTER\b/hipErrorNotMappedAsPointer/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_NOT_READY\b/hipErrorNotReady/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_NOT_SUPPORTED\b/hipErrorNotSupported/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_NO_BINARY_FOR_GPU\b/hipErrorNoBinaryForGpu/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_NO_DEVICE\b/hipErrorNoDevice/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_OPERATING_SYSTEM\b/hipErrorOperatingSystem/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_OUT_OF_MEMORY\b/hipErrorOutOfMemory/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED\b/hipErrorPeerAccessAlreadyEnabled/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_PEER_ACCESS_NOT_ENABLED\b/hipErrorPeerAccessNotEnabled/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_PEER_ACCESS_UNSUPPORTED\b/hipErrorPeerAccessUnsupported/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_PRIMARY_CONTEXT_ACTIVE\b/hipErrorSetOnActiveProcess/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_PROFILER_ALREADY_STARTED\b/hipErrorProfilerAlreadyStarted/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_PROFILER_ALREADY_STOPPED\b/hipErrorProfilerAlreadyStopped/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_PROFILER_DISABLED\b/hipErrorProfilerDisabled/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_PROFILER_NOT_INITIALIZED\b/hipErrorProfilerNotInitialized/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_SHARED_OBJECT_INIT_FAILED\b/hipErrorSharedObjectInitFailed/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND\b/hipErrorSharedObjectSymbolNotFound/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_STREAM_CAPTURE_IMPLICIT\b/hipErrorStreamCaptureImplicit/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_STREAM_CAPTURE_INVALIDATED\b/hipErrorStreamCaptureInvalidated/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_STREAM_CAPTURE_ISOLATION\b/hipErrorStreamCaptureIsolation/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_STREAM_CAPTURE_MERGE\b/hipErrorStreamCaptureMerge/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_STREAM_CAPTURE_UNJOINED\b/hipErrorStreamCaptureUnjoined/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_STREAM_CAPTURE_UNMATCHED\b/hipErrorStreamCaptureUnmatched/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED\b/hipErrorStreamCaptureUnsupported/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD\b/hipErrorStreamCaptureWrongThread/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_UNKNOWN\b/hipErrorUnknown/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_UNMAP_FAILED\b/hipErrorUnmapFailed/g; - $ft{'numeric_literal'} += s/\bCUDA_ERROR_UNSUPPORTED_LIMIT\b/hipErrorUnsupportedLimit/g; - $ft{'numeric_literal'} += s/\bCUDA_R_16BF\b/HIPBLAS_R_16B/g; - $ft{'numeric_literal'} += s/\bCUDA_R_16F\b/HIPBLAS_R_16F/g; - $ft{'numeric_literal'} += s/\bCUDA_R_32F\b/HIPBLAS_R_32F/g; - $ft{'numeric_literal'} += s/\bCUDA_R_32I\b/HIPBLAS_R_32I/g; - $ft{'numeric_literal'} += s/\bCUDA_R_32U\b/HIPBLAS_R_32U/g; - $ft{'numeric_literal'} += s/\bCUDA_R_64F\b/HIPBLAS_R_64F/g; - $ft{'numeric_literal'} += s/\bCUDA_R_8I\b/HIPBLAS_R_8I/g; - $ft{'numeric_literal'} += s/\bCUDA_R_8U\b/HIPBLAS_R_8U/g; - $ft{'numeric_literal'} += s/\bCUDA_SUCCESS\b/hipSuccess/g; - $ft{'numeric_literal'} += s/\bCUDNN_16BIT_INDICES\b/HIPDNN_16BIT_INDICES/g; - $ft{'numeric_literal'} += s/\bCUDNN_32BIT_INDICES\b/HIPDNN_32BIT_INDICES/g; - $ft{'numeric_literal'} += s/\bCUDNN_64BIT_INDICES\b/HIPDNN_64BIT_INDICES/g; - $ft{'numeric_literal'} += s/\bCUDNN_8BIT_INDICES\b/HIPDNN_8BIT_INDICES/g; - $ft{'numeric_literal'} += s/\bCUDNN_ACTIVATION_CLIPPED_RELU\b/HIPDNN_ACTIVATION_CLIPPED_RELU/g; - $ft{'numeric_literal'} += s/\bCUDNN_ACTIVATION_ELU\b/HIPDNN_ACTIVATION_ELU/g; - $ft{'numeric_literal'} += s/\bCUDNN_ACTIVATION_IDENTITY\b/HIPDNN_ACTIVATION_PATHTRU/g; - $ft{'numeric_literal'} += s/\bCUDNN_ACTIVATION_RELU\b/HIPDNN_ACTIVATION_RELU/g; - $ft{'numeric_literal'} += s/\bCUDNN_ACTIVATION_SIGMOID\b/HIPDNN_ACTIVATION_SIGMOID/g; - $ft{'numeric_literal'} += s/\bCUDNN_ACTIVATION_SWISH\b/HIPDNN_ACTIVATION_SWISH/g; - $ft{'numeric_literal'} += s/\bCUDNN_ACTIVATION_TANH\b/HIPDNN_ACTIVATION_TANH/g; - $ft{'numeric_literal'} += s/\bCUDNN_BATCHNORM_PER_ACTIVATION\b/HIPDNN_BATCHNORM_PER_ACTIVATION/g; - $ft{'numeric_literal'} += s/\bCUDNN_BATCHNORM_SPATIAL\b/HIPDNN_BATCHNORM_SPATIAL/g; - $ft{'numeric_literal'} += s/\bCUDNN_BATCHNORM_SPATIAL_PERSISTENT\b/HIPDNN_BATCHNORM_SPATIAL_PERSISTENT/g; - $ft{'numeric_literal'} += s/\bCUDNN_BIDIRECTIONAL\b/HIPDNN_BIDIRECTIONAL/g; - $ft{'numeric_literal'} += s/\bCUDNN_BN_MIN_EPSILON\b/HIPDNN_BN_MIN_EPSILON/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION\b/HIPDNN_CONVOLUTION/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION_BWD_DATA_ALGO_0\b/HIPDNN_CONVOLUTION_BWD_DATA_ALGO_0/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION_BWD_DATA_ALGO_1\b/HIPDNN_CONVOLUTION_BWD_DATA_ALGO_1/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION_BWD_DATA_ALGO_COUNT\b/HIPDNN_CONVOLUTION_BWD_DATA_ALGO_TRANSPOSE_GEMM/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION_BWD_DATA_ALGO_FFT\b/HIPDNN_CONVOLUTION_BWD_DATA_ALGO_FFT/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION_BWD_DATA_ALGO_FFT_TILING\b/HIPDNN_CONVOLUTION_BWD_DATA_ALGO_FFT_TILING/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION_BWD_DATA_ALGO_WINOGRAD\b/HIPDNN_CONVOLUTION_BWD_DATA_ALGO_WINOGRAD/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION_BWD_DATA_ALGO_WINOGRAD_NONFUSED\b/HIPDNN_CONVOLUTION_BWD_DATA_ALGO_WINOGRAD_NONFUSED/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION_BWD_DATA_NO_WORKSPACE\b/HIPDNN_CONVOLUTION_BWD_DATA_NO_WORKSPACE/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION_BWD_DATA_PREFER_FASTEST\b/HIPDNN_CONVOLUTION_BWD_DATA_PREFER_FASTEST/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION_BWD_DATA_SPECIFY_WORKSPACE_LIMIT\b/HIPDNN_CONVOLUTION_BWD_DATA_SPECIFY_WORKSPACE_LIMIT/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION_BWD_FILTER_ALGO_0\b/HIPDNN_CONVOLUTION_BWD_FILTER_ALGO_0/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION_BWD_FILTER_ALGO_1\b/HIPDNN_CONVOLUTION_BWD_FILTER_ALGO_1/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION_BWD_FILTER_ALGO_3\b/HIPDNN_CONVOLUTION_BWD_FILTER_ALGO_3/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION_BWD_FILTER_ALGO_COUNT\b/HIPDNN_CONVOLUTION_BWD_FILTER_ALGO_COUNT/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION_BWD_FILTER_ALGO_FFT\b/HIPDNN_CONVOLUTION_BWD_FILTER_ALGO_FFT/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION_BWD_FILTER_ALGO_FFT_TILING\b/HIPDNN_CONVOLUTION_BWD_FILTER_ALGO_FFT_TILING/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION_BWD_FILTER_ALGO_WINOGRAD\b/HIPDNN_CONVOLUTION_BWD_FILTER_ALGO_WINOGRAD/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION_BWD_FILTER_ALGO_WINOGRAD_NONFUSED\b/HIPDNN_CONVOLUTION_BWD_FILTER_ALGO_WINOGRAD_NONFUSED/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION_BWD_FILTER_NO_WORKSPACE\b/HIPDNN_CONVOLUTION_BWD_FILTER_NO_WORKSPACE/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION_BWD_FILTER_PREFER_FASTEST\b/HIPDNN_CONVOLUTION_BWD_FILTER_PREFER_FASTEST/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION_BWD_FILTER_SPECIFY_WORKSPACE_LIMIT\b/HIPDNN_CONVOLUTION_BWD_FILTER_SPECIFY_WORKSPACE_LIMIT/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION_FWD_ALGO_COUNT\b/HIPDNN_CONVOLUTION_FWD_ALGO_COUNT/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION_FWD_ALGO_DIRECT\b/HIPDNN_CONVOLUTION_FWD_ALGO_DIRECT/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION_FWD_ALGO_FFT\b/HIPDNN_CONVOLUTION_FWD_ALGO_FFT/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION_FWD_ALGO_FFT_TILING\b/HIPDNN_CONVOLUTION_FWD_ALGO_FFT_TILING/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION_FWD_ALGO_GEMM\b/HIPDNN_CONVOLUTION_FWD_ALGO_GEMM/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION_FWD_ALGO_IMPLICIT_GEMM\b/HIPDNN_CONVOLUTION_FWD_ALGO_IMPLICIT_GEMM/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION_FWD_ALGO_IMPLICIT_PRECOMP_GEMM\b/HIPDNN_CONVOLUTION_FWD_ALGO_IMPLICIT_PRECOMP_GEMM/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION_FWD_ALGO_WINOGRAD\b/HIPDNN_CONVOLUTION_FWD_ALGO_WINOGRAD/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION_FWD_ALGO_WINOGRAD_NONFUSED\b/HIPDNN_CONVOLUTION_FWD_ALGO_WINOGRAD_NONFUSED/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION_FWD_NO_WORKSPACE\b/HIPDNN_CONVOLUTION_FWD_NO_WORKSPACE/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION_FWD_PREFER_FASTEST\b/HIPDNN_CONVOLUTION_FWD_PREFER_FASTEST/g; - $ft{'numeric_literal'} += s/\bCUDNN_CONVOLUTION_FWD_SPECIFY_WORKSPACE_LIMIT\b/HIPDNN_CONVOLUTION_FWD_SPECIFY_WORKSPACE_LIMIT/g; - $ft{'numeric_literal'} += s/\bCUDNN_CROSS_CORRELATION\b/HIPDNN_CROSS_CORRELATION/g; - $ft{'numeric_literal'} += s/\bCUDNN_DATA_DOUBLE\b/HIPDNN_DATA_DOUBLE/g; - $ft{'numeric_literal'} += s/\bCUDNN_DATA_FLOAT\b/HIPDNN_DATA_FLOAT/g; - $ft{'numeric_literal'} += s/\bCUDNN_DATA_HALF\b/HIPDNN_DATA_HALF/g; - $ft{'numeric_literal'} += s/\bCUDNN_DATA_INT32\b/HIPDNN_DATA_INT32/g; - $ft{'numeric_literal'} += s/\bCUDNN_DATA_INT8\b/HIPDNN_DATA_INT8/g; - $ft{'numeric_literal'} += s/\bCUDNN_DATA_INT8x4\b/HIPDNN_DATA_INT8x4/g; - $ft{'numeric_literal'} += s/\bCUDNN_DEFAULT_MATH\b/HIPDNN_DEFAULT_MATH/g; - $ft{'numeric_literal'} += s/\bCUDNN_GRU\b/HIPDNN_GRU/g; - $ft{'numeric_literal'} += s/\bCUDNN_LINEAR_INPUT\b/HIPDNN_LINEAR_INPUT/g; - $ft{'numeric_literal'} += s/\bCUDNN_LRN_CROSS_CHANNEL_DIM1\b/HIPDNN_LRN_CROSS_CHANNEL/g; - $ft{'numeric_literal'} += s/\bCUDNN_LSTM\b/HIPDNN_LSTM/g; - $ft{'numeric_literal'} += s/\bCUDNN_NOT_PROPAGATE_NAN\b/HIPDNN_NOT_PROPAGATE_NAN/g; - $ft{'numeric_literal'} += s/\bCUDNN_OP_TENSOR_ADD\b/HIPDNN_OP_TENSOR_ADD/g; - $ft{'numeric_literal'} += s/\bCUDNN_OP_TENSOR_MAX\b/HIPDNN_OP_TENSOR_MAX/g; - $ft{'numeric_literal'} += s/\bCUDNN_OP_TENSOR_MIN\b/HIPDNN_OP_TENSOR_MIN/g; - $ft{'numeric_literal'} += s/\bCUDNN_OP_TENSOR_MUL\b/HIPDNN_OP_TENSOR_MUL/g; - $ft{'numeric_literal'} += s/\bCUDNN_OP_TENSOR_SQRT\b/HIPDNN_OP_TENSOR_SQRT/g; - $ft{'numeric_literal'} += s/\bCUDNN_POOLING_AVERAGE_COUNT_EXCLUDE_PADDING\b/HIPDNN_POOLING_AVERAGE_COUNT_EXCLUDE_PADDING/g; - $ft{'numeric_literal'} += s/\bCUDNN_POOLING_AVERAGE_COUNT_INCLUDE_PADDING\b/HIPDNN_POOLING_AVERAGE_COUNT_INCLUDE_PADDING/g; - $ft{'numeric_literal'} += s/\bCUDNN_POOLING_MAX\b/HIPDNN_POOLING_MAX/g; - $ft{'numeric_literal'} += s/\bCUDNN_POOLING_MAX_DETERMINISTIC\b/HIPDNN_POOLING_MAX_DETERMINISTIC/g; - $ft{'numeric_literal'} += s/\bCUDNN_PROPAGATE_NAN\b/HIPDNN_PROPAGATE_NAN/g; - $ft{'numeric_literal'} += s/\bCUDNN_REDUCE_TENSOR_ADD\b/HIPDNN_REDUCE_TENSOR_ADD/g; - $ft{'numeric_literal'} += s/\bCUDNN_REDUCE_TENSOR_AMAX\b/HIPDNN_REDUCE_TENSOR_AMAX/g; - $ft{'numeric_literal'} += s/\bCUDNN_REDUCE_TENSOR_AVG\b/HIPDNN_REDUCE_TENSOR_AVG/g; - $ft{'numeric_literal'} += s/\bCUDNN_REDUCE_TENSOR_FLATTENED_INDICES\b/HIPDNN_REDUCE_TENSOR_FLATTENED_INDICES/g; - $ft{'numeric_literal'} += s/\bCUDNN_REDUCE_TENSOR_MAX\b/HIPDNN_REDUCE_TENSOR_MAX/g; - $ft{'numeric_literal'} += s/\bCUDNN_REDUCE_TENSOR_MIN\b/HIPDNN_REDUCE_TENSOR_MIN/g; - $ft{'numeric_literal'} += s/\bCUDNN_REDUCE_TENSOR_MUL\b/HIPDNN_REDUCE_TENSOR_MUL/g; - $ft{'numeric_literal'} += s/\bCUDNN_REDUCE_TENSOR_MUL_NO_ZEROS\b/HIPDNN_REDUCE_TENSOR_MUL_NO_ZEROS/g; - $ft{'numeric_literal'} += s/\bCUDNN_REDUCE_TENSOR_NORM1\b/HIPDNN_REDUCE_TENSOR_NORM1/g; - $ft{'numeric_literal'} += s/\bCUDNN_REDUCE_TENSOR_NORM2\b/HIPDNN_REDUCE_TENSOR_NORM2/g; - $ft{'numeric_literal'} += s/\bCUDNN_REDUCE_TENSOR_NO_INDICES\b/HIPDNN_REDUCE_TENSOR_NO_INDICES/g; - $ft{'numeric_literal'} += s/\bCUDNN_RNN_ALGO_PERSIST_DYNAMIC\b/HIPDNN_RNN_ALGO_PERSIST_DYNAMIC/g; - $ft{'numeric_literal'} += s/\bCUDNN_RNN_ALGO_PERSIST_STATIC\b/HIPDNN_RNN_ALGO_PERSIST_STATIC/g; - $ft{'numeric_literal'} += s/\bCUDNN_RNN_ALGO_PERSIST_STATIC_SMALL_H\b/HIPDNN_RNN_ALGO_PERSIST_STATIC_SMALL_H/g; - $ft{'numeric_literal'} += s/\bCUDNN_RNN_ALGO_STANDARD\b/HIPDNN_RNN_ALGO_STANDARD/g; - $ft{'numeric_literal'} += s/\bCUDNN_RNN_DOUBLE_BIAS\b/HIPDNN_RNN_WITH_BIAS/g; - $ft{'numeric_literal'} += s/\bCUDNN_RNN_NO_BIAS\b/HIPDNN_RNN_NO_BIAS/g; - $ft{'numeric_literal'} += s/\bCUDNN_RNN_RELU\b/HIPDNN_RNN_RELU/g; - $ft{'numeric_literal'} += s/\bCUDNN_RNN_SINGLE_INP_BIAS\b/HIPDNN_RNN_WITH_BIAS/g; - $ft{'numeric_literal'} += s/\bCUDNN_RNN_SINGLE_REC_BIAS\b/HIPDNN_RNN_WITH_BIAS/g; - $ft{'numeric_literal'} += s/\bCUDNN_RNN_TANH\b/HIPDNN_RNN_TANH/g; - $ft{'numeric_literal'} += s/\bCUDNN_SKIP_INPUT\b/HIPDNN_SKIP_INPUT/g; - $ft{'numeric_literal'} += s/\bCUDNN_SOFTMAX_ACCURATE\b/HIPDNN_SOFTMAX_ACCURATE/g; - $ft{'numeric_literal'} += s/\bCUDNN_SOFTMAX_FAST\b/HIPDNN_SOFTMAX_FAST/g; - $ft{'numeric_literal'} += s/\bCUDNN_SOFTMAX_LOG\b/HIPDNN_SOFTMAX_LOG/g; - $ft{'numeric_literal'} += s/\bCUDNN_SOFTMAX_MODE_CHANNEL\b/HIPDNN_SOFTMAX_MODE_CHANNEL/g; - $ft{'numeric_literal'} += s/\bCUDNN_SOFTMAX_MODE_INSTANCE\b/HIPDNN_SOFTMAX_MODE_INSTANCE/g; - $ft{'numeric_literal'} += s/\bCUDNN_STATUS_ALLOC_FAILED\b/HIPDNN_STATUS_ALLOC_FAILED/g; - $ft{'numeric_literal'} += s/\bCUDNN_STATUS_ARCH_MISMATCH\b/HIPDNN_STATUS_ARCH_MISMATCH/g; - $ft{'numeric_literal'} += s/\bCUDNN_STATUS_BAD_PARAM\b/HIPDNN_STATUS_BAD_PARAM/g; - $ft{'numeric_literal'} += s/\bCUDNN_STATUS_EXECUTION_FAILED\b/HIPDNN_STATUS_EXECUTION_FAILED/g; - $ft{'numeric_literal'} += s/\bCUDNN_STATUS_INTERNAL_ERROR\b/HIPDNN_STATUS_INTERNAL_ERROR/g; - $ft{'numeric_literal'} += s/\bCUDNN_STATUS_INVALID_VALUE\b/HIPDNN_STATUS_INVALID_VALUE/g; - $ft{'numeric_literal'} += s/\bCUDNN_STATUS_LICENSE_ERROR\b/HIPDNN_STATUS_LICENSE_ERROR/g; - $ft{'numeric_literal'} += s/\bCUDNN_STATUS_MAPPING_ERROR\b/HIPDNN_STATUS_MAPPING_ERROR/g; - $ft{'numeric_literal'} += s/\bCUDNN_STATUS_NOT_INITIALIZED\b/HIPDNN_STATUS_NOT_INITIALIZED/g; - $ft{'numeric_literal'} += s/\bCUDNN_STATUS_NOT_SUPPORTED\b/HIPDNN_STATUS_NOT_SUPPORTED/g; - $ft{'numeric_literal'} += s/\bCUDNN_STATUS_RUNTIME_PREREQUISITE_MISSING\b/HIPDNN_STATUS_RUNTIME_PREREQUISITE_MISSING/g; - $ft{'numeric_literal'} += s/\bCUDNN_STATUS_SUCCESS\b/HIPDNN_STATUS_SUCCESS/g; - $ft{'numeric_literal'} += s/\bCUDNN_TENSOR_NCHW\b/HIPDNN_TENSOR_NCHW/g; - $ft{'numeric_literal'} += s/\bCUDNN_TENSOR_NCHW_VECT_C\b/HIPDNN_TENSOR_NCHW_VECT_C/g; - $ft{'numeric_literal'} += s/\bCUDNN_TENSOR_NHWC\b/HIPDNN_TENSOR_NHWC/g; - $ft{'numeric_literal'} += s/\bCUDNN_TENSOR_OP_MATH\b/HIPDNN_TENSOR_OP_MATH/g; - $ft{'numeric_literal'} += s/\bCUDNN_UNIDIRECTIONAL\b/HIPDNN_UNIDIRECTIONAL/g; - $ft{'numeric_literal'} += s/\bCUDNN_VERSION\b/HIPDNN_VERSION/g; - $ft{'numeric_literal'} += s/\bCUFFT_ALLOC_FAILED\b/HIPFFT_ALLOC_FAILED/g; - $ft{'numeric_literal'} += s/\bCUFFT_C2C\b/HIPFFT_C2C/g; - $ft{'numeric_literal'} += s/\bCUFFT_C2R\b/HIPFFT_C2R/g; - $ft{'numeric_literal'} += s/\bCUFFT_CB_LD_COMPLEX\b/HIPFFT_CB_LD_COMPLEX/g; - $ft{'numeric_literal'} += s/\bCUFFT_CB_LD_COMPLEX_DOUBLE\b/HIPFFT_CB_LD_COMPLEX_DOUBLE/g; - $ft{'numeric_literal'} += s/\bCUFFT_CB_LD_REAL\b/HIPFFT_CB_LD_REAL/g; - $ft{'numeric_literal'} += s/\bCUFFT_CB_LD_REAL_DOUBLE\b/HIPFFT_CB_LD_REAL_DOUBLE/g; - $ft{'numeric_literal'} += s/\bCUFFT_CB_ST_COMPLEX\b/HIPFFT_CB_ST_COMPLEX/g; - $ft{'numeric_literal'} += s/\bCUFFT_CB_ST_COMPLEX_DOUBLE\b/HIPFFT_CB_ST_COMPLEX_DOUBLE/g; - $ft{'numeric_literal'} += s/\bCUFFT_CB_ST_REAL\b/HIPFFT_CB_ST_REAL/g; - $ft{'numeric_literal'} += s/\bCUFFT_CB_ST_REAL_DOUBLE\b/HIPFFT_CB_ST_REAL_DOUBLE/g; - $ft{'numeric_literal'} += s/\bCUFFT_CB_UNDEFINED\b/HIPFFT_CB_UNDEFINED/g; - $ft{'numeric_literal'} += s/\bCUFFT_D2Z\b/HIPFFT_D2Z/g; - $ft{'numeric_literal'} += s/\bCUFFT_EXEC_FAILED\b/HIPFFT_EXEC_FAILED/g; - $ft{'numeric_literal'} += s/\bCUFFT_FORWARD\b/HIPFFT_FORWARD/g; - $ft{'numeric_literal'} += s/\bCUFFT_INCOMPLETE_PARAMETER_LIST\b/HIPFFT_INCOMPLETE_PARAMETER_LIST/g; - $ft{'numeric_literal'} += s/\bCUFFT_INTERNAL_ERROR\b/HIPFFT_INTERNAL_ERROR/g; - $ft{'numeric_literal'} += s/\bCUFFT_INVALID_DEVICE\b/HIPFFT_INVALID_DEVICE/g; - $ft{'numeric_literal'} += s/\bCUFFT_INVALID_PLAN\b/HIPFFT_INVALID_PLAN/g; - $ft{'numeric_literal'} += s/\bCUFFT_INVALID_SIZE\b/HIPFFT_INVALID_SIZE/g; - $ft{'numeric_literal'} += s/\bCUFFT_INVALID_TYPE\b/HIPFFT_INVALID_TYPE/g; - $ft{'numeric_literal'} += s/\bCUFFT_INVALID_VALUE\b/HIPFFT_INVALID_VALUE/g; - $ft{'numeric_literal'} += s/\bCUFFT_INVERSE\b/HIPFFT_BACKWARD/g; - $ft{'numeric_literal'} += s/\bCUFFT_NOT_IMPLEMENTED\b/HIPFFT_NOT_IMPLEMENTED/g; - $ft{'numeric_literal'} += s/\bCUFFT_NOT_SUPPORTED\b/HIPFFT_NOT_SUPPORTED/g; - $ft{'numeric_literal'} += s/\bCUFFT_NO_WORKSPACE\b/HIPFFT_NO_WORKSPACE/g; - $ft{'numeric_literal'} += s/\bCUFFT_PARSE_ERROR\b/HIPFFT_PARSE_ERROR/g; - $ft{'numeric_literal'} += s/\bCUFFT_R2C\b/HIPFFT_R2C/g; - $ft{'numeric_literal'} += s/\bCUFFT_SETUP_FAILED\b/HIPFFT_SETUP_FAILED/g; - $ft{'numeric_literal'} += s/\bCUFFT_SUCCESS\b/HIPFFT_SUCCESS/g; - $ft{'numeric_literal'} += s/\bCUFFT_UNALIGNED_DATA\b/HIPFFT_UNALIGNED_DATA/g; - $ft{'numeric_literal'} += s/\bCUFFT_Z2D\b/HIPFFT_Z2D/g; - $ft{'numeric_literal'} += s/\bCUFFT_Z2Z\b/HIPFFT_Z2Z/g; - $ft{'numeric_literal'} += s/\bCURAND_RNG_PSEUDO_DEFAULT\b/HIPRAND_RNG_PSEUDO_DEFAULT/g; - $ft{'numeric_literal'} += s/\bCURAND_RNG_PSEUDO_MRG32K3A\b/HIPRAND_RNG_PSEUDO_MRG32K3A/g; - $ft{'numeric_literal'} += s/\bCURAND_RNG_PSEUDO_MT19937\b/HIPRAND_RNG_PSEUDO_MT19937/g; - $ft{'numeric_literal'} += s/\bCURAND_RNG_PSEUDO_MTGP32\b/HIPRAND_RNG_PSEUDO_MTGP32/g; - $ft{'numeric_literal'} += s/\bCURAND_RNG_PSEUDO_PHILOX4_32_10\b/HIPRAND_RNG_PSEUDO_PHILOX4_32_10/g; - $ft{'numeric_literal'} += s/\bCURAND_RNG_PSEUDO_XORWOW\b/HIPRAND_RNG_PSEUDO_XORWOW/g; - $ft{'numeric_literal'} += s/\bCURAND_RNG_QUASI_DEFAULT\b/HIPRAND_RNG_QUASI_DEFAULT/g; - $ft{'numeric_literal'} += s/\bCURAND_RNG_QUASI_SCRAMBLED_SOBOL32\b/HIPRAND_RNG_QUASI_SCRAMBLED_SOBOL32/g; - $ft{'numeric_literal'} += s/\bCURAND_RNG_QUASI_SCRAMBLED_SOBOL64\b/HIPRAND_RNG_QUASI_SCRAMBLED_SOBOL64/g; - $ft{'numeric_literal'} += s/\bCURAND_RNG_QUASI_SOBOL32\b/HIPRAND_RNG_QUASI_SOBOL32/g; - $ft{'numeric_literal'} += s/\bCURAND_RNG_QUASI_SOBOL64\b/HIPRAND_RNG_QUASI_SOBOL64/g; - $ft{'numeric_literal'} += s/\bCURAND_RNG_TEST\b/HIPRAND_RNG_TEST/g; - $ft{'numeric_literal'} += s/\bCURAND_STATUS_ALLOCATION_FAILED\b/HIPRAND_STATUS_ALLOCATION_FAILED/g; - $ft{'numeric_literal'} += s/\bCURAND_STATUS_ARCH_MISMATCH\b/HIPRAND_STATUS_ARCH_MISMATCH/g; - $ft{'numeric_literal'} += s/\bCURAND_STATUS_DOUBLE_PRECISION_REQUIRED\b/HIPRAND_STATUS_DOUBLE_PRECISION_REQUIRED/g; - $ft{'numeric_literal'} += s/\bCURAND_STATUS_INITIALIZATION_FAILED\b/HIPRAND_STATUS_INITIALIZATION_FAILED/g; - $ft{'numeric_literal'} += s/\bCURAND_STATUS_INTERNAL_ERROR\b/HIPRAND_STATUS_INTERNAL_ERROR/g; - $ft{'numeric_literal'} += s/\bCURAND_STATUS_LAUNCH_FAILURE\b/HIPRAND_STATUS_LAUNCH_FAILURE/g; - $ft{'numeric_literal'} += s/\bCURAND_STATUS_LENGTH_NOT_MULTIPLE\b/HIPRAND_STATUS_LENGTH_NOT_MULTIPLE/g; - $ft{'numeric_literal'} += s/\bCURAND_STATUS_NOT_INITIALIZED\b/HIPRAND_STATUS_NOT_INITIALIZED/g; - $ft{'numeric_literal'} += s/\bCURAND_STATUS_OUT_OF_RANGE\b/HIPRAND_STATUS_OUT_OF_RANGE/g; - $ft{'numeric_literal'} += s/\bCURAND_STATUS_PREEXISTING_FAILURE\b/HIPRAND_STATUS_PREEXISTING_FAILURE/g; - $ft{'numeric_literal'} += s/\bCURAND_STATUS_SUCCESS\b/HIPRAND_STATUS_SUCCESS/g; - $ft{'numeric_literal'} += s/\bCURAND_STATUS_TYPE_ERROR\b/HIPRAND_STATUS_TYPE_ERROR/g; - $ft{'numeric_literal'} += s/\bCURAND_STATUS_VERSION_MISMATCH\b/HIPRAND_STATUS_VERSION_MISMATCH/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_ACTION_NUMERIC\b/HIPSPARSE_ACTION_NUMERIC/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_ACTION_SYMBOLIC\b/HIPSPARSE_ACTION_SYMBOLIC/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_COOMM_ALG1\b/HIPSPARSE_COOMM_ALG1/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_COOMM_ALG2\b/HIPSPARSE_COOMM_ALG2/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_COOMM_ALG3\b/HIPSPARSE_COOMM_ALG3/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_COOMV_ALG\b/HIPSPARSE_COOMV_ALG/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_CSRMM_ALG1\b/HIPSPARSE_CSRMM_ALG1/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_CSRMV_ALG1\b/HIPSPARSE_CSRMV_ALG1/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_CSRMV_ALG2\b/HIPSPARSE_CSRMV_ALG2/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_DIAG_TYPE_NON_UNIT\b/HIPSPARSE_DIAG_TYPE_NON_UNIT/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_DIAG_TYPE_UNIT\b/HIPSPARSE_DIAG_TYPE_UNIT/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_DIRECTION_COLUMN\b/HIPSPARSE_DIRECTION_COLUMN/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_DIRECTION_ROW\b/HIPSPARSE_DIRECTION_ROW/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_FILL_MODE_LOWER\b/HIPSPARSE_FILL_MODE_LOWER/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_FILL_MODE_UPPER\b/HIPSPARSE_FILL_MODE_UPPER/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_FORMAT_BLOCKED_ELL\b/HIPSPARSE_FORMAT_BLOCKED_ELL/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_FORMAT_COO\b/HIPSPARSE_FORMAT_COO/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_FORMAT_COO_AOS\b/HIPSPARSE_FORMAT_COO_AOS/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_FORMAT_CSC\b/HIPSPARSE_FORMAT_CSC/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_FORMAT_CSR\b/HIPSPARSE_FORMAT_CSR/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_HYB_PARTITION_AUTO\b/HIPSPARSE_HYB_PARTITION_AUTO/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_HYB_PARTITION_MAX\b/HIPSPARSE_HYB_PARTITION_MAX/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_HYB_PARTITION_USER\b/HIPSPARSE_HYB_PARTITION_USER/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_INDEX_16U\b/HIPSPARSE_INDEX_16U/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_INDEX_32I\b/HIPSPARSE_INDEX_32I/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_INDEX_64I\b/HIPSPARSE_INDEX_64I/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_INDEX_BASE_ONE\b/HIPSPARSE_INDEX_BASE_ONE/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_INDEX_BASE_ZERO\b/HIPSPARSE_INDEX_BASE_ZERO/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_MATRIX_TYPE_GENERAL\b/HIPSPARSE_MATRIX_TYPE_GENERAL/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_MATRIX_TYPE_HERMITIAN\b/HIPSPARSE_MATRIX_TYPE_HERMITIAN/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_MATRIX_TYPE_SYMMETRIC\b/HIPSPARSE_MATRIX_TYPE_SYMMETRIC/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_MATRIX_TYPE_TRIANGULAR\b/HIPSPARSE_MATRIX_TYPE_TRIANGULAR/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_MM_ALG_DEFAULT\b/HIPSPARSE_MM_ALG_DEFAULT/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_MV_ALG_DEFAULT\b/HIPSPARSE_MV_ALG_DEFAULT/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_OPERATION_CONJUGATE_TRANSPOSE\b/HIPSPARSE_OPERATION_CONJUGATE_TRANSPOSE/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_OPERATION_NON_TRANSPOSE\b/HIPSPARSE_OPERATION_NON_TRANSPOSE/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_OPERATION_TRANSPOSE\b/HIPSPARSE_OPERATION_TRANSPOSE/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_ORDER_COL\b/HIPSPARSE_ORDER_COL/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_ORDER_ROW\b/HIPSPARSE_ORDER_ROW/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_POINTER_MODE_DEVICE\b/HIPSPARSE_POINTER_MODE_DEVICE/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_POINTER_MODE_HOST\b/HIPSPARSE_POINTER_MODE_HOST/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_SDDMM_ALG_DEFAULT\b/HIPSPARSE_SDDMM_ALG_DEFAULT/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_SOLVE_POLICY_NO_LEVEL\b/HIPSPARSE_SOLVE_POLICY_NO_LEVEL/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_SOLVE_POLICY_USE_LEVEL\b/HIPSPARSE_SOLVE_POLICY_USE_LEVEL/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_SPARSETODENSE_ALG_DEFAULT\b/HIPSPARSE_SPARSETODENSE_ALG_DEFAULT/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_SPGEMM_DEFAULT\b/HIPSPARSE_SPGEMM_DEFAULT/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_SPMAT_DIAG_TYPE\b/HIPSPARSE_SPMAT_DIAG_TYPE/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_SPMAT_FILL_MODE\b/HIPSPARSE_SPMAT_FILL_MODE/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_SPMM_ALG_DEFAULT\b/HIPSPARSE_SPMM_ALG_DEFAULT/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_SPMM_BLOCKED_ELL_ALG1\b/HIPSPARSE_SPMM_BLOCKED_ELL_ALG1/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_SPMM_COO_ALG1\b/HIPSPARSE_SPMM_COO_ALG1/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_SPMM_COO_ALG2\b/HIPSPARSE_SPMM_COO_ALG2/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_SPMM_COO_ALG3\b/HIPSPARSE_SPMM_COO_ALG3/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_SPMM_COO_ALG4\b/HIPSPARSE_SPMM_COO_ALG4/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_SPMM_CSR_ALG1\b/HIPSPARSE_SPMM_CSR_ALG1/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_SPMM_CSR_ALG2\b/HIPSPARSE_SPMM_CSR_ALG2/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_SPMM_CSR_ALG3\b/HIPSPARSE_SPMM_CSR_ALG3/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_SPMV_ALG_DEFAULT\b/HIPSPARSE_SPMV_ALG_DEFAULT/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_SPMV_COO_ALG1\b/HIPSPARSE_SPMV_COO_ALG1/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_SPMV_COO_ALG2\b/HIPSPARSE_SPMV_COO_ALG2/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_SPMV_CSR_ALG1\b/HIPSPARSE_SPMV_CSR_ALG1/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_SPMV_CSR_ALG2\b/HIPSPARSE_SPMV_CSR_ALG2/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_SPSM_ALG_DEFAULT\b/HIPSPARSE_SPSM_ALG_DEFAULT/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_SPSV_ALG_DEFAULT\b/HIPSPARSE_SPSV_ALG_DEFAULT/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_STATUS_ALLOC_FAILED\b/HIPSPARSE_STATUS_ALLOC_FAILED/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_STATUS_ARCH_MISMATCH\b/HIPSPARSE_STATUS_ARCH_MISMATCH/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_STATUS_EXECUTION_FAILED\b/HIPSPARSE_STATUS_EXECUTION_FAILED/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_STATUS_INSUFFICIENT_RESOURCES\b/HIPSPARSE_STATUS_INSUFFICIENT_RESOURCES/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_STATUS_INTERNAL_ERROR\b/HIPSPARSE_STATUS_INTERNAL_ERROR/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_STATUS_INVALID_VALUE\b/HIPSPARSE_STATUS_INVALID_VALUE/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_STATUS_MAPPING_ERROR\b/HIPSPARSE_STATUS_MAPPING_ERROR/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_STATUS_MATRIX_TYPE_NOT_SUPPORTED\b/HIPSPARSE_STATUS_MATRIX_TYPE_NOT_SUPPORTED/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_STATUS_NOT_INITIALIZED\b/HIPSPARSE_STATUS_NOT_INITIALIZED/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_STATUS_NOT_SUPPORTED\b/HIPSPARSE_STATUS_NOT_SUPPORTED/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_STATUS_SUCCESS\b/HIPSPARSE_STATUS_SUCCESS/g; - $ft{'numeric_literal'} += s/\bCUSPARSE_STATUS_ZERO_PIVOT\b/HIPSPARSE_STATUS_ZERO_PIVOT/g; - $ft{'numeric_literal'} += s/\bCU_AD_FORMAT_FLOAT\b/HIP_AD_FORMAT_FLOAT/g; - $ft{'numeric_literal'} += s/\bCU_AD_FORMAT_HALF\b/HIP_AD_FORMAT_HALF/g; - $ft{'numeric_literal'} += s/\bCU_AD_FORMAT_SIGNED_INT16\b/HIP_AD_FORMAT_SIGNED_INT16/g; - $ft{'numeric_literal'} += s/\bCU_AD_FORMAT_SIGNED_INT32\b/HIP_AD_FORMAT_SIGNED_INT32/g; - $ft{'numeric_literal'} += s/\bCU_AD_FORMAT_SIGNED_INT8\b/HIP_AD_FORMAT_SIGNED_INT8/g; - $ft{'numeric_literal'} += s/\bCU_AD_FORMAT_UNSIGNED_INT16\b/HIP_AD_FORMAT_UNSIGNED_INT16/g; - $ft{'numeric_literal'} += s/\bCU_AD_FORMAT_UNSIGNED_INT32\b/HIP_AD_FORMAT_UNSIGNED_INT32/g; - $ft{'numeric_literal'} += s/\bCU_AD_FORMAT_UNSIGNED_INT8\b/HIP_AD_FORMAT_UNSIGNED_INT8/g; - $ft{'numeric_literal'} += s/\bCU_COMPUTEMODE_DEFAULT\b/hipComputeModeDefault/g; - $ft{'numeric_literal'} += s/\bCU_COMPUTEMODE_EXCLUSIVE\b/hipComputeModeExclusive/g; - $ft{'numeric_literal'} += s/\bCU_COMPUTEMODE_EXCLUSIVE_PROCESS\b/hipComputeModeExclusiveProcess/g; - $ft{'numeric_literal'} += s/\bCU_COMPUTEMODE_PROHIBITED\b/hipComputeModeProhibited/g; - $ft{'numeric_literal'} += s/\bCU_CTX_BLOCKING_SYNC\b/hipDeviceScheduleBlockingSync/g; - $ft{'numeric_literal'} += s/\bCU_CTX_LMEM_RESIZE_TO_MAX\b/hipDeviceLmemResizeToMax/g; - $ft{'numeric_literal'} += s/\bCU_CTX_MAP_HOST\b/hipDeviceMapHost/g; - $ft{'numeric_literal'} += s/\bCU_CTX_SCHED_AUTO\b/hipDeviceScheduleAuto/g; - $ft{'numeric_literal'} += s/\bCU_CTX_SCHED_BLOCKING_SYNC\b/hipDeviceScheduleBlockingSync/g; - $ft{'numeric_literal'} += s/\bCU_CTX_SCHED_MASK\b/hipDeviceScheduleMask/g; - $ft{'numeric_literal'} += s/\bCU_CTX_SCHED_SPIN\b/hipDeviceScheduleSpin/g; - $ft{'numeric_literal'} += s/\bCU_CTX_SCHED_YIELD\b/hipDeviceScheduleYield/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT\b/hipDeviceAttributeAsyncEngineCount/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY\b/hipDeviceAttributeCanMapHostMemory/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM\b/hipDeviceAttributeCanUseHostPointerForRegisteredMem/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR\b/hipDeviceAttributeCanUseStreamWaitValue/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_CLOCK_RATE\b/hipDeviceAttributeClockRate/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR\b/hipDeviceAttributeComputeCapabilityMajor/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR\b/hipDeviceAttributeComputeCapabilityMinor/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_COMPUTE_MODE\b/hipDeviceAttributeComputeMode/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED\b/hipDeviceAttributeComputePreemptionSupported/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_CONCURRENT_KERNELS\b/hipDeviceAttributeConcurrentKernels/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS\b/hipDeviceAttributeConcurrentManagedAccess/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH\b/hipDeviceAttributeCooperativeLaunch/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH\b/hipDeviceAttributeCooperativeMultiDeviceLaunch/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST\b/hipDeviceAttributeDirectManagedMemAccessFromHost/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_ECC_ENABLED\b/hipDeviceAttributeEccEnabled/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED\b/hipDeviceAttributeGlobalL1CacheSupported/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH\b/hipDeviceAttributeMemoryBusWidth/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_GPU_OVERLAP\b/hipDeviceAttributeAsyncEngineCount/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED\b/hipDeviceAttributeHostNativeAtomicSupported/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_INTEGRATED\b/hipDeviceAttributeIntegrated/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT\b/hipDeviceAttributeKernelExecTimeout/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_L2_CACHE_SIZE\b/hipDeviceAttributeL2CacheSize/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED\b/hipDeviceAttributeLocalL1CacheSupported/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MANAGED_MEMORY\b/hipDeviceAttributeManagedMemory/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH\b/hipDeviceAttributeMaxSurface1DLayered/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH\b/hipDeviceAttributeMaxSurface1D/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT\b/hipDeviceAttributeMaxSurface2D/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT\b/hipDeviceAttributeMaxSurface2DLayered/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH\b/hipDeviceAttributeMaxSurface2DLayered/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH\b/hipDeviceAttributeMaxSurface2D/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH\b/hipDeviceAttributeMaxSurface3D/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT\b/hipDeviceAttributeMaxSurface3D/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH\b/hipDeviceAttributeMaxSurface3D/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH\b/hipDeviceAttributeMaxSurfaceCubemapLayered/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH\b/hipDeviceAttributeMaxSurfaceCubemap/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH\b/hipDeviceAttributeMaxTexture1DLayered/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH\b/hipDeviceAttributeMaxTexture1DLinear/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH\b/hipDeviceAttributeMaxTexture1DMipmap/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH\b/hipDeviceAttributeMaxTexture1DWidth/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT\b/hipDeviceAttributeMaxTexture2DLayered/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH\b/hipDeviceAttributeMaxTexture2DLayered/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT\b/hipDeviceAttributeMaxTexture2DGather/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH\b/hipDeviceAttributeMaxTexture2DGather/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT\b/hipDeviceAttributeMaxTexture2DHeight/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT\b/hipDeviceAttributeMaxTexture2DLayered/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH\b/hipDeviceAttributeMaxTexture2DLayered/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT\b/hipDeviceAttributeMaxTexture2DLinear/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH\b/hipDeviceAttributeMaxTexture2DLinear/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH\b/hipDeviceAttributeMaxTexture2DLinear/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT\b/hipDeviceAttributeMaxTexture2DMipmap/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH\b/hipDeviceAttributeMaxTexture2DMipmap/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH\b/hipDeviceAttributeMaxTexture2DWidth/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH\b/hipDeviceAttributeMaxTexture3DDepth/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE\b/hipDeviceAttributeMaxTexture3DAlt/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT\b/hipDeviceAttributeMaxTexture3DHeight/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE\b/hipDeviceAttributeMaxTexture3DAlt/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH\b/hipDeviceAttributeMaxTexture3DWidth/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE\b/hipDeviceAttributeMaxTexture3DAlt/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH\b/hipDeviceAttributeMaxTextureCubemapLayered/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH\b/hipDeviceAttributeMaxTextureCubemap/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAX_BLOCKS_PER_MULTIPROCESSOR\b/hipDeviceAttributeMaxBlocksPerMultiprocessor/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X\b/hipDeviceAttributeMaxBlockDimX/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y\b/hipDeviceAttributeMaxBlockDimY/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z\b/hipDeviceAttributeMaxBlockDimZ/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAX_GRID_DIM_X\b/hipDeviceAttributeMaxGridDimX/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAX_GRID_DIM_Y\b/hipDeviceAttributeMaxGridDimY/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAX_GRID_DIM_Z\b/hipDeviceAttributeMaxGridDimZ/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAX_PITCH\b/hipDeviceAttributeMaxPitch/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK\b/hipDeviceAttributeMaxRegistersPerBlock/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR\b/hipDeviceAttributeMaxRegistersPerMultiprocessor/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK\b/hipDeviceAttributeMaxSharedMemoryPerBlock/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN\b/hipDeviceAttributeSharedMemPerBlockOptin/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR\b/hipDeviceAttributeMaxSharedMemoryPerMultiprocessor/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK\b/hipDeviceAttributeMaxThreadsPerBlock/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR\b/hipDeviceAttributeMaxThreadsPerMultiProcessor/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE\b/hipDeviceAttributeMemoryClockRate/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT\b/hipDeviceAttributeMultiprocessorCount/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MULTI_GPU_BOARD\b/hipDeviceAttributeIsMultiGpuBoard/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID\b/hipDeviceAttributeMultiGpuBoardGroupId/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS\b/hipDeviceAttributePageableMemoryAccess/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES\b/hipDeviceAttributePageableMemoryAccessUsesHostPageTables/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_PCI_BUS_ID\b/hipDeviceAttributePciBusId/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_PCI_DEVICE_ID\b/hipDeviceAttributePciDeviceId/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_PCI_DOMAIN_ID\b/hipDeviceAttributePciDomainID/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK\b/hipDeviceAttributeMaxRegistersPerBlock/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK\b/hipDeviceAttributeMaxSharedMemoryPerBlock/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO\b/hipDeviceAttributeSingleToDoublePrecisionPerfRatio/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED\b/hipDeviceAttributeStreamPrioritiesSupported/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_SURFACE_ALIGNMENT\b/hipDeviceAttributeSurfaceAlignment/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_TCC_DRIVER\b/hipDeviceAttributeTccDriver/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT\b/hipDeviceAttributeTextureAlignment/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT\b/hipDeviceAttributeTexturePitchAlignment/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY\b/hipDeviceAttributeTotalConstantMemory/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_UNIFIED_ADDRESSING\b/hipDeviceAttributeUnifiedAddressing/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_ATTRIBUTE_WARP_SIZE\b/hipDeviceAttributeWarpSize/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_P2P_ATTRIBUTE_ACCESS_ACCESS_SUPPORTED\b/hipDevP2PAttrHipArrayAccessSupported/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_P2P_ATTRIBUTE_ACCESS_SUPPORTED\b/hipDevP2PAttrAccessSupported/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_P2P_ATTRIBUTE_ARRAY_ACCESS_ACCESS_SUPPORTED\b/hipDevP2PAttrHipArrayAccessSupported/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_P2P_ATTRIBUTE_CUDA_ARRAY_ACCESS_SUPPORTED\b/hipDevP2PAttrHipArrayAccessSupported/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_P2P_ATTRIBUTE_NATIVE_ATOMIC_SUPPORTED\b/hipDevP2PAttrNativeAtomicSupported/g; - $ft{'numeric_literal'} += s/\bCU_DEVICE_P2P_ATTRIBUTE_PERFORMANCE_RANK\b/hipDevP2PAttrPerformanceRank/g; - $ft{'numeric_literal'} += s/\bCU_EVENT_BLOCKING_SYNC\b/hipEventBlockingSync/g; - $ft{'numeric_literal'} += s/\bCU_EVENT_DEFAULT\b/hipEventDefault/g; - $ft{'numeric_literal'} += s/\bCU_EVENT_DISABLE_TIMING\b/hipEventDisableTiming/g; - $ft{'numeric_literal'} += s/\bCU_EVENT_INTERPROCESS\b/hipEventInterprocess/g; - $ft{'numeric_literal'} += s/\bCU_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_RESOURCE\b/hipExternalMemoryHandleTypeD3D11Resource/g; - $ft{'numeric_literal'} += s/\bCU_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_RESOURCE_KMT\b/hipExternalMemoryHandleTypeD3D11ResourceKmt/g; - $ft{'numeric_literal'} += s/\bCU_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP\b/hipExternalMemoryHandleTypeD3D12Heap/g; - $ft{'numeric_literal'} += s/\bCU_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE\b/hipExternalMemoryHandleTypeD3D12Resource/g; - $ft{'numeric_literal'} += s/\bCU_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD\b/hipExternalMemoryHandleTypeOpaqueFd/g; - $ft{'numeric_literal'} += s/\bCU_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32\b/hipExternalMemoryHandleTypeOpaqueWin32/g; - $ft{'numeric_literal'} += s/\bCU_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT\b/hipExternalMemoryHandleTypeOpaqueWin32Kmt/g; - $ft{'numeric_literal'} += s/\bCU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE\b/hipExternalSemaphoreHandleTypeD3D12Fence/g; - $ft{'numeric_literal'} += s/\bCU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD\b/hipExternalSemaphoreHandleTypeOpaqueFd/g; - $ft{'numeric_literal'} += s/\bCU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32\b/hipExternalSemaphoreHandleTypeOpaqueWin32/g; - $ft{'numeric_literal'} += s/\bCU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT\b/hipExternalSemaphoreHandleTypeOpaqueWin32Kmt/g; - $ft{'numeric_literal'} += s/\bCU_FUNC_ATTRIBUTE_BINARY_VERSION\b/HIP_FUNC_ATTRIBUTE_BINARY_VERSION/g; - $ft{'numeric_literal'} += s/\bCU_FUNC_ATTRIBUTE_CACHE_MODE_CA\b/HIP_FUNC_ATTRIBUTE_CACHE_MODE_CA/g; - $ft{'numeric_literal'} += s/\bCU_FUNC_ATTRIBUTE_CONST_SIZE_BYTES\b/HIP_FUNC_ATTRIBUTE_CONST_SIZE_BYTES/g; - $ft{'numeric_literal'} += s/\bCU_FUNC_ATTRIBUTE_LOCAL_SIZE_BYTES\b/HIP_FUNC_ATTRIBUTE_LOCAL_SIZE_BYTES/g; - $ft{'numeric_literal'} += s/\bCU_FUNC_ATTRIBUTE_MAX\b/HIP_FUNC_ATTRIBUTE_MAX/g; - $ft{'numeric_literal'} += s/\bCU_FUNC_ATTRIBUTE_MAX_DYNAMIC_SHARED_SIZE_BYTES\b/HIP_FUNC_ATTRIBUTE_MAX_DYNAMIC_SHARED_SIZE_BYTES/g; - $ft{'numeric_literal'} += s/\bCU_FUNC_ATTRIBUTE_MAX_THREADS_PER_BLOCK\b/HIP_FUNC_ATTRIBUTE_MAX_THREADS_PER_BLOCK/g; - $ft{'numeric_literal'} += s/\bCU_FUNC_ATTRIBUTE_NUM_REGS\b/HIP_FUNC_ATTRIBUTE_NUM_REGS/g; - $ft{'numeric_literal'} += s/\bCU_FUNC_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT\b/HIP_FUNC_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT/g; - $ft{'numeric_literal'} += s/\bCU_FUNC_ATTRIBUTE_PTX_VERSION\b/HIP_FUNC_ATTRIBUTE_PTX_VERSION/g; - $ft{'numeric_literal'} += s/\bCU_FUNC_ATTRIBUTE_SHARED_SIZE_BYTES\b/HIP_FUNC_ATTRIBUTE_SHARED_SIZE_BYTES/g; - $ft{'numeric_literal'} += s/\bCU_FUNC_CACHE_PREFER_EQUAL\b/hipFuncCachePreferEqual/g; - $ft{'numeric_literal'} += s/\bCU_FUNC_CACHE_PREFER_L1\b/hipFuncCachePreferL1/g; - $ft{'numeric_literal'} += s/\bCU_FUNC_CACHE_PREFER_NONE\b/hipFuncCachePreferNone/g; - $ft{'numeric_literal'} += s/\bCU_FUNC_CACHE_PREFER_SHARED\b/hipFuncCachePreferShared/g; - $ft{'numeric_literal'} += s/\bCU_GL_DEVICE_LIST_ALL\b/hipGLDeviceListAll/g; - $ft{'numeric_literal'} += s/\bCU_GL_DEVICE_LIST_CURRENT_FRAME\b/hipGLDeviceListCurrentFrame/g; - $ft{'numeric_literal'} += s/\bCU_GL_DEVICE_LIST_NEXT_FRAME\b/hipGLDeviceListNextFrame/g; - $ft{'numeric_literal'} += s/\bCU_GRAPHICS_REGISTER_FLAGS_NONE\b/hipGraphicsRegisterFlagsNone/g; - $ft{'numeric_literal'} += s/\bCU_GRAPHICS_REGISTER_FLAGS_READ_ONLY\b/hipGraphicsRegisterFlagsReadOnly/g; - $ft{'numeric_literal'} += s/\bCU_GRAPHICS_REGISTER_FLAGS_SURFACE_LDST\b/hipGraphicsRegisterFlagsSurfaceLoadStore/g; - $ft{'numeric_literal'} += s/\bCU_GRAPHICS_REGISTER_FLAGS_TEXTURE_GATHER\b/hipGraphicsRegisterFlagsTextureGather/g; - $ft{'numeric_literal'} += s/\bCU_GRAPHICS_REGISTER_FLAGS_WRITE_DISCARD\b/hipGraphicsRegisterFlagsWriteDiscard/g; - $ft{'numeric_literal'} += s/\bCU_GRAPH_EXEC_UPDATE_ERROR\b/hipGraphExecUpdateError/g; - $ft{'numeric_literal'} += s/\bCU_GRAPH_EXEC_UPDATE_ERROR_FUNCTION_CHANGED\b/hipGraphExecUpdateErrorFunctionChanged/g; - $ft{'numeric_literal'} += s/\bCU_GRAPH_EXEC_UPDATE_ERROR_NODE_TYPE_CHANGED\b/hipGraphExecUpdateErrorNodeTypeChanged/g; - $ft{'numeric_literal'} += s/\bCU_GRAPH_EXEC_UPDATE_ERROR_NOT_SUPPORTED\b/hipGraphExecUpdateErrorNotSupported/g; - $ft{'numeric_literal'} += s/\bCU_GRAPH_EXEC_UPDATE_ERROR_PARAMETERS_CHANGED\b/hipGraphExecUpdateErrorParametersChanged/g; - $ft{'numeric_literal'} += s/\bCU_GRAPH_EXEC_UPDATE_ERROR_TOPOLOGY_CHANGED\b/hipGraphExecUpdateErrorTopologyChanged/g; - $ft{'numeric_literal'} += s/\bCU_GRAPH_EXEC_UPDATE_ERROR_UNSUPPORTED_FUNCTION_CHANGE\b/hipGraphExecUpdateErrorUnsupportedFunctionChange/g; - $ft{'numeric_literal'} += s/\bCU_GRAPH_EXEC_UPDATE_SUCCESS\b/hipGraphExecUpdateSuccess/g; - $ft{'numeric_literal'} += s/\bCU_GRAPH_NODE_TYPE_COUNT\b/hipGraphNodeTypeCount/g; - $ft{'numeric_literal'} += s/\bCU_GRAPH_NODE_TYPE_EMPTY\b/hipGraphNodeTypeEmpty/g; - $ft{'numeric_literal'} += s/\bCU_GRAPH_NODE_TYPE_EVENT_RECORD\b/hipGraphNodeTypeEventRecord/g; - $ft{'numeric_literal'} += s/\bCU_GRAPH_NODE_TYPE_GRAPH\b/hipGraphNodeTypeGraph/g; - $ft{'numeric_literal'} += s/\bCU_GRAPH_NODE_TYPE_HOST\b/hipGraphNodeTypeHost/g; - $ft{'numeric_literal'} += s/\bCU_GRAPH_NODE_TYPE_KERNEL\b/hipGraphNodeTypeKernel/g; - $ft{'numeric_literal'} += s/\bCU_GRAPH_NODE_TYPE_MEMCPY\b/hipGraphNodeTypeMemcpy/g; - $ft{'numeric_literal'} += s/\bCU_GRAPH_NODE_TYPE_MEMSET\b/hipGraphNodeTypeMemset/g; - $ft{'numeric_literal'} += s/\bCU_GRAPH_NODE_TYPE_WAIT_EVENT\b/hipGraphNodeTypeWaitEvent/g; - $ft{'numeric_literal'} += s/\bCU_IPC_MEM_LAZY_ENABLE_PEER_ACCESS\b/hipIpcMemLazyEnablePeerAccess/g; - $ft{'numeric_literal'} += s/\bCU_JIT_CACHE_MODE\b/hipJitOptionCacheMode/g; - $ft{'numeric_literal'} += s/\bCU_JIT_ERROR_LOG_BUFFER\b/hipJitOptionErrorLogBuffer/g; - $ft{'numeric_literal'} += s/\bCU_JIT_ERROR_LOG_BUFFER_SIZE_BYTES\b/hipJitOptionErrorLogBufferSizeBytes/g; - $ft{'numeric_literal'} += s/\bCU_JIT_FALLBACK_STRATEGY\b/hipJitOptionFallbackStrategy/g; - $ft{'numeric_literal'} += s/\bCU_JIT_FAST_COMPILE\b/hipJitOptionFastCompile/g; - $ft{'numeric_literal'} += s/\bCU_JIT_GENERATE_DEBUG_INFO\b/hipJitOptionGenerateDebugInfo/g; - $ft{'numeric_literal'} += s/\bCU_JIT_GENERATE_LINE_INFO\b/hipJitOptionGenerateLineInfo/g; - $ft{'numeric_literal'} += s/\bCU_JIT_INFO_LOG_BUFFER\b/hipJitOptionInfoLogBuffer/g; - $ft{'numeric_literal'} += s/\bCU_JIT_INFO_LOG_BUFFER_SIZE_BYTES\b/hipJitOptionInfoLogBufferSizeBytes/g; - $ft{'numeric_literal'} += s/\bCU_JIT_LOG_VERBOSE\b/hipJitOptionLogVerbose/g; - $ft{'numeric_literal'} += s/\bCU_JIT_MAX_REGISTERS\b/hipJitOptionMaxRegisters/g; - $ft{'numeric_literal'} += s/\bCU_JIT_NEW_SM3X_OPT\b/hipJitOptionSm3xOpt/g; - $ft{'numeric_literal'} += s/\bCU_JIT_NUM_OPTIONS\b/hipJitOptionNumOptions/g; - $ft{'numeric_literal'} += s/\bCU_JIT_OPTIMIZATION_LEVEL\b/hipJitOptionOptimizationLevel/g; - $ft{'numeric_literal'} += s/\bCU_JIT_TARGET\b/hipJitOptionTarget/g; - $ft{'numeric_literal'} += s/\bCU_JIT_TARGET_FROM_CUCONTEXT\b/hipJitOptionTargetFromContext/g; - $ft{'numeric_literal'} += s/\bCU_JIT_THREADS_PER_BLOCK\b/hipJitOptionThreadsPerBlock/g; - $ft{'numeric_literal'} += s/\bCU_JIT_WALL_TIME\b/hipJitOptionWallTime/g; - $ft{'numeric_literal'} += s/\bCU_LIMIT_MALLOC_HEAP_SIZE\b/hipLimitMallocHeapSize/g; - $ft{'numeric_literal'} += s/\bCU_LIMIT_PRINTF_FIFO_SIZE\b/hipLimitPrintfFifoSize/g; - $ft{'numeric_literal'} += s/\bCU_MEMORYTYPE_ARRAY\b/hipMemoryTypeArray/g; - $ft{'numeric_literal'} += s/\bCU_MEMORYTYPE_DEVICE\b/hipMemoryTypeDevice/g; - $ft{'numeric_literal'} += s/\bCU_MEMORYTYPE_HOST\b/hipMemoryTypeHost/g; - $ft{'numeric_literal'} += s/\bCU_MEMORYTYPE_UNIFIED\b/hipMemoryTypeUnified/g; - $ft{'numeric_literal'} += s/\bCU_MEM_ADVISE_SET_ACCESSED_BY\b/hipMemAdviseSetAccessedBy/g; - $ft{'numeric_literal'} += s/\bCU_MEM_ADVISE_SET_PREFERRED_LOCATION\b/hipMemAdviseSetPreferredLocation/g; - $ft{'numeric_literal'} += s/\bCU_MEM_ADVISE_SET_READ_MOSTLY\b/hipMemAdviseSetReadMostly/g; - $ft{'numeric_literal'} += s/\bCU_MEM_ADVISE_UNSET_ACCESSED_BY\b/hipMemAdviseUnsetAccessedBy/g; - $ft{'numeric_literal'} += s/\bCU_MEM_ADVISE_UNSET_PREFERRED_LOCATION\b/hipMemAdviseUnsetPreferredLocation/g; - $ft{'numeric_literal'} += s/\bCU_MEM_ADVISE_UNSET_READ_MOSTLY\b/hipMemAdviseUnsetReadMostly/g; - $ft{'numeric_literal'} += s/\bCU_MEM_ATTACH_GLOBAL\b/hipMemAttachGlobal/g; - $ft{'numeric_literal'} += s/\bCU_MEM_ATTACH_HOST\b/hipMemAttachHost/g; - $ft{'numeric_literal'} += s/\bCU_MEM_ATTACH_SINGLE\b/hipMemAttachSingle/g; - $ft{'numeric_literal'} += s/\bCU_MEM_RANGE_ATTRIBUTE_ACCESSED_BY\b/hipMemRangeAttributeAccessedBy/g; - $ft{'numeric_literal'} += s/\bCU_MEM_RANGE_ATTRIBUTE_LAST_PREFETCH_LOCATION\b/hipMemRangeAttributeLastPrefetchLocation/g; - $ft{'numeric_literal'} += s/\bCU_MEM_RANGE_ATTRIBUTE_PREFERRED_LOCATION\b/hipMemRangeAttributePreferredLocation/g; - $ft{'numeric_literal'} += s/\bCU_MEM_RANGE_ATTRIBUTE_READ_MOSTLY\b/hipMemRangeAttributeReadMostly/g; - $ft{'numeric_literal'} += s/\bCU_OCCUPANCY_DEFAULT\b/hipOccupancyDefault/g; - $ft{'numeric_literal'} += s/\bCU_POINTER_ATTRIBUTE_ACCESS_FLAGS\b/HIP_POINTER_ATTRIBUTE_ACCESS_FLAGS/g; - $ft{'numeric_literal'} += s/\bCU_POINTER_ATTRIBUTE_ALLOWED_HANDLE_TYPES\b/HIP_POINTER_ATTRIBUTE_ALLOWED_HANDLE_TYPES/g; - $ft{'numeric_literal'} += s/\bCU_POINTER_ATTRIBUTE_BUFFER_ID\b/HIP_POINTER_ATTRIBUTE_BUFFER_ID/g; - $ft{'numeric_literal'} += s/\bCU_POINTER_ATTRIBUTE_CONTEXT\b/HIP_POINTER_ATTRIBUTE_CONTEXT/g; - $ft{'numeric_literal'} += s/\bCU_POINTER_ATTRIBUTE_DEVICE_ORDINAL\b/HIP_POINTER_ATTRIBUTE_DEVICE_ORDINAL/g; - $ft{'numeric_literal'} += s/\bCU_POINTER_ATTRIBUTE_DEVICE_POINTER\b/HIP_POINTER_ATTRIBUTE_DEVICE_POINTER/g; - $ft{'numeric_literal'} += s/\bCU_POINTER_ATTRIBUTE_HOST_POINTER\b/HIP_POINTER_ATTRIBUTE_HOST_POINTER/g; - $ft{'numeric_literal'} += s/\bCU_POINTER_ATTRIBUTE_IS_GPU_DIRECT_RDMA_CAPABLE\b/HIP_POINTER_ATTRIBUTE_IS_GPU_DIRECT_RDMA_CAPABLE/g; - $ft{'numeric_literal'} += s/\bCU_POINTER_ATTRIBUTE_IS_LEGACY_CUDA_IPC_CAPABLE\b/HIP_POINTER_ATTRIBUTE_IS_LEGACY_HIP_IPC_CAPABLE/g; - $ft{'numeric_literal'} += s/\bCU_POINTER_ATTRIBUTE_IS_MANAGED\b/HIP_POINTER_ATTRIBUTE_IS_MANAGED/g; - $ft{'numeric_literal'} += s/\bCU_POINTER_ATTRIBUTE_MAPPED\b/HIP_POINTER_ATTRIBUTE_MAPPED/g; - $ft{'numeric_literal'} += s/\bCU_POINTER_ATTRIBUTE_MEMORY_TYPE\b/HIP_POINTER_ATTRIBUTE_MEMORY_TYPE/g; - $ft{'numeric_literal'} += s/\bCU_POINTER_ATTRIBUTE_MEMPOOL_HANDLE\b/HIP_POINTER_ATTRIBUTE_MEMPOOL_HANDLE/g; - $ft{'numeric_literal'} += s/\bCU_POINTER_ATTRIBUTE_P2P_TOKENS\b/HIP_POINTER_ATTRIBUTE_P2P_TOKENS/g; - $ft{'numeric_literal'} += s/\bCU_POINTER_ATTRIBUTE_RANGE_SIZE\b/HIP_POINTER_ATTRIBUTE_RANGE_SIZE/g; - $ft{'numeric_literal'} += s/\bCU_POINTER_ATTRIBUTE_RANGE_START_ADDR\b/HIP_POINTER_ATTRIBUTE_RANGE_START_ADDR/g; - $ft{'numeric_literal'} += s/\bCU_POINTER_ATTRIBUTE_SYNC_MEMOPS\b/HIP_POINTER_ATTRIBUTE_SYNC_MEMOPS/g; - $ft{'numeric_literal'} += s/\bCU_RESOURCE_TYPE_ARRAY\b/HIP_RESOURCE_TYPE_ARRAY/g; - $ft{'numeric_literal'} += s/\bCU_RESOURCE_TYPE_LINEAR\b/HIP_RESOURCE_TYPE_LINEAR/g; - $ft{'numeric_literal'} += s/\bCU_RESOURCE_TYPE_MIPMAPPED_ARRAY\b/HIP_RESOURCE_TYPE_MIPMAPPED_ARRAY/g; - $ft{'numeric_literal'} += s/\bCU_RESOURCE_TYPE_PITCH2D\b/HIP_RESOURCE_TYPE_PITCH2D/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_FLOAT_1X16\b/HIP_RES_VIEW_FORMAT_FLOAT_1X16/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_FLOAT_1X32\b/HIP_RES_VIEW_FORMAT_FLOAT_1X32/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_FLOAT_2X16\b/HIP_RES_VIEW_FORMAT_FLOAT_2X16/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_FLOAT_2X32\b/HIP_RES_VIEW_FORMAT_FLOAT_2X32/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_FLOAT_4X16\b/HIP_RES_VIEW_FORMAT_FLOAT_4X16/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_FLOAT_4X32\b/HIP_RES_VIEW_FORMAT_FLOAT_4X32/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_NONE\b/HIP_RES_VIEW_FORMAT_NONE/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_SIGNED_BC4\b/HIP_RES_VIEW_FORMAT_SIGNED_BC4/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_SIGNED_BC5\b/HIP_RES_VIEW_FORMAT_SIGNED_BC5/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_SIGNED_BC6H\b/HIP_RES_VIEW_FORMAT_SIGNED_BC6H/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_SINT_1X16\b/HIP_RES_VIEW_FORMAT_SINT_1X16/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_SINT_1X32\b/HIP_RES_VIEW_FORMAT_SINT_1X32/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_SINT_1X8\b/HIP_RES_VIEW_FORMAT_SINT_1X8/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_SINT_2X16\b/HIP_RES_VIEW_FORMAT_SINT_2X16/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_SINT_2X32\b/HIP_RES_VIEW_FORMAT_SINT_2X32/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_SINT_2X8\b/HIP_RES_VIEW_FORMAT_SINT_2X8/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_SINT_4X16\b/HIP_RES_VIEW_FORMAT_SINT_4X16/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_SINT_4X32\b/HIP_RES_VIEW_FORMAT_SINT_4X32/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_SINT_4X8\b/HIP_RES_VIEW_FORMAT_SINT_4X8/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_UINT_1X16\b/HIP_RES_VIEW_FORMAT_UINT_1X16/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_UINT_1X32\b/HIP_RES_VIEW_FORMAT_UINT_1X32/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_UINT_1X8\b/HIP_RES_VIEW_FORMAT_UINT_1X8/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_UINT_2X16\b/HIP_RES_VIEW_FORMAT_UINT_2X16/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_UINT_2X32\b/HIP_RES_VIEW_FORMAT_UINT_2X32/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_UINT_2X8\b/HIP_RES_VIEW_FORMAT_UINT_2X8/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_UINT_4X16\b/HIP_RES_VIEW_FORMAT_UINT_4X16/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_UINT_4X32\b/HIP_RES_VIEW_FORMAT_UINT_4X32/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_UINT_4X8\b/HIP_RES_VIEW_FORMAT_UINT_4X8/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_UNSIGNED_BC1\b/HIP_RES_VIEW_FORMAT_UNSIGNED_BC1/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_UNSIGNED_BC2\b/HIP_RES_VIEW_FORMAT_UNSIGNED_BC2/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_UNSIGNED_BC3\b/HIP_RES_VIEW_FORMAT_UNSIGNED_BC3/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_UNSIGNED_BC4\b/HIP_RES_VIEW_FORMAT_UNSIGNED_BC4/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_UNSIGNED_BC5\b/HIP_RES_VIEW_FORMAT_UNSIGNED_BC5/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_UNSIGNED_BC6H\b/HIP_RES_VIEW_FORMAT_UNSIGNED_BC6H/g; - $ft{'numeric_literal'} += s/\bCU_RES_VIEW_FORMAT_UNSIGNED_BC7\b/HIP_RES_VIEW_FORMAT_UNSIGNED_BC7/g; - $ft{'numeric_literal'} += s/\bCU_SHARED_MEM_CONFIG_DEFAULT_BANK_SIZE\b/hipSharedMemBankSizeDefault/g; - $ft{'numeric_literal'} += s/\bCU_SHARED_MEM_CONFIG_EIGHT_BYTE_BANK_SIZE\b/hipSharedMemBankSizeEightByte/g; - $ft{'numeric_literal'} += s/\bCU_SHARED_MEM_CONFIG_FOUR_BYTE_BANK_SIZE\b/hipSharedMemBankSizeFourByte/g; - $ft{'numeric_literal'} += s/\bCU_STREAM_ADD_CAPTURE_DEPENDENCIES\b/hipStreamAddCaptureDependencies/g; - $ft{'numeric_literal'} += s/\bCU_STREAM_CAPTURE_MODE_GLOBAL\b/hipStreamCaptureModeGlobal/g; - $ft{'numeric_literal'} += s/\bCU_STREAM_CAPTURE_MODE_RELAXED\b/hipStreamCaptureModeRelaxed/g; - $ft{'numeric_literal'} += s/\bCU_STREAM_CAPTURE_MODE_THREAD_LOCAL\b/hipStreamCaptureModeThreadLocal/g; - $ft{'numeric_literal'} += s/\bCU_STREAM_CAPTURE_STATUS_ACTIVE\b/hipStreamCaptureStatusActive/g; - $ft{'numeric_literal'} += s/\bCU_STREAM_CAPTURE_STATUS_INVALIDATED\b/hipStreamCaptureStatusInvalidated/g; - $ft{'numeric_literal'} += s/\bCU_STREAM_CAPTURE_STATUS_NONE\b/hipStreamCaptureStatusNone/g; - $ft{'numeric_literal'} += s/\bCU_STREAM_DEFAULT\b/hipStreamDefault/g; - $ft{'numeric_literal'} += s/\bCU_STREAM_NON_BLOCKING\b/hipStreamNonBlocking/g; - $ft{'numeric_literal'} += s/\bCU_STREAM_SET_CAPTURE_DEPENDENCIES\b/hipStreamSetCaptureDependencies/g; - $ft{'numeric_literal'} += s/\bCU_STREAM_WAIT_VALUE_AND\b/hipStreamWaitValueAnd/g; - $ft{'numeric_literal'} += s/\bCU_STREAM_WAIT_VALUE_EQ\b/hipStreamWaitValueEq/g; - $ft{'numeric_literal'} += s/\bCU_STREAM_WAIT_VALUE_GEQ\b/hipStreamWaitValueGte/g; - $ft{'numeric_literal'} += s/\bCU_STREAM_WAIT_VALUE_NOR\b/hipStreamWaitValueNor/g; - $ft{'numeric_literal'} += s/\bCU_TR_ADDRESS_MODE_BORDER\b/HIP_TR_ADDRESS_MODE_BORDER/g; - $ft{'numeric_literal'} += s/\bCU_TR_ADDRESS_MODE_CLAMP\b/HIP_TR_ADDRESS_MODE_CLAMP/g; - $ft{'numeric_literal'} += s/\bCU_TR_ADDRESS_MODE_MIRROR\b/HIP_TR_ADDRESS_MODE_MIRROR/g; - $ft{'numeric_literal'} += s/\bCU_TR_ADDRESS_MODE_WRAP\b/HIP_TR_ADDRESS_MODE_WRAP/g; - $ft{'numeric_literal'} += s/\bCU_TR_FILTER_MODE_LINEAR\b/HIP_TR_FILTER_MODE_LINEAR/g; - $ft{'numeric_literal'} += s/\bCU_TR_FILTER_MODE_POINT\b/HIP_TR_FILTER_MODE_POINT/g; - $ft{'numeric_literal'} += s/\bNVRTC_ERROR_BUILTIN_OPERATION_FAILURE\b/HIPRTC_ERROR_BUILTIN_OPERATION_FAILURE/g; - $ft{'numeric_literal'} += s/\bNVRTC_ERROR_COMPILATION\b/HIPRTC_ERROR_COMPILATION/g; - $ft{'numeric_literal'} += s/\bNVRTC_ERROR_INTERNAL_ERROR\b/HIPRTC_ERROR_INTERNAL_ERROR/g; - $ft{'numeric_literal'} += s/\bNVRTC_ERROR_INVALID_INPUT\b/HIPRTC_ERROR_INVALID_INPUT/g; - $ft{'numeric_literal'} += s/\bNVRTC_ERROR_INVALID_OPTION\b/HIPRTC_ERROR_INVALID_OPTION/g; - $ft{'numeric_literal'} += s/\bNVRTC_ERROR_INVALID_PROGRAM\b/HIPRTC_ERROR_INVALID_PROGRAM/g; - $ft{'numeric_literal'} += s/\bNVRTC_ERROR_NAME_EXPRESSION_NOT_VALID\b/HIPRTC_ERROR_NAME_EXPRESSION_NOT_VALID/g; - $ft{'numeric_literal'} += s/\bNVRTC_ERROR_NO_LOWERED_NAMES_BEFORE_COMPILATION\b/HIPRTC_ERROR_NO_LOWERED_NAMES_BEFORE_COMPILATION/g; - $ft{'numeric_literal'} += s/\bNVRTC_ERROR_NO_NAME_EXPRESSIONS_AFTER_COMPILATION\b/HIPRTC_ERROR_NO_NAME_EXPRESSIONS_AFTER_COMPILATION/g; - $ft{'numeric_literal'} += s/\bNVRTC_ERROR_OUT_OF_MEMORY\b/HIPRTC_ERROR_OUT_OF_MEMORY/g; - $ft{'numeric_literal'} += s/\bNVRTC_ERROR_PROGRAM_CREATION_FAILURE\b/HIPRTC_ERROR_PROGRAM_CREATION_FAILURE/g; - $ft{'numeric_literal'} += s/\bNVRTC_SUCCESS\b/HIPRTC_SUCCESS/g; - $ft{'numeric_literal'} += s/\bcudaAddressModeBorder\b/hipAddressModeBorder/g; - $ft{'numeric_literal'} += s/\bcudaAddressModeClamp\b/hipAddressModeClamp/g; - $ft{'numeric_literal'} += s/\bcudaAddressModeMirror\b/hipAddressModeMirror/g; - $ft{'numeric_literal'} += s/\bcudaAddressModeWrap\b/hipAddressModeWrap/g; - $ft{'numeric_literal'} += s/\bcudaBoundaryModeClamp\b/hipBoundaryModeClamp/g; - $ft{'numeric_literal'} += s/\bcudaBoundaryModeTrap\b/hipBoundaryModeTrap/g; - $ft{'numeric_literal'} += s/\bcudaBoundaryModeZero\b/hipBoundaryModeZero/g; - $ft{'numeric_literal'} += s/\bcudaChannelFormatKindFloat\b/hipChannelFormatKindFloat/g; - $ft{'numeric_literal'} += s/\bcudaChannelFormatKindNone\b/hipChannelFormatKindNone/g; - $ft{'numeric_literal'} += s/\bcudaChannelFormatKindSigned\b/hipChannelFormatKindSigned/g; - $ft{'numeric_literal'} += s/\bcudaChannelFormatKindUnsigned\b/hipChannelFormatKindUnsigned/g; - $ft{'numeric_literal'} += s/\bcudaComputeModeDefault\b/hipComputeModeDefault/g; - $ft{'numeric_literal'} += s/\bcudaComputeModeExclusive\b/hipComputeModeExclusive/g; - $ft{'numeric_literal'} += s/\bcudaComputeModeExclusiveProcess\b/hipComputeModeExclusiveProcess/g; - $ft{'numeric_literal'} += s/\bcudaComputeModeProhibited\b/hipComputeModeProhibited/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrAsyncEngineCount\b/hipDeviceAttributeAsyncEngineCount/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrCanMapHostMemory\b/hipDeviceAttributeCanMapHostMemory/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrCanUseHostPointerForRegisteredMem\b/hipDeviceAttributeCanUseHostPointerForRegisteredMem/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrClockRate\b/hipDeviceAttributeClockRate/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrComputeCapabilityMajor\b/hipDeviceAttributeComputeCapabilityMajor/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrComputeCapabilityMinor\b/hipDeviceAttributeComputeCapabilityMinor/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrComputeMode\b/hipDeviceAttributeComputeMode/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrComputePreemptionSupported\b/hipDeviceAttributeComputePreemptionSupported/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrConcurrentKernels\b/hipDeviceAttributeConcurrentKernels/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrConcurrentManagedAccess\b/hipDeviceAttributeConcurrentManagedAccess/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrCooperativeLaunch\b/hipDeviceAttributeCooperativeLaunch/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrCooperativeMultiDeviceLaunch\b/hipDeviceAttributeCooperativeMultiDeviceLaunch/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrDirectManagedMemAccessFromHost\b/hipDeviceAttributeDirectManagedMemAccessFromHost/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrEccEnabled\b/hipDeviceAttributeEccEnabled/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrGlobalL1CacheSupported\b/hipDeviceAttributeGlobalL1CacheSupported/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrGlobalMemoryBusWidth\b/hipDeviceAttributeMemoryBusWidth/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrGpuOverlap\b/hipDeviceAttributeAsyncEngineCount/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrHostNativeAtomicSupported\b/hipDeviceAttributeHostNativeAtomicSupported/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrIntegrated\b/hipDeviceAttributeIntegrated/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrIsMultiGpuBoard\b/hipDeviceAttributeIsMultiGpuBoard/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrKernelExecTimeout\b/hipDeviceAttributeKernelExecTimeout/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrL2CacheSize\b/hipDeviceAttributeL2CacheSize/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrLocalL1CacheSupported\b/hipDeviceAttributeLocalL1CacheSupported/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrManagedMemory\b/hipDeviceAttributeManagedMemory/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxBlockDimX\b/hipDeviceAttributeMaxBlockDimX/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxBlockDimY\b/hipDeviceAttributeMaxBlockDimY/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxBlockDimZ\b/hipDeviceAttributeMaxBlockDimZ/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxBlocksPerMultiprocessor\b/hipDeviceAttributeMaxBlocksPerMultiprocessor/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxGridDimX\b/hipDeviceAttributeMaxGridDimX/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxGridDimY\b/hipDeviceAttributeMaxGridDimY/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxGridDimZ\b/hipDeviceAttributeMaxGridDimZ/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxPitch\b/hipDeviceAttributeMaxPitch/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxRegistersPerBlock\b/hipDeviceAttributeMaxRegistersPerBlock/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxRegistersPerMultiprocessor\b/hipDeviceAttributeMaxRegistersPerMultiprocessor/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxSharedMemoryPerBlock\b/hipDeviceAttributeMaxSharedMemoryPerBlock/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxSharedMemoryPerBlockOptin\b/hipDeviceAttributeSharedMemPerBlockOptin/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxSharedMemoryPerMultiprocessor\b/hipDeviceAttributeMaxSharedMemoryPerMultiprocessor/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxSurface1DLayeredWidth\b/hipDeviceAttributeMaxSurface1DLayered/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxSurface1DWidth\b/hipDeviceAttributeMaxSurface1D/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxSurface2DHeight\b/hipDeviceAttributeMaxSurface2D/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxSurface2DLayeredHeight\b/hipDeviceAttributeMaxSurface2DLayered/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxSurface2DLayeredWidth\b/hipDeviceAttributeMaxSurface2DLayered/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxSurface2DWidth\b/hipDeviceAttributeMaxSurface2D/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxSurface3DDepth\b/hipDeviceAttributeMaxSurface3D/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxSurface3DHeight\b/hipDeviceAttributeMaxSurface3D/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxSurface3DWidth\b/hipDeviceAttributeMaxSurface3D/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxSurfaceCubemapLayeredWidth\b/hipDeviceAttributeMaxSurfaceCubemapLayered/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxSurfaceCubemapWidth\b/hipDeviceAttributeMaxSurfaceCubemap/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxTexture1DLayeredWidth\b/hipDeviceAttributeMaxTexture1DLayered/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxTexture1DLinearWidth\b/hipDeviceAttributeMaxTexture1DLinear/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxTexture1DMipmappedWidth\b/hipDeviceAttributeMaxTexture1DMipmap/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxTexture1DWidth\b/hipDeviceAttributeMaxTexture1DWidth/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxTexture2DGatherHeight\b/hipDeviceAttributeMaxTexture2DGather/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxTexture2DGatherWidth\b/hipDeviceAttributeMaxTexture2DGather/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxTexture2DHeight\b/hipDeviceAttributeMaxTexture2DHeight/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxTexture2DLayeredHeight\b/hipDeviceAttributeMaxTexture2DLayered/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxTexture2DLayeredWidth\b/hipDeviceAttributeMaxTexture2DLayered/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxTexture2DLinearHeight\b/hipDeviceAttributeMaxTexture2DLinear/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxTexture2DLinearPitch\b/hipDeviceAttributeMaxTexture2DLinear/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxTexture2DLinearWidth\b/hipDeviceAttributeMaxTexture2DLinear/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxTexture2DMipmappedHeight\b/hipDeviceAttributeMaxTexture2DMipmap/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxTexture2DMipmappedWidth\b/hipDeviceAttributeMaxTexture2DMipmap/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxTexture2DWidth\b/hipDeviceAttributeMaxTexture2DWidth/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxTexture3DDepth\b/hipDeviceAttributeMaxTexture3DDepth/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxTexture3DDepthAlt\b/hipDeviceAttributeMaxTexture3DAlt/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxTexture3DHeight\b/hipDeviceAttributeMaxTexture3DHeight/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxTexture3DHeightAlt\b/hipDeviceAttributeMaxTexture3DAlt/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxTexture3DWidth\b/hipDeviceAttributeMaxTexture3DWidth/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxTexture3DWidthAlt\b/hipDeviceAttributeMaxTexture3DAlt/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxTextureCubemapLayeredWidth\b/hipDeviceAttributeMaxTextureCubemapLayered/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxTextureCubemapWidth\b/hipDeviceAttributeMaxTextureCubemap/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxThreadsPerBlock\b/hipDeviceAttributeMaxThreadsPerBlock/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMaxThreadsPerMultiProcessor\b/hipDeviceAttributeMaxThreadsPerMultiProcessor/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMemoryClockRate\b/hipDeviceAttributeMemoryClockRate/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMultiGpuBoardGroupID\b/hipDeviceAttributeMultiGpuBoardGroupID/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrMultiProcessorCount\b/hipDeviceAttributeMultiprocessorCount/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrPageableMemoryAccess\b/hipDeviceAttributePageableMemoryAccess/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrPageableMemoryAccessUsesHostPageTables\b/hipDeviceAttributePageableMemoryAccessUsesHostPageTables/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrPciBusId\b/hipDeviceAttributePciBusId/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrPciDeviceId\b/hipDeviceAttributePciDeviceId/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrPciDomainId\b/hipDeviceAttributePciDomainID/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrReserved94\b/hipDeviceAttributeCanUseStreamWaitValue/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrSingleToDoublePrecisionPerfRatio\b/hipDeviceAttributeSingleToDoublePrecisionPerfRatio/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrStreamPrioritiesSupported\b/hipDeviceAttributeStreamPrioritiesSupported/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrSurfaceAlignment\b/hipDeviceAttributeSurfaceAlignment/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrTccDriver\b/hipDeviceAttributeTccDriver/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrTextureAlignment\b/hipDeviceAttributeTextureAlignment/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrTexturePitchAlignment\b/hipDeviceAttributeTexturePitchAlignment/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrTotalConstantMemory\b/hipDeviceAttributeTotalConstantMemory/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrUnifiedAddressing\b/hipDeviceAttributeUnifiedAddressing/g; - $ft{'numeric_literal'} += s/\bcudaDevAttrWarpSize\b/hipDeviceAttributeWarpSize/g; - $ft{'numeric_literal'} += s/\bcudaDevP2PAttrAccessSupported\b/hipDevP2PAttrAccessSupported/g; - $ft{'numeric_literal'} += s/\bcudaDevP2PAttrCudaArrayAccessSupported\b/hipDevP2PAttrHipArrayAccessSupported/g; - $ft{'numeric_literal'} += s/\bcudaDevP2PAttrNativeAtomicSupported\b/hipDevP2PAttrNativeAtomicSupported/g; - $ft{'numeric_literal'} += s/\bcudaDevP2PAttrPerformanceRank\b/hipDevP2PAttrPerformanceRank/g; - $ft{'numeric_literal'} += s/\bcudaErrorAlreadyAcquired\b/hipErrorAlreadyAcquired/g; - $ft{'numeric_literal'} += s/\bcudaErrorAlreadyMapped\b/hipErrorAlreadyMapped/g; - $ft{'numeric_literal'} += s/\bcudaErrorArrayIsMapped\b/hipErrorArrayIsMapped/g; - $ft{'numeric_literal'} += s/\bcudaErrorAssert\b/hipErrorAssert/g; - $ft{'numeric_literal'} += s/\bcudaErrorCapturedEvent\b/hipErrorCapturedEvent/g; - $ft{'numeric_literal'} += s/\bcudaErrorContextIsDestroyed\b/hipErrorContextIsDestroyed/g; - $ft{'numeric_literal'} += s/\bcudaErrorCooperativeLaunchTooLarge\b/hipErrorCooperativeLaunchTooLarge/g; - $ft{'numeric_literal'} += s/\bcudaErrorCudartUnloading\b/hipErrorDeinitialized/g; - $ft{'numeric_literal'} += s/\bcudaErrorDeviceAlreadyInUse\b/hipErrorContextAlreadyInUse/g; - $ft{'numeric_literal'} += s/\bcudaErrorDeviceUninitialized\b/hipErrorInvalidContext/g; - $ft{'numeric_literal'} += s/\bcudaErrorECCUncorrectable\b/hipErrorECCNotCorrectable/g; - $ft{'numeric_literal'} += s/\bcudaErrorFileNotFound\b/hipErrorFileNotFound/g; - $ft{'numeric_literal'} += s/\bcudaErrorGraphExecUpdateFailure\b/hipErrorGraphExecUpdateFailure/g; - $ft{'numeric_literal'} += s/\bcudaErrorHostMemoryAlreadyRegistered\b/hipErrorHostMemoryAlreadyRegistered/g; - $ft{'numeric_literal'} += s/\bcudaErrorHostMemoryNotRegistered\b/hipErrorHostMemoryNotRegistered/g; - $ft{'numeric_literal'} += s/\bcudaErrorIllegalAddress\b/hipErrorIllegalAddress/g; - $ft{'numeric_literal'} += s/\bcudaErrorIllegalState\b/hipErrorIllegalState/g; - $ft{'numeric_literal'} += s/\bcudaErrorInitializationError\b/hipErrorNotInitialized/g; - $ft{'numeric_literal'} += s/\bcudaErrorInsufficientDriver\b/hipErrorInsufficientDriver/g; - $ft{'numeric_literal'} += s/\bcudaErrorInvalidConfiguration\b/hipErrorInvalidConfiguration/g; - $ft{'numeric_literal'} += s/\bcudaErrorInvalidDevice\b/hipErrorInvalidDevice/g; - $ft{'numeric_literal'} += s/\bcudaErrorInvalidDeviceFunction\b/hipErrorInvalidDeviceFunction/g; - $ft{'numeric_literal'} += s/\bcudaErrorInvalidDevicePointer\b/hipErrorInvalidDevicePointer/g; - $ft{'numeric_literal'} += s/\bcudaErrorInvalidGraphicsContext\b/hipErrorInvalidGraphicsContext/g; - $ft{'numeric_literal'} += s/\bcudaErrorInvalidKernelImage\b/hipErrorInvalidImage/g; - $ft{'numeric_literal'} += s/\bcudaErrorInvalidMemcpyDirection\b/hipErrorInvalidMemcpyDirection/g; - $ft{'numeric_literal'} += s/\bcudaErrorInvalidPitchValue\b/hipErrorInvalidPitchValue/g; - $ft{'numeric_literal'} += s/\bcudaErrorInvalidPtx\b/hipErrorInvalidKernelFile/g; - $ft{'numeric_literal'} += s/\bcudaErrorInvalidResourceHandle\b/hipErrorInvalidHandle/g; - $ft{'numeric_literal'} += s/\bcudaErrorInvalidSource\b/hipErrorInvalidSource/g; - $ft{'numeric_literal'} += s/\bcudaErrorInvalidSymbol\b/hipErrorInvalidSymbol/g; - $ft{'numeric_literal'} += s/\bcudaErrorInvalidValue\b/hipErrorInvalidValue/g; - $ft{'numeric_literal'} += s/\bcudaErrorLaunchFailure\b/hipErrorLaunchFailure/g; - $ft{'numeric_literal'} += s/\bcudaErrorLaunchOutOfResources\b/hipErrorLaunchOutOfResources/g; - $ft{'numeric_literal'} += s/\bcudaErrorLaunchTimeout\b/hipErrorLaunchTimeOut/g; - $ft{'numeric_literal'} += s/\bcudaErrorMapBufferObjectFailed\b/hipErrorMapFailed/g; - $ft{'numeric_literal'} += s/\bcudaErrorMemoryAllocation\b/hipErrorOutOfMemory/g; - $ft{'numeric_literal'} += s/\bcudaErrorMissingConfiguration\b/hipErrorMissingConfiguration/g; - $ft{'numeric_literal'} += s/\bcudaErrorNoDevice\b/hipErrorNoDevice/g; - $ft{'numeric_literal'} += s/\bcudaErrorNoKernelImageForDevice\b/hipErrorNoBinaryForGpu/g; - $ft{'numeric_literal'} += s/\bcudaErrorNotMapped\b/hipErrorNotMapped/g; - $ft{'numeric_literal'} += s/\bcudaErrorNotMappedAsArray\b/hipErrorNotMappedAsArray/g; - $ft{'numeric_literal'} += s/\bcudaErrorNotMappedAsPointer\b/hipErrorNotMappedAsPointer/g; - $ft{'numeric_literal'} += s/\bcudaErrorNotReady\b/hipErrorNotReady/g; - $ft{'numeric_literal'} += s/\bcudaErrorNotSupported\b/hipErrorNotSupported/g; - $ft{'numeric_literal'} += s/\bcudaErrorOperatingSystem\b/hipErrorOperatingSystem/g; - $ft{'numeric_literal'} += s/\bcudaErrorPeerAccessAlreadyEnabled\b/hipErrorPeerAccessAlreadyEnabled/g; - $ft{'numeric_literal'} += s/\bcudaErrorPeerAccessNotEnabled\b/hipErrorPeerAccessNotEnabled/g; - $ft{'numeric_literal'} += s/\bcudaErrorPeerAccessUnsupported\b/hipErrorPeerAccessUnsupported/g; - $ft{'numeric_literal'} += s/\bcudaErrorPriorLaunchFailure\b/hipErrorPriorLaunchFailure/g; - $ft{'numeric_literal'} += s/\bcudaErrorProfilerAlreadyStarted\b/hipErrorProfilerAlreadyStarted/g; - $ft{'numeric_literal'} += s/\bcudaErrorProfilerAlreadyStopped\b/hipErrorProfilerAlreadyStopped/g; - $ft{'numeric_literal'} += s/\bcudaErrorProfilerDisabled\b/hipErrorProfilerDisabled/g; - $ft{'numeric_literal'} += s/\bcudaErrorProfilerNotInitialized\b/hipErrorProfilerNotInitialized/g; - $ft{'numeric_literal'} += s/\bcudaErrorSetOnActiveProcess\b/hipErrorSetOnActiveProcess/g; - $ft{'numeric_literal'} += s/\bcudaErrorSharedObjectInitFailed\b/hipErrorSharedObjectInitFailed/g; - $ft{'numeric_literal'} += s/\bcudaErrorSharedObjectSymbolNotFound\b/hipErrorSharedObjectSymbolNotFound/g; - $ft{'numeric_literal'} += s/\bcudaErrorStreamCaptureImplicit\b/hipErrorStreamCaptureImplicit/g; - $ft{'numeric_literal'} += s/\bcudaErrorStreamCaptureInvalidated\b/hipErrorStreamCaptureInvalidated/g; - $ft{'numeric_literal'} += s/\bcudaErrorStreamCaptureIsolation\b/hipErrorStreamCaptureIsolation/g; - $ft{'numeric_literal'} += s/\bcudaErrorStreamCaptureMerge\b/hipErrorStreamCaptureMerge/g; - $ft{'numeric_literal'} += s/\bcudaErrorStreamCaptureUnjoined\b/hipErrorStreamCaptureUnjoined/g; - $ft{'numeric_literal'} += s/\bcudaErrorStreamCaptureUnmatched\b/hipErrorStreamCaptureUnmatched/g; - $ft{'numeric_literal'} += s/\bcudaErrorStreamCaptureUnsupported\b/hipErrorStreamCaptureUnsupported/g; - $ft{'numeric_literal'} += s/\bcudaErrorStreamCaptureWrongThread\b/hipErrorStreamCaptureWrongThread/g; - $ft{'numeric_literal'} += s/\bcudaErrorSymbolNotFound\b/hipErrorNotFound/g; - $ft{'numeric_literal'} += s/\bcudaErrorUnknown\b/hipErrorUnknown/g; - $ft{'numeric_literal'} += s/\bcudaErrorUnmapBufferObjectFailed\b/hipErrorUnmapFailed/g; - $ft{'numeric_literal'} += s/\bcudaErrorUnsupportedLimit\b/hipErrorUnsupportedLimit/g; - $ft{'numeric_literal'} += s/\bcudaExternalMemoryHandleTypeD3D11Resource\b/hipExternalMemoryHandleTypeD3D11Resource/g; - $ft{'numeric_literal'} += s/\bcudaExternalMemoryHandleTypeD3D11ResourceKmt\b/hipExternalMemoryHandleTypeD3D11ResourceKmt/g; - $ft{'numeric_literal'} += s/\bcudaExternalMemoryHandleTypeD3D12Heap\b/hipExternalMemoryHandleTypeD3D12Heap/g; - $ft{'numeric_literal'} += s/\bcudaExternalMemoryHandleTypeD3D12Resource\b/hipExternalMemoryHandleTypeD3D12Resource/g; - $ft{'numeric_literal'} += s/\bcudaExternalMemoryHandleTypeOpaqueFd\b/hipExternalMemoryHandleTypeOpaqueFd/g; - $ft{'numeric_literal'} += s/\bcudaExternalMemoryHandleTypeOpaqueWin32\b/hipExternalMemoryHandleTypeOpaqueWin32/g; - $ft{'numeric_literal'} += s/\bcudaExternalMemoryHandleTypeOpaqueWin32Kmt\b/hipExternalMemoryHandleTypeOpaqueWin32Kmt/g; - $ft{'numeric_literal'} += s/\bcudaExternalSemaphoreHandleTypeD3D12Fence\b/hipExternalSemaphoreHandleTypeD3D12Fence/g; - $ft{'numeric_literal'} += s/\bcudaExternalSemaphoreHandleTypeOpaqueFd\b/hipExternalSemaphoreHandleTypeOpaqueFd/g; - $ft{'numeric_literal'} += s/\bcudaExternalSemaphoreHandleTypeOpaqueWin32\b/hipExternalSemaphoreHandleTypeOpaqueWin32/g; - $ft{'numeric_literal'} += s/\bcudaExternalSemaphoreHandleTypeOpaqueWin32Kmt\b/hipExternalSemaphoreHandleTypeOpaqueWin32Kmt/g; - $ft{'numeric_literal'} += s/\bcudaFilterModeLinear\b/hipFilterModeLinear/g; - $ft{'numeric_literal'} += s/\bcudaFilterModePoint\b/hipFilterModePoint/g; - $ft{'numeric_literal'} += s/\bcudaFuncAttributeMax\b/hipFuncAttributeMax/g; - $ft{'numeric_literal'} += s/\bcudaFuncAttributeMaxDynamicSharedMemorySize\b/hipFuncAttributeMaxDynamicSharedMemorySize/g; - $ft{'numeric_literal'} += s/\bcudaFuncAttributePreferredSharedMemoryCarveout\b/hipFuncAttributePreferredSharedMemoryCarveout/g; - $ft{'numeric_literal'} += s/\bcudaFuncCachePreferEqual\b/hipFuncCachePreferEqual/g; - $ft{'numeric_literal'} += s/\bcudaFuncCachePreferL1\b/hipFuncCachePreferL1/g; - $ft{'numeric_literal'} += s/\bcudaFuncCachePreferNone\b/hipFuncCachePreferNone/g; - $ft{'numeric_literal'} += s/\bcudaFuncCachePreferShared\b/hipFuncCachePreferShared/g; - $ft{'numeric_literal'} += s/\bcudaGLDeviceListAll\b/hipGLDeviceListAll/g; - $ft{'numeric_literal'} += s/\bcudaGLDeviceListCurrentFrame\b/hipGLDeviceListCurrentFrame/g; - $ft{'numeric_literal'} += s/\bcudaGLDeviceListNextFrame\b/hipGLDeviceListNextFrame/g; - $ft{'numeric_literal'} += s/\bcudaGraphExecUpdateError\b/hipGraphExecUpdateError/g; - $ft{'numeric_literal'} += s/\bcudaGraphExecUpdateErrorFunctionChanged\b/hipGraphExecUpdateErrorFunctionChanged/g; - $ft{'numeric_literal'} += s/\bcudaGraphExecUpdateErrorNodeTypeChanged\b/hipGraphExecUpdateErrorNodeTypeChanged/g; - $ft{'numeric_literal'} += s/\bcudaGraphExecUpdateErrorNotSupported\b/hipGraphExecUpdateErrorNotSupported/g; - $ft{'numeric_literal'} += s/\bcudaGraphExecUpdateErrorParametersChanged\b/hipGraphExecUpdateErrorParametersChanged/g; - $ft{'numeric_literal'} += s/\bcudaGraphExecUpdateErrorTopologyChanged\b/hipGraphExecUpdateErrorTopologyChanged/g; - $ft{'numeric_literal'} += s/\bcudaGraphExecUpdateErrorUnsupportedFunctionChange\b/hipGraphExecUpdateErrorUnsupportedFunctionChange/g; - $ft{'numeric_literal'} += s/\bcudaGraphExecUpdateSuccess\b/hipGraphExecUpdateSuccess/g; - $ft{'numeric_literal'} += s/\bcudaGraphNodeTypeCount\b/hipGraphNodeTypeCount/g; - $ft{'numeric_literal'} += s/\bcudaGraphNodeTypeEmpty\b/hipGraphNodeTypeEmpty/g; - $ft{'numeric_literal'} += s/\bcudaGraphNodeTypeEventRecord\b/hipGraphNodeTypeEventRecord/g; - $ft{'numeric_literal'} += s/\bcudaGraphNodeTypeGraph\b/hipGraphNodeTypeGraph/g; - $ft{'numeric_literal'} += s/\bcudaGraphNodeTypeHost\b/hipGraphNodeTypeHost/g; - $ft{'numeric_literal'} += s/\bcudaGraphNodeTypeKernel\b/hipGraphNodeTypeKernel/g; - $ft{'numeric_literal'} += s/\bcudaGraphNodeTypeMemcpy\b/hipGraphNodeTypeMemcpy/g; - $ft{'numeric_literal'} += s/\bcudaGraphNodeTypeMemset\b/hipGraphNodeTypeMemset/g; - $ft{'numeric_literal'} += s/\bcudaGraphNodeTypeWaitEvent\b/hipGraphNodeTypeWaitEvent/g; - $ft{'numeric_literal'} += s/\bcudaGraphicsRegisterFlagsNone\b/hipGraphicsRegisterFlagsNone/g; - $ft{'numeric_literal'} += s/\bcudaGraphicsRegisterFlagsReadOnly\b/hipGraphicsRegisterFlagsReadOnly/g; - $ft{'numeric_literal'} += s/\bcudaGraphicsRegisterFlagsSurfaceLoadStore\b/hipGraphicsRegisterFlagsSurfaceLoadStore/g; - $ft{'numeric_literal'} += s/\bcudaGraphicsRegisterFlagsTextureGather\b/hipGraphicsRegisterFlagsTextureGather/g; - $ft{'numeric_literal'} += s/\bcudaGraphicsRegisterFlagsWriteDiscard\b/hipGraphicsRegisterFlagsWriteDiscard/g; - $ft{'numeric_literal'} += s/\bcudaLimitMallocHeapSize\b/hipLimitMallocHeapSize/g; - $ft{'numeric_literal'} += s/\bcudaLimitPrintfFifoSize\b/hipLimitPrintfFifoSize/g; - $ft{'numeric_literal'} += s/\bcudaMemAdviseSetAccessedBy\b/hipMemAdviseSetAccessedBy/g; - $ft{'numeric_literal'} += s/\bcudaMemAdviseSetPreferredLocation\b/hipMemAdviseSetPreferredLocation/g; - $ft{'numeric_literal'} += s/\bcudaMemAdviseSetReadMostly\b/hipMemAdviseSetReadMostly/g; - $ft{'numeric_literal'} += s/\bcudaMemAdviseUnsetAccessedBy\b/hipMemAdviseUnsetAccessedBy/g; - $ft{'numeric_literal'} += s/\bcudaMemAdviseUnsetPreferredLocation\b/hipMemAdviseUnsetPreferredLocation/g; - $ft{'numeric_literal'} += s/\bcudaMemAdviseUnsetReadMostly\b/hipMemAdviseUnsetReadMostly/g; - $ft{'numeric_literal'} += s/\bcudaMemRangeAttributeAccessedBy\b/hipMemRangeAttributeAccessedBy/g; - $ft{'numeric_literal'} += s/\bcudaMemRangeAttributeLastPrefetchLocation\b/hipMemRangeAttributeLastPrefetchLocation/g; - $ft{'numeric_literal'} += s/\bcudaMemRangeAttributePreferredLocation\b/hipMemRangeAttributePreferredLocation/g; - $ft{'numeric_literal'} += s/\bcudaMemRangeAttributeReadMostly\b/hipMemRangeAttributeReadMostly/g; - $ft{'numeric_literal'} += s/\bcudaMemcpyDefault\b/hipMemcpyDefault/g; - $ft{'numeric_literal'} += s/\bcudaMemcpyDeviceToDevice\b/hipMemcpyDeviceToDevice/g; - $ft{'numeric_literal'} += s/\bcudaMemcpyDeviceToHost\b/hipMemcpyDeviceToHost/g; - $ft{'numeric_literal'} += s/\bcudaMemcpyHostToDevice\b/hipMemcpyHostToDevice/g; - $ft{'numeric_literal'} += s/\bcudaMemcpyHostToHost\b/hipMemcpyHostToHost/g; - $ft{'numeric_literal'} += s/\bcudaMemoryTypeDevice\b/hipMemoryTypeDevice/g; - $ft{'numeric_literal'} += s/\bcudaMemoryTypeHost\b/hipMemoryTypeHost/g; - $ft{'numeric_literal'} += s/\bcudaReadModeElementType\b/hipReadModeElementType/g; - $ft{'numeric_literal'} += s/\bcudaReadModeNormalizedFloat\b/hipReadModeNormalizedFloat/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatFloat1\b/hipResViewFormatFloat1/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatFloat2\b/hipResViewFormatFloat2/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatFloat4\b/hipResViewFormatFloat4/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatHalf1\b/hipResViewFormatHalf1/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatHalf2\b/hipResViewFormatHalf2/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatHalf4\b/hipResViewFormatHalf4/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatNone\b/hipResViewFormatNone/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatSignedBlockCompressed4\b/hipResViewFormatSignedBlockCompressed4/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatSignedBlockCompressed5\b/hipResViewFormatSignedBlockCompressed5/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatSignedBlockCompressed6H\b/hipResViewFormatSignedBlockCompressed6H/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatSignedChar1\b/hipResViewFormatSignedChar1/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatSignedChar2\b/hipResViewFormatSignedChar2/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatSignedChar4\b/hipResViewFormatSignedChar4/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatSignedInt1\b/hipResViewFormatSignedInt1/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatSignedInt2\b/hipResViewFormatSignedInt2/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatSignedInt4\b/hipResViewFormatSignedInt4/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatSignedShort1\b/hipResViewFormatSignedShort1/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatSignedShort2\b/hipResViewFormatSignedShort2/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatSignedShort4\b/hipResViewFormatSignedShort4/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatUnsignedBlockCompressed1\b/hipResViewFormatUnsignedBlockCompressed1/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatUnsignedBlockCompressed2\b/hipResViewFormatUnsignedBlockCompressed2/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatUnsignedBlockCompressed3\b/hipResViewFormatUnsignedBlockCompressed3/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatUnsignedBlockCompressed4\b/hipResViewFormatUnsignedBlockCompressed4/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatUnsignedBlockCompressed5\b/hipResViewFormatUnsignedBlockCompressed5/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatUnsignedBlockCompressed6H\b/hipResViewFormatUnsignedBlockCompressed6H/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatUnsignedBlockCompressed7\b/hipResViewFormatUnsignedBlockCompressed7/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatUnsignedChar1\b/hipResViewFormatUnsignedChar1/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatUnsignedChar2\b/hipResViewFormatUnsignedChar2/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatUnsignedChar4\b/hipResViewFormatUnsignedChar4/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatUnsignedInt1\b/hipResViewFormatUnsignedInt1/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatUnsignedInt2\b/hipResViewFormatUnsignedInt2/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatUnsignedInt4\b/hipResViewFormatUnsignedInt4/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatUnsignedShort1\b/hipResViewFormatUnsignedShort1/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatUnsignedShort2\b/hipResViewFormatUnsignedShort2/g; - $ft{'numeric_literal'} += s/\bcudaResViewFormatUnsignedShort4\b/hipResViewFormatUnsignedShort4/g; - $ft{'numeric_literal'} += s/\bcudaResourceTypeArray\b/hipResourceTypeArray/g; - $ft{'numeric_literal'} += s/\bcudaResourceTypeLinear\b/hipResourceTypeLinear/g; - $ft{'numeric_literal'} += s/\bcudaResourceTypeMipmappedArray\b/hipResourceTypeMipmappedArray/g; - $ft{'numeric_literal'} += s/\bcudaResourceTypePitch2D\b/hipResourceTypePitch2D/g; - $ft{'numeric_literal'} += s/\bcudaSharedMemBankSizeDefault\b/hipSharedMemBankSizeDefault/g; - $ft{'numeric_literal'} += s/\bcudaSharedMemBankSizeEightByte\b/hipSharedMemBankSizeEightByte/g; - $ft{'numeric_literal'} += s/\bcudaSharedMemBankSizeFourByte\b/hipSharedMemBankSizeFourByte/g; - $ft{'numeric_literal'} += s/\bcudaStreamAddCaptureDependencies\b/hipStreamAddCaptureDependencies/g; - $ft{'numeric_literal'} += s/\bcudaStreamCaptureModeGlobal\b/hipStreamCaptureModeGlobal/g; - $ft{'numeric_literal'} += s/\bcudaStreamCaptureModeRelaxed\b/hipStreamCaptureModeRelaxed/g; - $ft{'numeric_literal'} += s/\bcudaStreamCaptureModeThreadLocal\b/hipStreamCaptureModeThreadLocal/g; - $ft{'numeric_literal'} += s/\bcudaStreamCaptureStatusActive\b/hipStreamCaptureStatusActive/g; - $ft{'numeric_literal'} += s/\bcudaStreamCaptureStatusInvalidated\b/hipStreamCaptureStatusInvalidated/g; - $ft{'numeric_literal'} += s/\bcudaStreamCaptureStatusNone\b/hipStreamCaptureStatusNone/g; - $ft{'numeric_literal'} += s/\bcudaStreamSetCaptureDependencies\b/hipStreamSetCaptureDependencies/g; - $ft{'numeric_literal'} += s/\bcudaSuccess\b/hipSuccess/g; - $ft{'define'} += s/\bCUDA_ARRAY3D_CUBEMAP\b/hipArrayCubemap/g; - $ft{'define'} += s/\bCUDA_ARRAY3D_LAYERED\b/hipArrayLayered/g; - $ft{'define'} += s/\bCUDA_ARRAY3D_SURFACE_LDST\b/hipArraySurfaceLoadStore/g; - $ft{'define'} += s/\bCUDA_ARRAY3D_TEXTURE_GATHER\b/hipArrayTextureGather/g; - $ft{'define'} += s/\bCUDA_COOPERATIVE_LAUNCH_MULTI_DEVICE_NO_POST_LAUNCH_SYNC\b/hipCooperativeLaunchMultiDeviceNoPostSync/g; - $ft{'define'} += s/\bCUDA_COOPERATIVE_LAUNCH_MULTI_DEVICE_NO_PRE_LAUNCH_SYNC\b/hipCooperativeLaunchMultiDeviceNoPreSync/g; - $ft{'define'} += s/\bCUDA_IPC_HANDLE_SIZE\b/HIP_IPC_HANDLE_SIZE/g; - $ft{'define'} += s/\bCURAND_VERSION\b/HIPRAND_VERSION/g; - $ft{'define'} += s/\bCU_DEVICE_CPU\b/hipCpuDeviceId/g; - $ft{'define'} += s/\bCU_DEVICE_INVALID\b/hipInvalidDeviceId/g; - $ft{'define'} += s/\bCU_IPC_HANDLE_SIZE\b/HIP_IPC_HANDLE_SIZE/g; - $ft{'define'} += s/\bCU_LAUNCH_PARAM_BUFFER_POINTER\b/HIP_LAUNCH_PARAM_BUFFER_POINTER/g; - $ft{'define'} += s/\bCU_LAUNCH_PARAM_BUFFER_SIZE\b/HIP_LAUNCH_PARAM_BUFFER_SIZE/g; - $ft{'define'} += s/\bCU_LAUNCH_PARAM_END\b/HIP_LAUNCH_PARAM_END/g; - $ft{'define'} += s/\bCU_MEMHOSTALLOC_DEVICEMAP\b/hipHostMallocMapped/g; - $ft{'define'} += s/\bCU_MEMHOSTALLOC_PORTABLE\b/hipHostMallocPortable/g; - $ft{'define'} += s/\bCU_MEMHOSTALLOC_WRITECOMBINED\b/hipHostMallocWriteCombined/g; - $ft{'define'} += s/\bCU_MEMHOSTREGISTER_DEVICEMAP\b/hipHostRegisterMapped/g; - $ft{'define'} += s/\bCU_MEMHOSTREGISTER_IOMEMORY\b/hipHostRegisterIoMemory/g; - $ft{'define'} += s/\bCU_MEMHOSTREGISTER_PORTABLE\b/hipHostRegisterPortable/g; - $ft{'define'} += s/\bCU_STREAM_PER_THREAD\b/hipStreamPerThread/g; - $ft{'define'} += s/\bCU_TRSA_OVERRIDE_FORMAT\b/HIP_TRSA_OVERRIDE_FORMAT/g; - $ft{'define'} += s/\bCU_TRSF_NORMALIZED_COORDINATES\b/HIP_TRSF_NORMALIZED_COORDINATES/g; - $ft{'define'} += s/\bCU_TRSF_READ_AS_INTEGER\b/HIP_TRSF_READ_AS_INTEGER/g; - $ft{'define'} += s/\bCU_TRSF_SRGB\b/HIP_TRSF_SRGB/g; - $ft{'define'} += s/\bREGISTER_CUDA_OPERATOR\b/REGISTER_HIP_OPERATOR/g; - $ft{'define'} += s/\bREGISTER_CUDA_OPERATOR_CREATOR\b/REGISTER_HIP_OPERATOR_CREATOR/g; - $ft{'define'} += s/\b__CUDACC__\b/__HIPCC__/g; - $ft{'define'} += s/\bcudaArrayCubemap\b/hipArrayCubemap/g; - $ft{'define'} += s/\bcudaArrayDefault\b/hipArrayDefault/g; - $ft{'define'} += s/\bcudaArrayLayered\b/hipArrayLayered/g; - $ft{'define'} += s/\bcudaArraySurfaceLoadStore\b/hipArraySurfaceLoadStore/g; - $ft{'define'} += s/\bcudaArrayTextureGather\b/hipArrayTextureGather/g; - $ft{'define'} += s/\bcudaCooperativeLaunchMultiDeviceNoPostSync\b/hipCooperativeLaunchMultiDeviceNoPostSync/g; - $ft{'define'} += s/\bcudaCooperativeLaunchMultiDeviceNoPreSync\b/hipCooperativeLaunchMultiDeviceNoPreSync/g; - $ft{'define'} += s/\bcudaCpuDeviceId\b/hipCpuDeviceId/g; - $ft{'define'} += s/\bcudaDeviceBlockingSync\b/hipDeviceScheduleBlockingSync/g; - $ft{'define'} += s/\bcudaDeviceLmemResizeToMax\b/hipDeviceLmemResizeToMax/g; - $ft{'define'} += s/\bcudaDeviceMapHost\b/hipDeviceMapHost/g; - $ft{'define'} += s/\bcudaDeviceScheduleAuto\b/hipDeviceScheduleAuto/g; - $ft{'define'} += s/\bcudaDeviceScheduleBlockingSync\b/hipDeviceScheduleBlockingSync/g; - $ft{'define'} += s/\bcudaDeviceScheduleMask\b/hipDeviceScheduleMask/g; - $ft{'define'} += s/\bcudaDeviceScheduleSpin\b/hipDeviceScheduleSpin/g; - $ft{'define'} += s/\bcudaDeviceScheduleYield\b/hipDeviceScheduleYield/g; - $ft{'define'} += s/\bcudaEventBlockingSync\b/hipEventBlockingSync/g; - $ft{'define'} += s/\bcudaEventDefault\b/hipEventDefault/g; - $ft{'define'} += s/\bcudaEventDisableTiming\b/hipEventDisableTiming/g; - $ft{'define'} += s/\bcudaEventInterprocess\b/hipEventInterprocess/g; - $ft{'define'} += s/\bcudaHostAllocDefault\b/hipHostMallocDefault/g; - $ft{'define'} += s/\bcudaHostAllocMapped\b/hipHostMallocMapped/g; - $ft{'define'} += s/\bcudaHostAllocPortable\b/hipHostMallocPortable/g; - $ft{'define'} += s/\bcudaHostAllocWriteCombined\b/hipHostMallocWriteCombined/g; - $ft{'define'} += s/\bcudaHostRegisterDefault\b/hipHostRegisterDefault/g; - $ft{'define'} += s/\bcudaHostRegisterIoMemory\b/hipHostRegisterIoMemory/g; - $ft{'define'} += s/\bcudaHostRegisterMapped\b/hipHostRegisterMapped/g; - $ft{'define'} += s/\bcudaHostRegisterPortable\b/hipHostRegisterPortable/g; - $ft{'define'} += s/\bcudaInvalidDeviceId\b/hipInvalidDeviceId/g; - $ft{'define'} += s/\bcudaIpcMemLazyEnablePeerAccess\b/hipIpcMemLazyEnablePeerAccess/g; - $ft{'define'} += s/\bcudaMemAttachGlobal\b/hipMemAttachGlobal/g; - $ft{'define'} += s/\bcudaMemAttachHost\b/hipMemAttachHost/g; - $ft{'define'} += s/\bcudaMemAttachSingle\b/hipMemAttachSingle/g; - $ft{'define'} += s/\bcudaOccupancyDefault\b/hipOccupancyDefault/g; - $ft{'define'} += s/\bcudaStreamDefault\b/hipStreamDefault/g; - $ft{'define'} += s/\bcudaStreamNonBlocking\b/hipStreamNonBlocking/g; - $ft{'define'} += s/\bcudaStreamPerThread\b/hipStreamPerThread/g; - $ft{'define'} += s/\bcudaTextureType1D\b/hipTextureType1D/g; - $ft{'define'} += s/\bcudaTextureType1DLayered\b/hipTextureType1DLayered/g; - $ft{'define'} += s/\bcudaTextureType2D\b/hipTextureType2D/g; - $ft{'define'} += s/\bcudaTextureType2DLayered\b/hipTextureType2DLayered/g; - $ft{'define'} += s/\bcudaTextureType3D\b/hipTextureType3D/g; - $ft{'define'} += s/\bcudaTextureTypeCubemap\b/hipTextureTypeCubemap/g; - $ft{'define'} += s/\bcudaTextureTypeCubemapLayered\b/hipTextureTypeCubemapLayered/g; + subst("cudaGetErrorName", "hipGetErrorName", "error"); + subst("cudaGetErrorString", "hipGetErrorString", "error"); + subst("cudaGetLastError", "hipGetLastError", "error"); + subst("cudaPeekAtLastError", "hipPeekAtLastError", "error"); + subst("cuInit", "hipInit", "init"); + subst("cuDriverGetVersion", "hipDriverGetVersion", "version"); + subst("cudaDriverGetVersion", "hipDriverGetVersion", "version"); + subst("cudaRuntimeGetVersion", "hipRuntimeGetVersion", "version"); + subst("cuDeviceComputeCapability", "hipDeviceComputeCapability", "device"); + subst("cuDeviceGet", "hipDeviceGet", "device"); + subst("cuDeviceGetAttribute", "hipDeviceGetAttribute", "device"); + subst("cuDeviceGetCount", "hipGetDeviceCount", "device"); + subst("cuDeviceGetName", "hipDeviceGetName", "device"); + subst("cuDeviceTotalMem", "hipDeviceTotalMem", "device"); + subst("cuDeviceTotalMem_v2", "hipDeviceTotalMem", "device"); + subst("cudaChooseDevice", "hipChooseDevice", "device"); + subst("cudaDeviceGetAttribute", "hipDeviceGetAttribute", "device"); + subst("cudaDeviceGetByPCIBusId", "hipDeviceGetByPCIBusId", "device"); + subst("cudaDeviceGetCacheConfig", "hipDeviceGetCacheConfig", "device"); + subst("cudaDeviceGetLimit", "hipDeviceGetLimit", "device"); + subst("cudaDeviceGetP2PAttribute", "hipDeviceGetP2PAttribute", "device"); + subst("cudaDeviceGetPCIBusId", "hipDeviceGetPCIBusId", "device"); + subst("cudaDeviceGetSharedMemConfig", "hipDeviceGetSharedMemConfig", "device"); + subst("cudaDeviceGetStreamPriorityRange", "hipDeviceGetStreamPriorityRange", "device"); + subst("cudaDeviceReset", "hipDeviceReset", "device"); + subst("cudaDeviceSetCacheConfig", "hipDeviceSetCacheConfig", "device"); + subst("cudaDeviceSetSharedMemConfig", "hipDeviceSetSharedMemConfig", "device"); + subst("cudaDeviceSynchronize", "hipDeviceSynchronize", "device"); + subst("cudaFuncSetCacheConfig", "hipFuncSetCacheConfig", "device"); + subst("cudaGetDevice", "hipGetDevice", "device"); + subst("cudaGetDeviceCount", "hipGetDeviceCount", "device"); + subst("cudaGetDeviceFlags", "hipGetDeviceFlags", "device"); + subst("cudaGetDeviceProperties", "hipGetDeviceProperties", "device"); + subst("cudaIpcCloseMemHandle", "hipIpcCloseMemHandle", "device"); + subst("cudaIpcGetEventHandle", "hipIpcGetEventHandle", "device"); + subst("cudaIpcGetMemHandle", "hipIpcGetMemHandle", "device"); + subst("cudaIpcOpenEventHandle", "hipIpcOpenEventHandle", "device"); + subst("cudaIpcOpenMemHandle", "hipIpcOpenMemHandle", "device"); + subst("cudaSetDevice", "hipSetDevice", "device"); + subst("cudaSetDeviceFlags", "hipSetDeviceFlags", "device"); + subst("cuCtxCreate", "hipCtxCreate", "context"); + subst("cuCtxCreate_v2", "hipCtxCreate", "context"); + subst("cuCtxDestroy", "hipCtxDestroy", "context"); + subst("cuCtxDestroy_v2", "hipCtxDestroy", "context"); + subst("cuCtxGetApiVersion", "hipCtxGetApiVersion", "context"); + subst("cuCtxGetCacheConfig", "hipCtxGetCacheConfig", "context"); + subst("cuCtxGetCurrent", "hipCtxGetCurrent", "context"); + subst("cuCtxGetDevice", "hipCtxGetDevice", "context"); + subst("cuCtxGetFlags", "hipCtxGetFlags", "context"); + subst("cuCtxGetLimit", "hipDeviceGetLimit", "context"); + subst("cuCtxGetSharedMemConfig", "hipCtxGetSharedMemConfig", "context"); + subst("cuCtxGetStreamPriorityRange", "hipDeviceGetStreamPriorityRange", "context"); + subst("cuCtxPopCurrent", "hipCtxPopCurrent", "context"); + subst("cuCtxPopCurrent_v2", "hipCtxPopCurrent", "context"); + subst("cuCtxPushCurrent", "hipCtxPushCurrent", "context"); + subst("cuCtxPushCurrent_v2", "hipCtxPushCurrent", "context"); + subst("cuCtxSetCacheConfig", "hipCtxSetCacheConfig", "context"); + subst("cuCtxSetCurrent", "hipCtxSetCurrent", "context"); + subst("cuCtxSetSharedMemConfig", "hipCtxSetSharedMemConfig", "context"); + subst("cuCtxSynchronize", "hipCtxSynchronize", "context"); + subst("cuDevicePrimaryCtxGetState", "hipDevicePrimaryCtxGetState", "context"); + subst("cuDevicePrimaryCtxRelease", "hipDevicePrimaryCtxRelease", "context"); + subst("cuDevicePrimaryCtxRelease_v2", "hipDevicePrimaryCtxRelease", "context"); + subst("cuDevicePrimaryCtxReset", "hipDevicePrimaryCtxReset", "context"); + subst("cuDevicePrimaryCtxReset_v2", "hipDevicePrimaryCtxReset", "context"); + subst("cuDevicePrimaryCtxRetain", "hipDevicePrimaryCtxRetain", "context"); + subst("cuDevicePrimaryCtxSetFlags", "hipDevicePrimaryCtxSetFlags", "context"); + subst("cuDevicePrimaryCtxSetFlags_v2", "hipDevicePrimaryCtxSetFlags", "context"); + subst("cuModuleGetFunction", "hipModuleGetFunction", "module"); + subst("cuModuleGetGlobal", "hipModuleGetGlobal", "module"); + subst("cuModuleGetGlobal_v2", "hipModuleGetGlobal", "module"); + subst("cuModuleGetTexRef", "hipModuleGetTexRef", "module"); + subst("cuModuleLoad", "hipModuleLoad", "module"); + subst("cuModuleLoadData", "hipModuleLoadData", "module"); + subst("cuModuleLoadDataEx", "hipModuleLoadDataEx", "module"); + subst("cuModuleUnload", "hipModuleUnload", "module"); + subst("cuArray3DCreate", "hipArray3DCreate", "memory"); + subst("cuArray3DCreate_v2", "hipArray3DCreate", "memory"); + subst("cuArrayCreate", "hipArrayCreate", "memory"); + subst("cuArrayCreate_v2", "hipArrayCreate", "memory"); + subst("cuArrayDestroy", "hipArrayDestroy", "memory"); + subst("cuDeviceGetByPCIBusId", "hipDeviceGetByPCIBusId", "memory"); + subst("cuDeviceGetPCIBusId", "hipDeviceGetPCIBusId", "memory"); + subst("cuIpcCloseMemHandle", "hipIpcCloseMemHandle", "memory"); + subst("cuIpcGetEventHandle", "hipIpcGetEventHandle", "memory"); + subst("cuIpcGetMemHandle", "hipIpcGetMemHandle", "memory"); + subst("cuIpcOpenEventHandle", "hipIpcOpenEventHandle", "memory"); + subst("cuIpcOpenMemHandle", "hipIpcOpenMemHandle", "memory"); + subst("cuMemAlloc", "hipMalloc", "memory"); + subst("cuMemAllocHost", "hipMemAllocHost", "memory"); + subst("cuMemAllocHost_v2", "hipMemAllocHost", "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("cuMemFree_v2", "hipFree", "memory"); + subst("cuMemGetAddressRange", "hipMemGetAddressRange", "memory"); + subst("cuMemGetAddressRange_v2", "hipMemGetAddressRange", "memory"); + subst("cuMemGetInfo", "hipMemGetInfo", "memory"); + subst("cuMemGetInfo_v2", "hipMemGetInfo", "memory"); + subst("cuMemHostAlloc", "hipHostAlloc", "memory"); + subst("cuMemHostGetDevicePointer", "hipHostGetDevicePointer", "memory"); + subst("cuMemHostGetDevicePointer_v2", "hipHostGetDevicePointer", "memory"); + subst("cuMemHostGetFlags", "hipHostGetFlags", "memory"); + subst("cuMemHostRegister", "hipHostRegister", "memory"); + subst("cuMemHostRegister_v2", "hipHostRegister", "memory"); + subst("cuMemHostUnregister", "hipHostUnregister", "memory"); + subst("cuMemcpy2D", "hipMemcpyParam2D", "memory"); + subst("cuMemcpy2DAsync", "hipMemcpyParam2DAsync", "memory"); + subst("cuMemcpy2DAsync_v2", "hipMemcpyParam2DAsync", "memory"); + subst("cuMemcpy2DUnaligned", "hipDrvMemcpy2DUnaligned", "memory"); + subst("cuMemcpy2DUnaligned_v2", "hipDrvMemcpy2DUnaligned", "memory"); + subst("cuMemcpy2D_v2", "hipMemcpyParam2D", "memory"); + subst("cuMemcpy3D", "hipDrvMemcpy3D", "memory"); + subst("cuMemcpy3DAsync", "hipDrvMemcpy3DAsync", "memory"); + subst("cuMemcpy3DAsync_v2", "hipDrvMemcpy3DAsync", "memory"); + subst("cuMemcpy3D_v2", "hipDrvMemcpy3D", "memory"); + subst("cuMemcpyAtoH", "hipMemcpyAtoH", "memory"); + subst("cuMemcpyAtoH_v2", "hipMemcpyAtoH", "memory"); + subst("cuMemcpyDtoD", "hipMemcpyDtoD", "memory"); + subst("cuMemcpyDtoDAsync", "hipMemcpyDtoDAsync", "memory"); + subst("cuMemcpyDtoDAsync_v2", "hipMemcpyDtoDAsync", "memory"); + subst("cuMemcpyDtoD_v2", "hipMemcpyDtoD", "memory"); + subst("cuMemcpyDtoH", "hipMemcpyDtoH", "memory"); + subst("cuMemcpyDtoHAsync", "hipMemcpyDtoHAsync", "memory"); + subst("cuMemcpyDtoHAsync_v2", "hipMemcpyDtoHAsync", "memory"); + subst("cuMemcpyDtoH_v2", "hipMemcpyDtoH", "memory"); + subst("cuMemcpyHtoA", "hipMemcpyHtoA", "memory"); + subst("cuMemcpyHtoA_v2", "hipMemcpyHtoA", "memory"); + subst("cuMemcpyHtoD", "hipMemcpyHtoD", "memory"); + subst("cuMemcpyHtoDAsync", "hipMemcpyHtoDAsync", "memory"); + subst("cuMemcpyHtoDAsync_v2", "hipMemcpyHtoDAsync", "memory"); + subst("cuMemcpyHtoD_v2", "hipMemcpyHtoD", "memory"); + subst("cuMemsetD16", "hipMemsetD16", "memory"); + subst("cuMemsetD16Async", "hipMemsetD16Async", "memory"); + subst("cuMemsetD16_v2", "hipMemsetD16", "memory"); + subst("cuMemsetD32", "hipMemsetD32", "memory"); + subst("cuMemsetD32Async", "hipMemsetD32Async", "memory"); + subst("cuMemsetD32_v2", "hipMemsetD32", "memory"); + subst("cuMemsetD8", "hipMemsetD8", "memory"); + subst("cuMemsetD8Async", "hipMemsetD8Async", "memory"); + subst("cuMemsetD8_v2", "hipMemsetD8", "memory"); + subst("cuMipmappedArrayCreate", "hipMipmappedArrayCreate", "memory"); + subst("cuMipmappedArrayDestroy", "hipMipmappedArrayDestroy", "memory"); + subst("cuMipmappedArrayGetLevel", "hipMipmappedArrayGetLevel", "memory"); + subst("cudaFree", "hipFree", "memory"); + subst("cudaFreeArray", "hipFreeArray", "memory"); + subst("cudaFreeHost", "hipHostFree", "memory"); + subst("cudaFreeMipmappedArray", "hipFreeMipmappedArray", "memory"); + subst("cudaGetMipmappedArrayLevel", "hipGetMipmappedArrayLevel", "memory"); + subst("cudaGetSymbolAddress", "hipGetSymbolAddress", "memory"); + subst("cudaGetSymbolSize", "hipGetSymbolSize", "memory"); + subst("cudaHostAlloc", "hipHostAlloc", "memory"); + subst("cudaHostGetDevicePointer", "hipHostGetDevicePointer", "memory"); + subst("cudaHostGetFlags", "hipHostGetFlags", "memory"); + subst("cudaHostRegister", "hipHostRegister", "memory"); + subst("cudaHostUnregister", "hipHostUnregister", "memory"); + subst("cudaMalloc", "hipMalloc", "memory"); + subst("cudaMalloc3D", "hipMalloc3D", "memory"); + subst("cudaMalloc3DArray", "hipMalloc3DArray", "memory"); + subst("cudaMallocArray", "hipMallocArray", "memory"); + subst("cudaMallocHost", "hipHostMalloc", "memory"); + subst("cudaMallocManaged", "hipMallocManaged", "memory"); + subst("cudaMallocMipmappedArray", "hipMallocMipmappedArray", "memory"); + subst("cudaMallocPitch", "hipMallocPitch", "memory"); + subst("cudaMemAdvise", "hipMemAdvise", "memory"); + subst("cudaMemGetInfo", "hipMemGetInfo", "memory"); + subst("cudaMemPrefetchAsync", "hipMemPrefetchAsync", "memory"); + subst("cudaMemRangeGetAttribute", "hipMemRangeGetAttribute", "memory"); + subst("cudaMemRangeGetAttributes", "hipMemRangeGetAttributes", "memory"); + subst("cudaMemcpy", "hipMemcpy", "memory"); + subst("cudaMemcpy2D", "hipMemcpy2D", "memory"); + subst("cudaMemcpy2DAsync", "hipMemcpy2DAsync", "memory"); + subst("cudaMemcpy2DFromArray", "hipMemcpy2DFromArray", "memory"); + subst("cudaMemcpy2DFromArrayAsync", "hipMemcpy2DFromArrayAsync", "memory"); + subst("cudaMemcpy2DToArray", "hipMemcpy2DToArray", "memory"); + subst("cudaMemcpy2DToArrayAsync", "hipMemcpy2DToArrayAsync", "memory"); + subst("cudaMemcpy3D", "hipMemcpy3D", "memory"); + subst("cudaMemcpy3DAsync", "hipMemcpy3DAsync", "memory"); + subst("cudaMemcpyAsync", "hipMemcpyAsync", "memory"); + subst("cudaMemcpyFromArray", "hipMemcpyFromArray", "memory"); + subst("cudaMemcpyFromSymbol", "hipMemcpyFromSymbol", "memory"); + subst("cudaMemcpyFromSymbolAsync", "hipMemcpyFromSymbolAsync", "memory"); + subst("cudaMemcpyPeer", "hipMemcpyPeer", "memory"); + subst("cudaMemcpyPeerAsync", "hipMemcpyPeerAsync", "memory"); + subst("cudaMemcpyToArray", "hipMemcpyToArray", "memory"); + subst("cudaMemcpyToSymbol", "hipMemcpyToSymbol", "memory"); + subst("cudaMemcpyToSymbolAsync", "hipMemcpyToSymbolAsync", "memory"); + subst("cudaMemset", "hipMemset", "memory"); + subst("cudaMemset2D", "hipMemset2D", "memory"); + subst("cudaMemset2DAsync", "hipMemset2DAsync", "memory"); + subst("cudaMemset3D", "hipMemset3D", "memory"); + subst("cudaMemset3DAsync", "hipMemset3DAsync", "memory"); + subst("cudaMemsetAsync", "hipMemsetAsync", "memory"); + subst("make_cudaExtent", "make_hipExtent", "memory"); + subst("make_cudaPitchedPtr", "make_hipPitchedPtr", "memory"); + subst("make_cudaPos", "make_hipPos", "memory"); + subst("cuMemAdvise", "hipMemAdvise", "addressing"); + subst("cuMemPrefetchAsync", "hipMemPrefetchAsync", "addressing"); + subst("cuMemRangeGetAttribute", "hipMemRangeGetAttribute", "addressing"); + subst("cuMemRangeGetAttributes", "hipMemRangeGetAttributes", "addressing"); + subst("cuPointerGetAttribute", "hipPointerGetAttribute", "addressing"); + subst("cuPointerGetAttributes", "hipDrvPointerGetAttributes", "addressing"); + subst("cudaPointerGetAttributes", "hipPointerGetAttributes", "addressing"); + subst("cuStreamAddCallback", "hipStreamAddCallback", "stream"); + subst("cuStreamAttachMemAsync", "hipStreamAttachMemAsync", "stream"); + subst("cuStreamBeginCapture", "hipStreamBeginCapture", "stream"); + subst("cuStreamBeginCapture_v2", "hipStreamBeginCapture", "stream"); + subst("cuStreamCreate", "hipStreamCreateWithFlags", "stream"); + subst("cuStreamCreateWithPriority", "hipStreamCreateWithPriority", "stream"); + subst("cuStreamDestroy", "hipStreamDestroy", "stream"); + subst("cuStreamDestroy_v2", "hipStreamDestroy", "stream"); + subst("cuStreamEndCapture", "hipStreamEndCapture", "stream"); + subst("cuStreamGetCaptureInfo", "hipStreamGetCaptureInfo", "stream"); + subst("cuStreamGetCaptureInfo_v2", "hipStreamGetCaptureInfo_v2", "stream"); + subst("cuStreamGetFlags", "hipStreamGetFlags", "stream"); + subst("cuStreamGetPriority", "hipStreamGetPriority", "stream"); + subst("cuStreamIsCapturing", "hipStreamIsCapturing", "stream"); + subst("cuStreamQuery", "hipStreamQuery", "stream"); + subst("cuStreamSynchronize", "hipStreamSynchronize", "stream"); + subst("cuStreamUpdateCaptureDependencies", "hipStreamUpdateCaptureDependencies", "stream"); + subst("cuStreamWaitEvent", "hipStreamWaitEvent", "stream"); + subst("cudaStreamAddCallback", "hipStreamAddCallback", "stream"); + subst("cudaStreamAttachMemAsync", "hipStreamAttachMemAsync", "stream"); + subst("cudaStreamBeginCapture", "hipStreamBeginCapture", "stream"); + subst("cudaStreamCreate", "hipStreamCreate", "stream"); + subst("cudaStreamCreateWithFlags", "hipStreamCreateWithFlags", "stream"); + subst("cudaStreamCreateWithPriority", "hipStreamCreateWithPriority", "stream"); + subst("cudaStreamDestroy", "hipStreamDestroy", "stream"); + subst("cudaStreamEndCapture", "hipStreamEndCapture", "stream"); + subst("cudaStreamGetCaptureInfo", "hipStreamGetCaptureInfo", "stream"); + subst("cudaStreamGetFlags", "hipStreamGetFlags", "stream"); + subst("cudaStreamGetPriority", "hipStreamGetPriority", "stream"); + subst("cudaStreamIsCapturing", "hipStreamIsCapturing", "stream"); + subst("cudaStreamQuery", "hipStreamQuery", "stream"); + subst("cudaStreamSynchronize", "hipStreamSynchronize", "stream"); + subst("cudaStreamWaitEvent", "hipStreamWaitEvent", "stream"); + subst("cuEventCreate", "hipEventCreateWithFlags", "event"); + subst("cuEventDestroy", "hipEventDestroy", "event"); + subst("cuEventDestroy_v2", "hipEventDestroy", "event"); + subst("cuEventElapsedTime", "hipEventElapsedTime", "event"); + subst("cuEventQuery", "hipEventQuery", "event"); + subst("cuEventRecord", "hipEventRecord", "event"); + subst("cuEventSynchronize", "hipEventSynchronize", "event"); + subst("cudaEventCreate", "hipEventCreate", "event"); + subst("cudaEventCreateWithFlags", "hipEventCreateWithFlags", "event"); + subst("cudaEventDestroy", "hipEventDestroy", "event"); + subst("cudaEventElapsedTime", "hipEventElapsedTime", "event"); + subst("cudaEventQuery", "hipEventQuery", "event"); + subst("cudaEventRecord", "hipEventRecord", "event"); + subst("cudaEventSynchronize", "hipEventSynchronize", "event"); + subst("cuDestroyExternalMemory", "hipDestroyExternalMemory", "external_resource_interop"); + subst("cuDestroyExternalSemaphore", "hipDestroyExternalSemaphore", "external_resource_interop"); + subst("cuExternalMemoryGetMappedBuffer", "hipExternalMemoryGetMappedBuffer", "external_resource_interop"); + subst("cuImportExternalMemory", "hipImportExternalMemory", "external_resource_interop"); + subst("cuImportExternalSemaphore", "hipImportExternalSemaphore", "external_resource_interop"); + subst("cuSignalExternalSemaphoresAsync", "hipSignalExternalSemaphoresAsync", "external_resource_interop"); + subst("cuWaitExternalSemaphoresAsync", "hipWaitExternalSemaphoresAsync", "external_resource_interop"); + subst("cudaDestroyExternalMemory", "hipDestroyExternalMemory", "external_resource_interop"); + subst("cudaDestroyExternalSemaphore", "hipDestroyExternalSemaphore", "external_resource_interop"); + subst("cudaExternalMemoryGetMappedBuffer", "hipExternalMemoryGetMappedBuffer", "external_resource_interop"); + subst("cudaImportExternalMemory", "hipImportExternalMemory", "external_resource_interop"); + subst("cudaImportExternalSemaphore", "hipImportExternalSemaphore", "external_resource_interop"); + subst("cudaSignalExternalSemaphoresAsync", "hipSignalExternalSemaphoresAsync", "external_resource_interop"); + subst("cudaWaitExternalSemaphoresAsync", "hipWaitExternalSemaphoresAsync", "external_resource_interop"); + subst("cuStreamWaitValue32", "hipStreamWaitValue32", "stream_memory"); + subst("cuStreamWaitValue64", "hipStreamWaitValue64", "stream_memory"); + subst("cuStreamWriteValue32", "hipStreamWriteValue32", "stream_memory"); + subst("cuStreamWriteValue64", "hipStreamWriteValue64", "stream_memory"); + subst("cuFuncGetAttribute", "hipFuncGetAttribute", "execution"); + subst("cuLaunchKernel", "hipModuleLaunchKernel", "execution"); + subst("cudaConfigureCall", "hipConfigureCall", "execution"); + subst("cudaFuncGetAttributes", "hipFuncGetAttributes", "execution"); + subst("cudaFuncSetAttribute", "hipFuncSetAttribute", "execution"); + subst("cudaFuncSetSharedMemConfig", "hipFuncSetSharedMemConfig", "execution"); + subst("cudaLaunch", "hipLaunchByPtr", "execution"); + subst("cudaLaunchCooperativeKernel", "hipLaunchCooperativeKernel", "execution"); + subst("cudaLaunchCooperativeKernelMultiDevice", "hipLaunchCooperativeKernelMultiDevice", "execution"); + subst("cudaLaunchKernel", "hipLaunchKernel", "execution"); + subst("cudaSetupArgument", "hipSetupArgument", "execution"); + subst("cuGraphAddChildGraphNode", "hipGraphAddChildGraphNode", "graph"); + subst("cuGraphAddDependencies", "hipGraphAddDependencies", "graph"); + subst("cuGraphAddEmptyNode", "hipGraphAddEmptyNode", "graph"); + subst("cuGraphAddEventRecordNode", "hipGraphAddEventRecordNode", "graph"); + subst("cuGraphAddEventWaitNode", "hipGraphAddEventWaitNode", "graph"); + subst("cuGraphAddHostNode", "hipGraphAddHostNode", "graph"); + subst("cuGraphAddKernelNode", "hipGraphAddKernelNode", "graph"); + subst("cuGraphChildGraphNodeGetGraph", "hipGraphChildGraphNodeGetGraph", "graph"); + subst("cuGraphCreate", "hipGraphCreate", "graph"); + subst("cuGraphDestroy", "hipGraphDestroy", "graph"); + subst("cuGraphDestroyNode", "hipGraphDestroyNode", "graph"); + subst("cuGraphEventRecordNodeGetEvent", "hipGraphEventRecordNodeGetEvent", "graph"); + subst("cuGraphEventRecordNodeSetEvent", "hipGraphEventRecordNodeSetEvent", "graph"); + subst("cuGraphEventWaitNodeGetEvent", "hipGraphEventWaitNodeGetEvent", "graph"); + subst("cuGraphEventWaitNodeSetEvent", "hipGraphEventWaitNodeSetEvent", "graph"); + subst("cuGraphExecChildGraphNodeSetParams", "hipGraphExecChildGraphNodeSetParams", "graph"); + subst("cuGraphExecDestroy", "hipGraphExecDestroy", "graph"); + subst("cuGraphExecEventRecordNodeSetEvent", "hipGraphExecEventRecordNodeSetEvent", "graph"); + subst("cuGraphExecEventWaitNodeSetEvent", "hipGraphExecEventWaitNodeSetEvent", "graph"); + subst("cuGraphExecHostNodeSetParams", "hipGraphExecHostNodeSetParams", "graph"); + subst("cuGraphExecKernelNodeSetParams", "hipGraphExecKernelNodeSetParams", "graph"); + subst("cuGraphExecUpdate", "hipGraphExecUpdate", "graph"); + subst("cuGraphGetEdges", "hipGraphGetEdges", "graph"); + subst("cuGraphGetNodes", "hipGraphGetNodes", "graph"); + subst("cuGraphGetRootNodes", "hipGraphGetRootNodes", "graph"); + subst("cuGraphHostNodeGetParams", "hipGraphHostNodeGetParams", "graph"); + subst("cuGraphHostNodeSetParams", "hipGraphHostNodeSetParams", "graph"); + subst("cuGraphInstantiate", "hipGraphInstantiate", "graph"); + subst("cuGraphInstantiateWithFlags", "hipGraphInstantiateWithFlags", "graph"); + subst("cuGraphInstantiate_v2", "hipGraphInstantiate", "graph"); + subst("cuGraphKernelNodeGetParams", "hipGraphKernelNodeGetParams", "graph"); + subst("cuGraphKernelNodeSetParams", "hipGraphKernelNodeSetParams", "graph"); + subst("cuGraphLaunch", "hipGraphLaunch", "graph"); + subst("cuGraphMemcpyNodeGetParams", "hipGraphMemcpyNodeGetParams", "graph"); + subst("cuGraphMemcpyNodeSetParams", "hipGraphMemcpyNodeSetParams", "graph"); + subst("cuGraphMemsetNodeGetParams", "hipGraphMemsetNodeGetParams", "graph"); + subst("cuGraphMemsetNodeSetParams", "hipGraphMemsetNodeSetParams", "graph"); + subst("cuGraphNodeFindInClone", "hipGraphNodeFindInClone", "graph"); + subst("cuGraphNodeGetDependencies", "hipGraphNodeGetDependencies", "graph"); + subst("cuGraphNodeGetDependentNodes", "hipGraphNodeGetDependentNodes", "graph"); + subst("cuGraphNodeGetType", "hipGraphNodeGetType", "graph"); + subst("cuGraphRemoveDependencies", "hipGraphRemoveDependencies", "graph"); + subst("cudaGraphAddChildGraphNode", "hipGraphAddChildGraphNode", "graph"); + subst("cudaGraphAddDependencies", "hipGraphAddDependencies", "graph"); + subst("cudaGraphAddEmptyNode", "hipGraphAddEmptyNode", "graph"); + subst("cudaGraphAddEventRecordNode", "hipGraphAddEventRecordNode", "graph"); + subst("cudaGraphAddEventWaitNode", "hipGraphAddEventWaitNode", "graph"); + subst("cudaGraphAddHostNode", "hipGraphAddHostNode", "graph"); + subst("cudaGraphAddKernelNode", "hipGraphAddKernelNode", "graph"); + subst("cudaGraphAddMemcpyNode", "hipGraphAddMemcpyNode", "graph"); + subst("cudaGraphAddMemcpyNode1D", "hipGraphAddMemcpyNode1D", "graph"); + subst("cudaGraphAddMemcpyNodeFromSymbol", "hipGraphAddMemcpyNodeFromSymbol", "graph"); + subst("cudaGraphAddMemcpyNodeToSymbol", "hipGraphAddMemcpyNodeToSymbol", "graph"); + subst("cudaGraphAddMemsetNode", "hipGraphAddMemsetNode", "graph"); + subst("cudaGraphChildGraphNodeGetGraph", "hipGraphChildGraphNodeGetGraph", "graph"); + subst("cudaGraphCreate", "hipGraphCreate", "graph"); + subst("cudaGraphDestroy", "hipGraphDestroy", "graph"); + subst("cudaGraphDestroyNode", "hipGraphDestroyNode", "graph"); + subst("cudaGraphEventRecordNodeGetEvent", "hipGraphEventRecordNodeGetEvent", "graph"); + subst("cudaGraphEventRecordNodeSetEvent", "hipGraphEventRecordNodeSetEvent", "graph"); + subst("cudaGraphEventWaitNodeGetEvent", "hipGraphEventWaitNodeGetEvent", "graph"); + subst("cudaGraphEventWaitNodeSetEvent", "hipGraphEventWaitNodeSetEvent", "graph"); + subst("cudaGraphExecChildGraphNodeSetParams", "hipGraphExecChildGraphNodeSetParams", "graph"); + subst("cudaGraphExecDestroy", "hipGraphExecDestroy", "graph"); + subst("cudaGraphExecEventRecordNodeSetEvent", "hipGraphExecEventRecordNodeSetEvent", "graph"); + subst("cudaGraphExecEventWaitNodeSetEvent", "hipGraphExecEventWaitNodeSetEvent", "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("cudaGraphExecUpdate", "hipGraphExecUpdate", "graph"); + subst("cudaGraphGetEdges", "hipGraphGetEdges", "graph"); + subst("cudaGraphGetNodes", "hipGraphGetNodes", "graph"); + subst("cudaGraphGetRootNodes", "hipGraphGetRootNodes", "graph"); + subst("cudaGraphHostNodeGetParams", "hipGraphHostNodeGetParams", "graph"); + subst("cudaGraphHostNodeSetParams", "hipGraphHostNodeSetParams", "graph"); + subst("cudaGraphInstantiate", "hipGraphInstantiate", "graph"); + subst("cudaGraphInstantiateWithFlags", "hipGraphInstantiateWithFlags", "graph"); + subst("cudaGraphKernelNodeGetParams", "hipGraphKernelNodeGetParams", "graph"); + subst("cudaGraphKernelNodeSetParams", "hipGraphKernelNodeSetParams", "graph"); + subst("cudaGraphLaunch", "hipGraphLaunch", "graph"); + subst("cudaGraphMemcpyNodeGetParams", "hipGraphMemcpyNodeGetParams", "graph"); + subst("cudaGraphMemcpyNodeSetParams", "hipGraphMemcpyNodeSetParams", "graph"); + subst("cudaGraphMemcpyNodeSetParams1D", "hipGraphMemcpyNodeSetParams1D", "graph"); + subst("cudaGraphMemcpyNodeSetParamsFromSymbol", "hipGraphMemcpyNodeSetParamsFromSymbol", "graph"); + subst("cudaGraphMemcpyNodeSetParamsToSymbol", "hipGraphMemcpyNodeSetParamsToSymbol", "graph"); + subst("cudaGraphMemsetNodeGetParams", "hipGraphMemsetNodeGetParams", "graph"); + subst("cudaGraphMemsetNodeSetParams", "hipGraphMemsetNodeSetParams", "graph"); + subst("cudaGraphNodeFindInClone", "hipGraphNodeFindInClone", "graph"); + subst("cudaGraphNodeGetDependencies", "hipGraphNodeGetDependencies", "graph"); + subst("cudaGraphNodeGetDependentNodes", "hipGraphNodeGetDependentNodes", "graph"); + subst("cudaGraphNodeGetType", "hipGraphNodeGetType", "graph"); + subst("cudaGraphRemoveDependencies", "hipGraphRemoveDependencies", "graph"); + subst("cuOccupancyMaxActiveBlocksPerMultiprocessor", "hipModuleOccupancyMaxActiveBlocksPerMultiprocessor", "occupancy"); + subst("cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags", "hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags", "occupancy"); + subst("cuOccupancyMaxPotentialBlockSize", "hipModuleOccupancyMaxPotentialBlockSize", "occupancy"); + subst("cuOccupancyMaxPotentialBlockSizeWithFlags", "hipModuleOccupancyMaxPotentialBlockSizeWithFlags", "occupancy"); + subst("cudaOccupancyMaxActiveBlocksPerMultiprocessor", "hipOccupancyMaxActiveBlocksPerMultiprocessor", "occupancy"); + subst("cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags", "hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags", "occupancy"); + subst("cudaOccupancyMaxPotentialBlockSize", "hipOccupancyMaxPotentialBlockSize", "occupancy"); + subst("cudaOccupancyMaxPotentialBlockSizeWithFlags", "hipOccupancyMaxPotentialBlockSizeWithFlags", "occupancy"); + subst("cuTexObjectCreate", "hipTexObjectCreate", "texture"); + subst("cuTexObjectDestroy", "hipTexObjectDestroy", "texture"); + subst("cuTexObjectGetResourceDesc", "hipTexObjectGetResourceDesc", "texture"); + subst("cuTexObjectGetResourceViewDesc", "hipTexObjectGetResourceViewDesc", "texture"); + subst("cuTexObjectGetTextureDesc", "hipTexObjectGetTextureDesc", "texture"); + subst("cuTexRefGetAddress", "hipTexRefGetAddress", "texture"); + subst("cuTexRefGetAddressMode", "hipTexRefGetAddressMode", "texture"); + subst("cuTexRefGetAddress_v2", "hipTexRefGetAddress", "texture"); + subst("cuTexRefGetArray", "hipTexRefGetArray", "texture"); + subst("cuTexRefGetFilterMode", "hipTexRefGetFilterMode", "texture"); + subst("cuTexRefGetFlags", "hipTexRefGetFlags", "texture"); + subst("cuTexRefGetFormat", "hipTexRefGetFormat", "texture"); + subst("cuTexRefGetMaxAnisotropy", "hipTexRefGetMaxAnisotropy", "texture"); + subst("cuTexRefGetMipmapFilterMode", "hipTexRefGetMipmapFilterMode", "texture"); + subst("cuTexRefGetMipmapLevelBias", "hipTexRefGetMipmapLevelBias", "texture"); + subst("cuTexRefGetMipmapLevelClamp", "hipTexRefGetMipmapLevelClamp", "texture"); + subst("cuTexRefGetMipmappedArray", "hipTexRefGetMipMappedArray", "texture"); + subst("cuTexRefSetAddress", "hipTexRefSetAddress", "texture"); + subst("cuTexRefSetAddress2D", "hipTexRefSetAddress2D", "texture"); + subst("cuTexRefSetAddress2D_v2", "hipTexRefSetAddress2D", "texture"); + subst("cuTexRefSetAddress2D_v3", "hipTexRefSetAddress2D", "texture"); + subst("cuTexRefSetAddressMode", "hipTexRefSetAddressMode", "texture"); + subst("cuTexRefSetAddress_v2", "hipTexRefSetAddress", "texture"); + subst("cuTexRefSetArray", "hipTexRefSetArray", "texture"); + subst("cuTexRefSetBorderColor", "hipTexRefSetBorderColor", "texture"); + subst("cuTexRefSetFilterMode", "hipTexRefSetFilterMode", "texture"); + subst("cuTexRefSetFlags", "hipTexRefSetFlags", "texture"); + subst("cuTexRefSetFormat", "hipTexRefSetFormat", "texture"); + subst("cuTexRefSetMaxAnisotropy", "hipTexRefSetMaxAnisotropy", "texture"); + subst("cuTexRefSetMipmapFilterMode", "hipTexRefSetMipmapFilterMode", "texture"); + subst("cuTexRefSetMipmapLevelBias", "hipTexRefSetMipmapLevelBias", "texture"); + subst("cuTexRefSetMipmapLevelClamp", "hipTexRefSetMipmapLevelClamp", "texture"); + subst("cuTexRefSetMipmappedArray", "hipTexRefSetMipmappedArray", "texture"); + subst("cudaBindTexture", "hipBindTexture", "texture"); + subst("cudaBindTexture2D", "hipBindTexture2D", "texture"); + subst("cudaBindTextureToArray", "hipBindTextureToArray", "texture"); + subst("cudaBindTextureToMipmappedArray", "hipBindTextureToMipmappedArray", "texture"); + subst("cudaCreateChannelDesc", "hipCreateChannelDesc", "texture"); + subst("cudaCreateTextureObject", "hipCreateTextureObject", "texture"); + subst("cudaDestroyTextureObject", "hipDestroyTextureObject", "texture"); + subst("cudaGetChannelDesc", "hipGetChannelDesc", "texture"); + subst("cudaGetTextureAlignmentOffset", "hipGetTextureAlignmentOffset", "texture"); + subst("cudaGetTextureObjectResourceDesc", "hipGetTextureObjectResourceDesc", "texture"); + subst("cudaGetTextureObjectResourceViewDesc", "hipGetTextureObjectResourceViewDesc", "texture"); + subst("cudaGetTextureReference", "hipGetTextureReference", "texture"); + subst("cudaUnbindTexture", "hipUnbindTexture", "texture"); + subst("cudaCreateSurfaceObject", "hipCreateSurfaceObject", "surface"); + subst("cudaDestroySurfaceObject", "hipDestroySurfaceObject", "surface"); + subst("cuCtxDisablePeerAccess", "hipCtxDisablePeerAccess", "peer"); + subst("cuCtxEnablePeerAccess", "hipCtxEnablePeerAccess", "peer"); + subst("cuDeviceCanAccessPeer", "hipDeviceCanAccessPeer", "peer"); + subst("cuDeviceGetP2PAttribute", "hipDeviceGetP2PAttribute", "peer"); + subst("cudaDeviceCanAccessPeer", "hipDeviceCanAccessPeer", "peer"); + subst("cudaDeviceDisablePeerAccess", "hipDeviceDisablePeerAccess", "peer"); + subst("cudaDeviceEnablePeerAccess", "hipDeviceEnablePeerAccess", "peer"); + subst("cuGraphicsMapResources", "hipGraphicsMapResources", "graphics"); + subst("cuGraphicsResourceGetMappedPointer", "hipGraphicsResourceGetMappedPointer", "graphics"); + subst("cuGraphicsResourceGetMappedPointer_v2", "hipGraphicsResourceGetMappedPointer", "graphics"); + subst("cuGraphicsUnmapResources", "hipGraphicsUnmapResources", "graphics"); + subst("cuGraphicsUnregisterResource", "hipGraphicsUnregisterResource", "graphics"); + subst("cudaGraphicsMapResources", "hipGraphicsMapResources", "graphics"); + subst("cudaGraphicsResourceGetMappedPointer", "hipGraphicsResourceGetMappedPointer", "graphics"); + subst("cudaGraphicsUnmapResources", "hipGraphicsUnmapResources", "graphics"); + subst("cudaGraphicsUnregisterResource", "hipGraphicsUnregisterResource", "graphics"); + subst("cuProfilerStart", "hipProfilerStart", "profiler"); + subst("cuProfilerStop", "hipProfilerStop", "profiler"); + subst("cudaProfilerStart", "hipProfilerStart", "profiler"); + subst("cudaProfilerStop", "hipProfilerStop", "profiler"); + subst("cuGLGetDevices", "hipGLGetDevices", "openGL"); + subst("cuGraphicsGLRegisterBuffer", "hipGraphicsGLRegisterBuffer", "openGL"); + subst("cudaGLGetDevices", "hipGLGetDevices", "openGL"); + subst("cudaGraphicsGLRegisterBuffer", "hipGraphicsGLRegisterBuffer", "openGL"); + subst("cudaGraphicsGLRegisterImage", "hipGraphicsGLRegisterImage", "openGL"); + subst("cudaThreadExit", "hipDeviceReset", "thread"); + subst("cudaThreadGetCacheConfig", "hipDeviceGetCacheConfig", "thread"); + subst("cudaThreadSetCacheConfig", "hipDeviceSetCacheConfig", "thread"); + subst("cudaThreadSynchronize", "hipDeviceSynchronize", "thread"); + subst("cuCabs", "hipCabs", "complex"); + subst("cuCabsf", "hipCabsf", "complex"); + subst("cuCadd", "hipCadd", "complex"); + subst("cuCaddf", "hipCaddf", "complex"); + subst("cuCdiv", "hipCdiv", "complex"); + subst("cuCdivf", "hipCdivf", "complex"); + subst("cuCfma", "hipCfma", "complex"); + subst("cuCfmaf", "hipCfmaf", "complex"); + subst("cuCimag", "hipCimag", "complex"); + subst("cuCimagf", "hipCimagf", "complex"); + subst("cuCmul", "hipCmul", "complex"); + subst("cuCmulf", "hipCmulf", "complex"); + subst("cuComplexDoubleToFloat", "hipComplexDoubleToFloat", "complex"); + subst("cuComplexFloatToDouble", "hipComplexFloatToDouble", "complex"); + subst("cuConj", "hipConj", "complex"); + subst("cuConjf", "hipConjf", "complex"); + subst("cuCreal", "hipCreal", "complex"); + subst("cuCrealf", "hipCrealf", "complex"); + subst("cuCsub", "hipCsub", "complex"); + subst("cuCsubf", "hipCsubf", "complex"); + subst("make_cuComplex", "make_hipComplex", "complex"); + subst("make_cuDoubleComplex", "make_hipDoubleComplex", "complex"); + subst("make_cuFloatComplex", "make_hipFloatComplex", "complex"); + subst("cublasAxpyEx", "hipblasAxpyEx", "library"); + subst("cublasCaxpy", "hipblasCaxpy", "library"); + subst("cublasCaxpy_v2", "hipblasCaxpy", "library"); + subst("cublasCcopy", "hipblasCcopy", "library"); + subst("cublasCcopy_v2", "hipblasCcopy", "library"); + subst("cublasCdgmm", "hipblasCdgmm", "library"); + subst("cublasCdotc", "hipblasCdotc", "library"); + subst("cublasCdotc_v2", "hipblasCdotc", "library"); + subst("cublasCdotu", "hipblasCdotu", "library"); + subst("cublasCdotu_v2", "hipblasCdotu", "library"); + subst("cublasCgbmv", "hipblasCgbmv", "library"); + subst("cublasCgbmv_v2", "hipblasCgbmv", "library"); + subst("cublasCgeam", "hipblasCgeam", "library"); + subst("cublasCgemm", "hipblasCgemm", "library"); + subst("cublasCgemmBatched", "hipblasCgemmBatched", "library"); + subst("cublasCgemmStridedBatched", "hipblasCgemmStridedBatched", "library"); + subst("cublasCgemm_v2", "hipblasCgemm", "library"); + subst("cublasCgemv", "hipblasCgemv", "library"); + subst("cublasCgemv_v2", "hipblasCgemv", "library"); + subst("cublasCgeqrfBatched", "hipblasCgeqrfBatched", "library"); + subst("cublasCgerc", "hipblasCgerc", "library"); + subst("cublasCgerc_v2", "hipblasCgerc", "library"); + subst("cublasCgeru", "hipblasCgeru", "library"); + subst("cublasCgeru_v2", "hipblasCgeru", "library"); + subst("cublasCgetrfBatched", "hipblasCgetrfBatched", "library"); + subst("cublasCgetriBatched", "hipblasCgetriBatched", "library"); + subst("cublasCgetrsBatched", "hipblasCgetrsBatched", "library"); + subst("cublasChbmv", "hipblasChbmv", "library"); + subst("cublasChbmv_v2", "hipblasChbmv", "library"); + subst("cublasChemm", "hipblasChemm", "library"); + subst("cublasChemm_v2", "hipblasChemm", "library"); + subst("cublasChemv", "hipblasChemv", "library"); + subst("cublasChemv_v2", "hipblasChemv", "library"); + subst("cublasCher", "hipblasCher", "library"); + subst("cublasCher2", "hipblasCher2", "library"); + subst("cublasCher2_v2", "hipblasCher2", "library"); + subst("cublasCher2k", "hipblasCher2k", "library"); + subst("cublasCher2k_v2", "hipblasCher2k", "library"); + subst("cublasCher_v2", "hipblasCher", "library"); + subst("cublasCherk", "hipblasCherk", "library"); + subst("cublasCherk_v2", "hipblasCherk", "library"); + subst("cublasCherkx", "hipblasCherkx", "library"); + subst("cublasChpmv", "hipblasChpmv", "library"); + subst("cublasChpmv_v2", "hipblasChpmv", "library"); + subst("cublasChpr", "hipblasChpr", "library"); + subst("cublasChpr2", "hipblasChpr2", "library"); + subst("cublasChpr2_v2", "hipblasChpr2", "library"); + subst("cublasChpr_v2", "hipblasChpr", "library"); + subst("cublasCreate", "hipblasCreate", "library"); + subst("cublasCreate_v2", "hipblasCreate", "library"); + subst("cublasCrot", "hipblasCrot", "library"); + subst("cublasCrot_v2", "hipblasCrot", "library"); + subst("cublasCrotg", "hipblasCrotg", "library"); + subst("cublasCrotg_v2", "hipblasCrotg", "library"); + subst("cublasCscal", "hipblasCscal", "library"); + subst("cublasCscal_v2", "hipblasCscal", "library"); + subst("cublasCsrot", "hipblasCsrot", "library"); + subst("cublasCsrot_v2", "hipblasCsrot", "library"); + subst("cublasCsscal", "hipblasCsscal", "library"); + subst("cublasCsscal_v2", "hipblasCsscal", "library"); + subst("cublasCswap", "hipblasCswap", "library"); + subst("cublasCswap_v2", "hipblasCswap", "library"); + subst("cublasCsymm", "hipblasCsymm", "library"); + subst("cublasCsymm_v2", "hipblasCsymm", "library"); + subst("cublasCsymv", "hipblasCsymv", "library"); + subst("cublasCsymv_v2", "hipblasCsymv", "library"); + subst("cublasCsyr", "hipblasCsyr", "library"); + subst("cublasCsyr2", "hipblasCsyr2", "library"); + subst("cublasCsyr2_v2", "hipblasCsyr2", "library"); + subst("cublasCsyr2k", "hipblasCsyr2k", "library"); + subst("cublasCsyr2k_v2", "hipblasCsyr2k", "library"); + subst("cublasCsyr_v2", "hipblasCsyr", "library"); + subst("cublasCsyrk", "hipblasCsyrk", "library"); + subst("cublasCsyrk_v2", "hipblasCsyrk", "library"); + subst("cublasCsyrkx", "hipblasCsyrkx", "library"); + subst("cublasCtbmv", "hipblasCtbmv", "library"); + subst("cublasCtbmv_v2", "hipblasCtbmv", "library"); + subst("cublasCtbsv", "hipblasCtbsv", "library"); + subst("cublasCtbsv_v2", "hipblasCtbsv", "library"); + subst("cublasCtpmv", "hipblasCtpmv", "library"); + subst("cublasCtpmv_v2", "hipblasCtpmv", "library"); + subst("cublasCtpsv", "hipblasCtpsv", "library"); + subst("cublasCtpsv_v2", "hipblasCtpsv", "library"); + subst("cublasCtrmm", "hipblasCtrmm", "library"); + subst("cublasCtrmm_v2", "hipblasCtrmm", "library"); + subst("cublasCtrmv", "hipblasCtrmv", "library"); + subst("cublasCtrmv_v2", "hipblasCtrmv", "library"); + subst("cublasCtrsm", "hipblasCtrsm", "library"); + subst("cublasCtrsmBatched", "hipblasCtrsmBatched", "library"); + subst("cublasCtrsm_v2", "hipblasCtrsm", "library"); + subst("cublasCtrsv", "hipblasCtrsv", "library"); + subst("cublasCtrsv_v2", "hipblasCtrsv", "library"); + subst("cublasDasum", "hipblasDasum", "library"); + subst("cublasDasum_v2", "hipblasDasum", "library"); + subst("cublasDaxpy", "hipblasDaxpy", "library"); + subst("cublasDaxpy_v2", "hipblasDaxpy", "library"); + subst("cublasDcopy", "hipblasDcopy", "library"); + subst("cublasDcopy_v2", "hipblasDcopy", "library"); + subst("cublasDdgmm", "hipblasDdgmm", "library"); + subst("cublasDdot", "hipblasDdot", "library"); + subst("cublasDdot_v2", "hipblasDdot", "library"); + subst("cublasDestroy", "hipblasDestroy", "library"); + subst("cublasDestroy_v2", "hipblasDestroy", "library"); + subst("cublasDgbmv", "hipblasDgbmv", "library"); + subst("cublasDgbmv_v2", "hipblasDgbmv", "library"); + subst("cublasDgeam", "hipblasDgeam", "library"); + subst("cublasDgemm", "hipblasDgemm", "library"); + subst("cublasDgemmBatched", "hipblasDgemmBatched", "library"); + subst("cublasDgemmStridedBatched", "hipblasDgemmStridedBatched", "library"); + subst("cublasDgemm_v2", "hipblasDgemm", "library"); + subst("cublasDgemv", "hipblasDgemv", "library"); + subst("cublasDgemv_v2", "hipblasDgemv", "library"); + subst("cublasDgeqrfBatched", "hipblasDgeqrfBatched", "library"); + subst("cublasDger", "hipblasDger", "library"); + subst("cublasDger_v2", "hipblasDger", "library"); + subst("cublasDgetrfBatched", "hipblasDgetrfBatched", "library"); + subst("cublasDgetriBatched", "hipblasDgetriBatched", "library"); + subst("cublasDgetrsBatched", "hipblasDgetrsBatched", "library"); + subst("cublasDnrm2", "hipblasDnrm2", "library"); + subst("cublasDnrm2_v2", "hipblasDnrm2", "library"); + subst("cublasDotEx", "hipblasDotEx", "library"); + subst("cublasDotcEx", "hipblasDotcEx", "library"); + subst("cublasDrot", "hipblasDrot", "library"); + subst("cublasDrot_v2", "hipblasDrot", "library"); + subst("cublasDrotg", "hipblasDrotg", "library"); + subst("cublasDrotg_v2", "hipblasDrotg", "library"); + subst("cublasDrotm", "hipblasDrotm", "library"); + subst("cublasDrotm_v2", "hipblasDrotm", "library"); + subst("cublasDrotmg", "hipblasDrotmg", "library"); + subst("cublasDrotmg_v2", "hipblasDrotmg", "library"); + subst("cublasDsbmv", "hipblasDsbmv", "library"); + subst("cublasDsbmv_v2", "hipblasDsbmv", "library"); + subst("cublasDscal", "hipblasDscal", "library"); + subst("cublasDscal_v2", "hipblasDscal", "library"); + subst("cublasDspmv", "hipblasDspmv", "library"); + subst("cublasDspmv_v2", "hipblasDspmv", "library"); + subst("cublasDspr", "hipblasDspr", "library"); + subst("cublasDspr2", "hipblasDspr2", "library"); + subst("cublasDspr2_v2", "hipblasDspr2", "library"); + subst("cublasDspr_v2", "hipblasDspr", "library"); + subst("cublasDswap", "hipblasDswap", "library"); + subst("cublasDswap_v2", "hipblasDswap", "library"); + subst("cublasDsymm", "hipblasDsymm", "library"); + subst("cublasDsymm_v2", "hipblasDsymm", "library"); + subst("cublasDsymv", "hipblasDsymv", "library"); + subst("cublasDsymv_v2", "hipblasDsymv", "library"); + subst("cublasDsyr", "hipblasDsyr", "library"); + subst("cublasDsyr2", "hipblasDsyr2", "library"); + subst("cublasDsyr2_v2", "hipblasDsyr2", "library"); + subst("cublasDsyr2k", "hipblasDsyr2k", "library"); + subst("cublasDsyr2k_v2", "hipblasDsyr2k", "library"); + subst("cublasDsyr_v2", "hipblasDsyr", "library"); + subst("cublasDsyrk", "hipblasDsyrk", "library"); + subst("cublasDsyrk_v2", "hipblasDsyrk", "library"); + subst("cublasDsyrkx", "hipblasDsyrkx", "library"); + subst("cublasDtbmv", "hipblasDtbmv", "library"); + subst("cublasDtbmv_v2", "hipblasDtbmv", "library"); + subst("cublasDtbsv", "hipblasDtbsv", "library"); + subst("cublasDtbsv_v2", "hipblasDtbsv", "library"); + subst("cublasDtpmv", "hipblasDtpmv", "library"); + subst("cublasDtpmv_v2", "hipblasDtpmv", "library"); + subst("cublasDtpsv", "hipblasDtpsv", "library"); + subst("cublasDtpsv_v2", "hipblasDtpsv", "library"); + subst("cublasDtrmm", "hipblasDtrmm", "library"); + subst("cublasDtrmm_v2", "hipblasDtrmm", "library"); + subst("cublasDtrmv", "hipblasDtrmv", "library"); + subst("cublasDtrmv_v2", "hipblasDtrmv", "library"); + subst("cublasDtrsm", "hipblasDtrsm", "library"); + subst("cublasDtrsmBatched", "hipblasDtrsmBatched", "library"); + subst("cublasDtrsm_v2", "hipblasDtrsm", "library"); + subst("cublasDtrsv", "hipblasDtrsv", "library"); + subst("cublasDtrsv_v2", "hipblasDtrsv", "library"); + subst("cublasDzasum", "hipblasDzasum", "library"); + subst("cublasDzasum_v2", "hipblasDzasum", "library"); + subst("cublasDznrm2", "hipblasDznrm2", "library"); + subst("cublasDznrm2_v2", "hipblasDznrm2", "library"); + subst("cublasGemmBatchedEx", "hipblasGemmBatchedEx", "library"); + subst("cublasGemmEx", "hipblasGemmEx", "library"); + subst("cublasGemmStridedBatchedEx", "hipblasGemmStridedBatchedEx", "library"); + subst("cublasGetAtomicsMode", "hipblasGetAtomicsMode", "library"); + subst("cublasGetMatrix", "hipblasGetMatrix", "library"); + subst("cublasGetMatrixAsync", "hipblasGetMatrixAsync", "library"); + subst("cublasGetPointerMode", "hipblasGetPointerMode", "library"); + subst("cublasGetPointerMode_v2", "hipblasGetPointerMode", "library"); + subst("cublasGetStream", "hipblasGetStream", "library"); + subst("cublasGetStream_v2", "hipblasGetStream", "library"); + subst("cublasGetVector", "hipblasGetVector", "library"); + subst("cublasGetVectorAsync", "hipblasGetVectorAsync", "library"); + subst("cublasHgemm", "hipblasHgemm", "library"); + subst("cublasHgemmBatched", "hipblasHgemmBatched", "library"); + subst("cublasHgemmStridedBatched", "hipblasHgemmStridedBatched", "library"); + subst("cublasIcamax", "hipblasIcamax", "library"); + subst("cublasIcamax_v2", "hipblasIcamax", "library"); + subst("cublasIcamin", "hipblasIcamin", "library"); + subst("cublasIcamin_v2", "hipblasIcamin", "library"); + subst("cublasIdamax", "hipblasIdamax", "library"); + subst("cublasIdamax_v2", "hipblasIdamax", "library"); + subst("cublasIdamin", "hipblasIdamin", "library"); + subst("cublasIdamin_v2", "hipblasIdamin", "library"); + subst("cublasIsamax", "hipblasIsamax", "library"); + subst("cublasIsamax_v2", "hipblasIsamax", "library"); + subst("cublasIsamin", "hipblasIsamin", "library"); + subst("cublasIsamin_v2", "hipblasIsamin", "library"); + subst("cublasIzamax", "hipblasIzamax", "library"); + subst("cublasIzamax_v2", "hipblasIzamax", "library"); + subst("cublasIzamin", "hipblasIzamin", "library"); + subst("cublasIzamin_v2", "hipblasIzamin", "library"); + subst("cublasNrm2Ex", "hipblasNrm2Ex", "library"); + subst("cublasRotEx", "hipblasRotEx", "library"); + subst("cublasSasum", "hipblasSasum", "library"); + subst("cublasSasum_v2", "hipblasSasum", "library"); + subst("cublasSaxpy", "hipblasSaxpy", "library"); + subst("cublasSaxpy_v2", "hipblasSaxpy", "library"); + subst("cublasScalEx", "hipblasScalEx", "library"); + subst("cublasScasum", "hipblasScasum", "library"); + subst("cublasScasum_v2", "hipblasScasum", "library"); + subst("cublasScnrm2", "hipblasScnrm2", "library"); + subst("cublasScnrm2_v2", "hipblasScnrm2", "library"); + subst("cublasScopy", "hipblasScopy", "library"); + subst("cublasScopy_v2", "hipblasScopy", "library"); + subst("cublasSdgmm", "hipblasSdgmm", "library"); + subst("cublasSdot", "hipblasSdot", "library"); + subst("cublasSdot_v2", "hipblasSdot", "library"); + subst("cublasSetAtomicsMode", "hipblasSetAtomicsMode", "library"); + subst("cublasSetMatrix", "hipblasSetMatrix", "library"); + subst("cublasSetMatrixAsync", "hipblasSetMatrixAsync", "library"); + subst("cublasSetPointerMode", "hipblasSetPointerMode", "library"); + subst("cublasSetPointerMode_v2", "hipblasSetPointerMode", "library"); + subst("cublasSetStream", "hipblasSetStream", "library"); + subst("cublasSetStream_v2", "hipblasSetStream", "library"); + subst("cublasSetVector", "hipblasSetVector", "library"); + subst("cublasSetVectorAsync", "hipblasSetVectorAsync", "library"); + subst("cublasSgbmv", "hipblasSgbmv", "library"); + subst("cublasSgbmv_v2", "hipblasSgbmv", "library"); + subst("cublasSgeam", "hipblasSgeam", "library"); + subst("cublasSgemm", "hipblasSgemm", "library"); + subst("cublasSgemmBatched", "hipblasSgemmBatched", "library"); + subst("cublasSgemmStridedBatched", "hipblasSgemmStridedBatched", "library"); + subst("cublasSgemm_v2", "hipblasSgemm", "library"); + subst("cublasSgemv", "hipblasSgemv", "library"); + subst("cublasSgemv_v2", "hipblasSgemv", "library"); + subst("cublasSgeqrfBatched", "hipblasSgeqrfBatched", "library"); + subst("cublasSger", "hipblasSger", "library"); + subst("cublasSger_v2", "hipblasSger", "library"); + subst("cublasSgetrfBatched", "hipblasSgetrfBatched", "library"); + subst("cublasSgetriBatched", "hipblasSgetriBatched", "library"); + subst("cublasSgetrsBatched", "hipblasSgetrsBatched", "library"); + subst("cublasSnrm2", "hipblasSnrm2", "library"); + subst("cublasSnrm2_v2", "hipblasSnrm2", "library"); + subst("cublasSrot", "hipblasSrot", "library"); + subst("cublasSrot_v2", "hipblasSrot", "library"); + subst("cublasSrotg", "hipblasSrotg", "library"); + subst("cublasSrotg_v2", "hipblasSrotg", "library"); + subst("cublasSrotm", "hipblasSrotm", "library"); + subst("cublasSrotm_v2", "hipblasSrotm", "library"); + subst("cublasSrotmg", "hipblasSrotmg", "library"); + subst("cublasSrotmg_v2", "hipblasSrotmg", "library"); + subst("cublasSsbmv", "hipblasSsbmv", "library"); + subst("cublasSsbmv_v2", "hipblasSsbmv", "library"); + subst("cublasSscal", "hipblasSscal", "library"); + subst("cublasSscal_v2", "hipblasSscal", "library"); + subst("cublasSspmv", "hipblasSspmv", "library"); + subst("cublasSspmv_v2", "hipblasSspmv", "library"); + subst("cublasSspr", "hipblasSspr", "library"); + subst("cublasSspr2", "hipblasSspr2", "library"); + subst("cublasSspr2_v2", "hipblasSspr2", "library"); + subst("cublasSspr_v2", "hipblasSspr", "library"); + subst("cublasSswap", "hipblasSswap", "library"); + subst("cublasSswap_v2", "hipblasSswap", "library"); + subst("cublasSsymm", "hipblasSsymm", "library"); + subst("cublasSsymm_v2", "hipblasSsymm", "library"); + subst("cublasSsymv", "hipblasSsymv", "library"); + subst("cublasSsymv_v2", "hipblasSsymv", "library"); + subst("cublasSsyr", "hipblasSsyr", "library"); + subst("cublasSsyr2", "hipblasSsyr2", "library"); + subst("cublasSsyr2_v2", "hipblasSsyr2", "library"); + subst("cublasSsyr2k", "hipblasSsyr2k", "library"); + subst("cublasSsyr2k_v2", "hipblasSsyr2k", "library"); + subst("cublasSsyr_v2", "hipblasSsyr", "library"); + subst("cublasSsyrk", "hipblasSsyrk", "library"); + subst("cublasSsyrk_v2", "hipblasSsyrk", "library"); + subst("cublasSsyrkx", "hipblasSsyrkx", "library"); + subst("cublasStbmv", "hipblasStbmv", "library"); + subst("cublasStbmv_v2", "hipblasStbmv", "library"); + subst("cublasStbsv", "hipblasStbsv", "library"); + subst("cublasStbsv_v2", "hipblasStbsv", "library"); + subst("cublasStpmv", "hipblasStpmv", "library"); + subst("cublasStpmv_v2", "hipblasStpmv", "library"); + subst("cublasStpsv", "hipblasStpsv", "library"); + subst("cublasStpsv_v2", "hipblasStpsv", "library"); + subst("cublasStrmm", "hipblasStrmm", "library"); + subst("cublasStrmm_v2", "hipblasStrmm", "library"); + subst("cublasStrmv", "hipblasStrmv", "library"); + subst("cublasStrmv_v2", "hipblasStrmv", "library"); + subst("cublasStrsm", "hipblasStrsm", "library"); + subst("cublasStrsmBatched", "hipblasStrsmBatched", "library"); + subst("cublasStrsm_v2", "hipblasStrsm", "library"); + subst("cublasStrsv", "hipblasStrsv", "library"); + subst("cublasStrsv_v2", "hipblasStrsv", "library"); + subst("cublasZaxpy", "hipblasZaxpy", "library"); + subst("cublasZaxpy_v2", "hipblasZaxpy", "library"); + subst("cublasZcopy", "hipblasZcopy", "library"); + subst("cublasZcopy_v2", "hipblasZcopy", "library"); + subst("cublasZdgmm", "hipblasZdgmm", "library"); + subst("cublasZdotc", "hipblasZdotc", "library"); + subst("cublasZdotc_v2", "hipblasZdotc", "library"); + subst("cublasZdotu", "hipblasZdotu", "library"); + subst("cublasZdotu_v2", "hipblasZdotu", "library"); + subst("cublasZdrot", "hipblasZdrot", "library"); + subst("cublasZdrot_v2", "hipblasZdrot", "library"); + subst("cublasZdscal", "hipblasZdscal", "library"); + subst("cublasZdscal_v2", "hipblasZdscal", "library"); + subst("cublasZgbmv", "hipblasZgbmv", "library"); + subst("cublasZgbmv_v2", "hipblasZgbmv", "library"); + subst("cublasZgeam", "hipblasZgeam", "library"); + subst("cublasZgemm", "hipblasZgemm", "library"); + subst("cublasZgemmBatched", "hipblasZgemmBatched", "library"); + subst("cublasZgemmStridedBatched", "hipblasZgemmStridedBatched", "library"); + subst("cublasZgemm_v2", "hipblasZgemm", "library"); + subst("cublasZgemv", "hipblasZgemv", "library"); + subst("cublasZgemv_v2", "hipblasZgemv", "library"); + subst("cublasZgeqrfBatched", "hipblasZgeqrfBatched", "library"); + subst("cublasZgerc", "hipblasZgerc", "library"); + subst("cublasZgerc_v2", "hipblasZgerc", "library"); + subst("cublasZgeru", "hipblasZgeru", "library"); + subst("cublasZgeru_v2", "hipblasZgeru", "library"); + subst("cublasZgetrfBatched", "hipblasZgetrfBatched", "library"); + subst("cublasZgetriBatched", "hipblasZgetriBatched", "library"); + subst("cublasZgetrsBatched", "hipblasZgetrsBatched", "library"); + subst("cublasZhbmv", "hipblasZhbmv", "library"); + subst("cublasZhbmv_v2", "hipblasZhbmv", "library"); + subst("cublasZhemm", "hipblasZhemm", "library"); + subst("cublasZhemm_v2", "hipblasZhemm", "library"); + subst("cublasZhemv", "hipblasZhemv", "library"); + subst("cublasZhemv_v2", "hipblasZhemv", "library"); + subst("cublasZher", "hipblasZher", "library"); + subst("cublasZher2", "hipblasZher2", "library"); + subst("cublasZher2_v2", "hipblasZher2", "library"); + subst("cublasZher2k", "hipblasZher2k", "library"); + subst("cublasZher2k_v2", "hipblasZher2k", "library"); + subst("cublasZher_v2", "hipblasZher", "library"); + subst("cublasZherk", "hipblasZherk", "library"); + subst("cublasZherk_v2", "hipblasZherk", "library"); + subst("cublasZherkx", "hipblasZherkx", "library"); + subst("cublasZhpmv", "hipblasZhpmv", "library"); + subst("cublasZhpmv_v2", "hipblasZhpmv", "library"); + subst("cublasZhpr", "hipblasZhpr", "library"); + subst("cublasZhpr2", "hipblasZhpr2", "library"); + subst("cublasZhpr2_v2", "hipblasZhpr2", "library"); + subst("cublasZhpr_v2", "hipblasZhpr", "library"); + subst("cublasZrot", "hipblasZrot", "library"); + subst("cublasZrot_v2", "hipblasZrot", "library"); + subst("cublasZrotg", "hipblasZrotg", "library"); + subst("cublasZrotg_v2", "hipblasZrotg", "library"); + subst("cublasZscal", "hipblasZscal", "library"); + subst("cublasZscal_v2", "hipblasZscal", "library"); + subst("cublasZswap", "hipblasZswap", "library"); + subst("cublasZswap_v2", "hipblasZswap", "library"); + subst("cublasZsymm", "hipblasZsymm", "library"); + subst("cublasZsymm_v2", "hipblasZsymm", "library"); + subst("cublasZsymv", "hipblasZsymv", "library"); + subst("cublasZsymv_v2", "hipblasZsymv", "library"); + subst("cublasZsyr", "hipblasZsyr", "library"); + subst("cublasZsyr2", "hipblasZsyr2", "library"); + subst("cublasZsyr2_v2", "hipblasZsyr2", "library"); + subst("cublasZsyr2k", "hipblasZsyr2k", "library"); + subst("cublasZsyr2k_v2", "hipblasZsyr2k", "library"); + subst("cublasZsyr_v2", "hipblasZsyr", "library"); + subst("cublasZsyrk", "hipblasZsyrk", "library"); + subst("cublasZsyrk_v2", "hipblasZsyrk", "library"); + subst("cublasZsyrkx", "hipblasZsyrkx", "library"); + subst("cublasZtbmv", "hipblasZtbmv", "library"); + subst("cublasZtbmv_v2", "hipblasZtbmv", "library"); + subst("cublasZtbsv", "hipblasZtbsv", "library"); + subst("cublasZtbsv_v2", "hipblasZtbsv", "library"); + subst("cublasZtpmv", "hipblasZtpmv", "library"); + subst("cublasZtpmv_v2", "hipblasZtpmv", "library"); + subst("cublasZtpsv", "hipblasZtpsv", "library"); + subst("cublasZtpsv_v2", "hipblasZtpsv", "library"); + subst("cublasZtrmm", "hipblasZtrmm", "library"); + subst("cublasZtrmm_v2", "hipblasZtrmm", "library"); + subst("cublasZtrmv", "hipblasZtrmv", "library"); + subst("cublasZtrmv_v2", "hipblasZtrmv", "library"); + subst("cublasZtrsm", "hipblasZtrsm", "library"); + subst("cublasZtrsmBatched", "hipblasZtrsmBatched", "library"); + subst("cublasZtrsm_v2", "hipblasZtrsm", "library"); + subst("cublasZtrsv", "hipblasZtrsv", "library"); + subst("cublasZtrsv_v2", "hipblasZtrsv", "library"); + subst("cuda_stream", "hip_stream", "library"); + subst("cudnnActivationBackward", "hipdnnActivationBackward", "library"); + subst("cudnnActivationForward", "hipdnnActivationForward", "library"); + subst("cudnnAddTensor", "hipdnnAddTensor", "library"); + subst("cudnnBatchNormalizationBackward", "hipdnnBatchNormalizationBackward", "library"); + subst("cudnnBatchNormalizationForwardInference", "hipdnnBatchNormalizationForwardInference", "library"); + subst("cudnnBatchNormalizationForwardTraining", "hipdnnBatchNormalizationForwardTraining", "library"); + subst("cudnnConvolutionBackwardBias", "hipdnnConvolutionBackwardBias", "library"); + subst("cudnnConvolutionBackwardData", "hipdnnConvolutionBackwardData", "library"); + subst("cudnnConvolutionBackwardFilter", "hipdnnConvolutionBackwardFilter", "library"); + subst("cudnnConvolutionForward", "hipdnnConvolutionForward", "library"); + subst("cudnnCreate", "hipdnnCreate", "library"); + subst("cudnnCreateActivationDescriptor", "hipdnnCreateActivationDescriptor", "library"); + subst("cudnnCreateConvolutionDescriptor", "hipdnnCreateConvolutionDescriptor", "library"); + subst("cudnnCreateDropoutDescriptor", "hipdnnCreateDropoutDescriptor", "library"); + subst("cudnnCreateFilterDescriptor", "hipdnnCreateFilterDescriptor", "library"); + subst("cudnnCreateLRNDescriptor", "hipdnnCreateLRNDescriptor", "library"); + subst("cudnnCreateOpTensorDescriptor", "hipdnnCreateOpTensorDescriptor", "library"); + subst("cudnnCreatePersistentRNNPlan", "hipdnnCreatePersistentRNNPlan", "library"); + subst("cudnnCreatePoolingDescriptor", "hipdnnCreatePoolingDescriptor", "library"); + subst("cudnnCreateRNNDescriptor", "hipdnnCreateRNNDescriptor", "library"); + subst("cudnnCreateReduceTensorDescriptor", "hipdnnCreateReduceTensorDescriptor", "library"); + subst("cudnnCreateTensorDescriptor", "hipdnnCreateTensorDescriptor", "library"); + subst("cudnnDeriveBNTensorDescriptor", "hipdnnDeriveBNTensorDescriptor", "library"); + subst("cudnnDestroy", "hipdnnDestroy", "library"); + subst("cudnnDestroyActivationDescriptor", "hipdnnDestroyActivationDescriptor", "library"); + subst("cudnnDestroyConvolutionDescriptor", "hipdnnDestroyConvolutionDescriptor", "library"); + subst("cudnnDestroyDropoutDescriptor", "hipdnnDestroyDropoutDescriptor", "library"); + subst("cudnnDestroyFilterDescriptor", "hipdnnDestroyFilterDescriptor", "library"); + subst("cudnnDestroyLRNDescriptor", "hipdnnDestroyLRNDescriptor", "library"); + subst("cudnnDestroyOpTensorDescriptor", "hipdnnDestroyOpTensorDescriptor", "library"); + subst("cudnnDestroyPersistentRNNPlan", "hipdnnDestroyPersistentRNNPlan", "library"); + subst("cudnnDestroyPoolingDescriptor", "hipdnnDestroyPoolingDescriptor", "library"); + subst("cudnnDestroyRNNDescriptor", "hipdnnDestroyRNNDescriptor", "library"); + subst("cudnnDestroyReduceTensorDescriptor", "hipdnnDestroyReduceTensorDescriptor", "library"); + subst("cudnnDestroyTensorDescriptor", "hipdnnDestroyTensorDescriptor", "library"); + subst("cudnnDropoutGetStatesSize", "hipdnnDropoutGetStatesSize", "library"); + subst("cudnnFindConvolutionBackwardDataAlgorithm", "hipdnnFindConvolutionBackwardDataAlgorithm", "library"); + subst("cudnnFindConvolutionBackwardDataAlgorithmEx", "hipdnnFindConvolutionBackwardDataAlgorithmEx", "library"); + subst("cudnnFindConvolutionBackwardFilterAlgorithm", "hipdnnFindConvolutionBackwardFilterAlgorithm", "library"); + subst("cudnnFindConvolutionBackwardFilterAlgorithmEx", "hipdnnFindConvolutionBackwardFilterAlgorithmEx", "library"); + subst("cudnnFindConvolutionForwardAlgorithm", "hipdnnFindConvolutionForwardAlgorithm", "library"); + subst("cudnnFindConvolutionForwardAlgorithmEx", "hipdnnFindConvolutionForwardAlgorithmEx", "library"); + subst("cudnnGetActivationDescriptor", "hipdnnGetActivationDescriptor", "library"); + subst("cudnnGetConvolution2dDescriptor", "hipdnnGetConvolution2dDescriptor", "library"); + subst("cudnnGetConvolution2dForwardOutputDim", "hipdnnGetConvolution2dForwardOutputDim", "library"); + subst("cudnnGetConvolutionBackwardDataAlgorithm", "hipdnnGetConvolutionBackwardDataAlgorithm", "library"); + subst("cudnnGetConvolutionBackwardDataWorkspaceSize", "hipdnnGetConvolutionBackwardDataWorkspaceSize", "library"); + subst("cudnnGetConvolutionBackwardFilterAlgorithm", "hipdnnGetConvolutionBackwardFilterAlgorithm", "library"); + subst("cudnnGetConvolutionBackwardFilterWorkspaceSize", "hipdnnGetConvolutionBackwardFilterWorkspaceSize", "library"); + subst("cudnnGetConvolutionForwardAlgorithm", "hipdnnGetConvolutionForwardAlgorithm", "library"); + subst("cudnnGetConvolutionForwardWorkspaceSize", "hipdnnGetConvolutionForwardWorkspaceSize", "library"); + subst("cudnnGetErrorString", "hipdnnGetErrorString", "library"); + subst("cudnnGetFilter4dDescriptor", "hipdnnGetFilter4dDescriptor", "library"); + subst("cudnnGetFilterNdDescriptor", "hipdnnGetFilterNdDescriptor", "library"); + subst("cudnnGetLRNDescriptor", "hipdnnGetLRNDescriptor", "library"); + subst("cudnnGetOpTensorDescriptor", "hipdnnGetOpTensorDescriptor", "library"); + subst("cudnnGetPooling2dDescriptor", "hipdnnGetPooling2dDescriptor", "library"); + subst("cudnnGetPooling2dForwardOutputDim", "hipdnnGetPooling2dForwardOutputDim", "library"); + subst("cudnnGetRNNDescriptor", "hipdnnGetRNNDescriptor", "library"); + subst("cudnnGetRNNLinLayerBiasParams", "hipdnnGetRNNLinLayerBiasParams", "library"); + subst("cudnnGetRNNLinLayerMatrixParams", "hipdnnGetRNNLinLayerMatrixParams", "library"); + subst("cudnnGetRNNParamsSize", "hipdnnGetRNNParamsSize", "library"); + subst("cudnnGetRNNTrainingReserveSize", "hipdnnGetRNNTrainingReserveSize", "library"); + subst("cudnnGetRNNWorkspaceSize", "hipdnnGetRNNWorkspaceSize", "library"); + subst("cudnnGetReduceTensorDescriptor", "hipdnnGetReduceTensorDescriptor", "library"); + subst("cudnnGetReductionWorkspaceSize", "hipdnnGetReductionWorkspaceSize", "library"); + subst("cudnnGetStream", "hipdnnGetStream", "library"); + subst("cudnnGetTensor4dDescriptor", "hipdnnGetTensor4dDescriptor", "library"); + subst("cudnnGetTensorNdDescriptor", "hipdnnGetTensorNdDescriptor", "library"); + subst("cudnnGetVersion", "hipdnnGetVersion", "library"); + subst("cudnnLRNCrossChannelBackward", "hipdnnLRNCrossChannelBackward", "library"); + subst("cudnnLRNCrossChannelForward", "hipdnnLRNCrossChannelForward", "library"); + subst("cudnnOpTensor", "hipdnnOpTensor", "library"); + subst("cudnnPoolingBackward", "hipdnnPoolingBackward", "library"); + subst("cudnnPoolingForward", "hipdnnPoolingForward", "library"); + subst("cudnnRNNBackwardData", "hipdnnRNNBackwardData", "library"); + subst("cudnnRNNBackwardWeights", "hipdnnRNNBackwardWeights", "library"); + subst("cudnnRNNForwardInference", "hipdnnRNNForwardInference", "library"); + subst("cudnnRNNForwardTraining", "hipdnnRNNForwardTraining", "library"); + subst("cudnnReduceTensor", "hipdnnReduceTensor", "library"); + subst("cudnnScaleTensor", "hipdnnScaleTensor", "library"); + subst("cudnnSetActivationDescriptor", "hipdnnSetActivationDescriptor", "library"); + subst("cudnnSetConvolution2dDescriptor", "hipdnnSetConvolution2dDescriptor", "library"); + subst("cudnnSetConvolutionGroupCount", "hipdnnSetConvolutionGroupCount", "library"); + subst("cudnnSetConvolutionMathType", "hipdnnSetConvolutionMathType", "library"); + subst("cudnnSetConvolutionNdDescriptor", "hipdnnSetConvolutionNdDescriptor", "library"); + subst("cudnnSetDropoutDescriptor", "hipdnnSetDropoutDescriptor", "library"); + subst("cudnnSetFilter4dDescriptor", "hipdnnSetFilter4dDescriptor", "library"); + subst("cudnnSetFilterNdDescriptor", "hipdnnSetFilterNdDescriptor", "library"); + subst("cudnnSetLRNDescriptor", "hipdnnSetLRNDescriptor", "library"); + subst("cudnnSetOpTensorDescriptor", "hipdnnSetOpTensorDescriptor", "library"); + subst("cudnnSetPersistentRNNPlan", "hipdnnSetPersistentRNNPlan", "library"); + subst("cudnnSetPooling2dDescriptor", "hipdnnSetPooling2dDescriptor", "library"); + subst("cudnnSetPoolingNdDescriptor", "hipdnnSetPoolingNdDescriptor", "library"); + subst("cudnnSetRNNDescriptor", "hipdnnSetRNNDescriptor", "library"); + subst("cudnnSetRNNDescriptor_v5", "hipdnnSetRNNDescriptor_v5", "library"); + subst("cudnnSetRNNDescriptor_v6", "hipdnnSetRNNDescriptor_v6", "library"); + subst("cudnnSetReduceTensorDescriptor", "hipdnnSetReduceTensorDescriptor", "library"); + subst("cudnnSetStream", "hipdnnSetStream", "library"); + subst("cudnnSetTensor", "hipdnnSetTensor", "library"); + subst("cudnnSetTensor4dDescriptor", "hipdnnSetTensor4dDescriptor", "library"); + subst("cudnnSetTensor4dDescriptorEx", "hipdnnSetTensor4dDescriptorEx", "library"); + subst("cudnnSetTensorNdDescriptor", "hipdnnSetTensorNdDescriptor", "library"); + subst("cudnnSoftmaxBackward", "hipdnnSoftmaxBackward", "library"); + subst("cudnnSoftmaxForward", "hipdnnSoftmaxForward", "library"); + subst("cufftCallbackLoadC", "hipfftCallbackLoadC", "library"); + subst("cufftCallbackLoadD", "hipfftCallbackLoadD", "library"); + subst("cufftCallbackLoadR", "hipfftCallbackLoadR", "library"); + subst("cufftCallbackLoadZ", "hipfftCallbackLoadZ", "library"); + subst("cufftCallbackStoreC", "hipfftCallbackStoreC", "library"); + subst("cufftCallbackStoreD", "hipfftCallbackStoreD", "library"); + subst("cufftCallbackStoreR", "hipfftCallbackStoreR", "library"); + subst("cufftCallbackStoreZ", "hipfftCallbackStoreZ", "library"); + subst("cufftCreate", "hipfftCreate", "library"); + subst("cufftDestroy", "hipfftDestroy", "library"); + subst("cufftEstimate1d", "hipfftEstimate1d", "library"); + subst("cufftEstimate2d", "hipfftEstimate2d", "library"); + subst("cufftEstimate3d", "hipfftEstimate3d", "library"); + subst("cufftEstimateMany", "hipfftEstimateMany", "library"); + subst("cufftExecC2C", "hipfftExecC2C", "library"); + subst("cufftExecC2R", "hipfftExecC2R", "library"); + subst("cufftExecD2Z", "hipfftExecD2Z", "library"); + subst("cufftExecR2C", "hipfftExecR2C", "library"); + subst("cufftExecZ2D", "hipfftExecZ2D", "library"); + subst("cufftExecZ2Z", "hipfftExecZ2Z", "library"); + subst("cufftGetProperty", "hipfftGetProperty", "library"); + subst("cufftGetSize", "hipfftGetSize", "library"); + subst("cufftGetSize1d", "hipfftGetSize1d", "library"); + subst("cufftGetSize2d", "hipfftGetSize2d", "library"); + subst("cufftGetSize3d", "hipfftGetSize3d", "library"); + subst("cufftGetSizeMany", "hipfftGetSizeMany", "library"); + subst("cufftGetSizeMany64", "hipfftGetSizeMany64", "library"); + subst("cufftGetVersion", "hipfftGetVersion", "library"); + subst("cufftMakePlan1d", "hipfftMakePlan1d", "library"); + subst("cufftMakePlan2d", "hipfftMakePlan2d", "library"); + subst("cufftMakePlan3d", "hipfftMakePlan3d", "library"); + subst("cufftMakePlanMany", "hipfftMakePlanMany", "library"); + subst("cufftMakePlanMany64", "hipfftMakePlanMany64", "library"); + subst("cufftPlan1d", "hipfftPlan1d", "library"); + subst("cufftPlan2d", "hipfftPlan2d", "library"); + subst("cufftPlan3d", "hipfftPlan3d", "library"); + subst("cufftPlanMany", "hipfftPlanMany", "library"); + subst("cufftSetAutoAllocation", "hipfftSetAutoAllocation", "library"); + subst("cufftSetStream", "hipfftSetStream", "library"); + subst("cufftSetWorkArea", "hipfftSetWorkArea", "library"); + subst("cufftXtClearCallback", "hipfftXtClearCallback", "library"); + subst("cufftXtSetCallback", "hipfftXtSetCallback", "library"); + subst("cufftXtSetCallbackSharedSize", "hipfftXtSetCallbackSharedSize", "library"); + subst("curandCreateGenerator", "hiprandCreateGenerator", "library"); + subst("curandCreateGeneratorHost", "hiprandCreateGeneratorHost", "library"); + subst("curandCreatePoissonDistribution", "hiprandCreatePoissonDistribution", "library"); + subst("curandDestroyDistribution", "hiprandDestroyDistribution", "library"); + subst("curandDestroyGenerator", "hiprandDestroyGenerator", "library"); + subst("curandGenerate", "hiprandGenerate", "library"); + subst("curandGenerateLogNormal", "hiprandGenerateLogNormal", "library"); + subst("curandGenerateLogNormalDouble", "hiprandGenerateLogNormalDouble", "library"); + subst("curandGenerateNormal", "hiprandGenerateNormal", "library"); + subst("curandGenerateNormalDouble", "hiprandGenerateNormalDouble", "library"); + subst("curandGeneratePoisson", "hiprandGeneratePoisson", "library"); + subst("curandGenerateSeeds", "hiprandGenerateSeeds", "library"); + subst("curandGenerateUniform", "hiprandGenerateUniform", "library"); + subst("curandGenerateUniformDouble", "hiprandGenerateUniformDouble", "library"); + subst("curandGetVersion", "hiprandGetVersion", "library"); + subst("curandMakeMTGP32Constants", "hiprandMakeMTGP32Constants", "library"); + subst("curandMakeMTGP32KernelState", "hiprandMakeMTGP32KernelState", "library"); + subst("curandSetGeneratorOffset", "hiprandSetGeneratorOffset", "library"); + subst("curandSetPseudoRandomGeneratorSeed", "hiprandSetPseudoRandomGeneratorSeed", "library"); + subst("curandSetQuasiRandomGeneratorDimensions", "hiprandSetQuasiRandomGeneratorDimensions", "library"); + subst("curandSetStream", "hiprandSetStream", "library"); + subst("cusparseAxpby", "hipsparseAxpby", "library"); + subst("cusparseBlockedEllGet", "hipsparseBlockedEllGet", "library"); + subst("cusparseCaxpyi", "hipsparseCaxpyi", "library"); + subst("cusparseCbsr2csr", "hipsparseCbsr2csr", "library"); + subst("cusparseCbsric02", "hipsparseCbsric02", "library"); + subst("cusparseCbsric02_analysis", "hipsparseCbsric02_analysis", "library"); + subst("cusparseCbsric02_bufferSize", "hipsparseCbsric02_bufferSize", "library"); + subst("cusparseCbsrilu02", "hipsparseCbsrilu02", "library"); + subst("cusparseCbsrilu02_analysis", "hipsparseCbsrilu02_analysis", "library"); + subst("cusparseCbsrilu02_bufferSize", "hipsparseCbsrilu02_bufferSize", "library"); + subst("cusparseCbsrilu02_numericBoost", "hipsparseCbsrilu02_numericBoost", "library"); + subst("cusparseCbsrmm", "hipsparseCbsrmm", "library"); + subst("cusparseCbsrmv", "hipsparseCbsrmv", "library"); + subst("cusparseCbsrsm2_analysis", "hipsparseCbsrsm2_analysis", "library"); + subst("cusparseCbsrsm2_bufferSize", "hipsparseCbsrsm2_bufferSize", "library"); + subst("cusparseCbsrsm2_solve", "hipsparseCbsrsm2_solve", "library"); + subst("cusparseCbsrsv2_analysis", "hipsparseCbsrsv2_analysis", "library"); + subst("cusparseCbsrsv2_bufferSize", "hipsparseCbsrsv2_bufferSize", "library"); + subst("cusparseCbsrsv2_bufferSizeExt", "hipsparseCbsrsv2_bufferSizeExt", "library"); + subst("cusparseCbsrsv2_solve", "hipsparseCbsrsv2_solve", "library"); + subst("cusparseCbsrxmv", "hipsparseCbsrxmv", "library"); + subst("cusparseCcsc2dense", "hipsparseCcsc2dense", "library"); + subst("cusparseCcsr2bsr", "hipsparseCcsr2bsr", "library"); + subst("cusparseCcsr2csc", "hipsparseCcsr2csc", "library"); + subst("cusparseCcsr2csr_compress", "hipsparseCcsr2csr_compress", "library"); + subst("cusparseCcsr2csru", "hipsparseCcsr2csru", "library"); + subst("cusparseCcsr2dense", "hipsparseCcsr2dense", "library"); + subst("cusparseCcsr2gebsr", "hipsparseCcsr2gebsr", "library"); + subst("cusparseCcsr2gebsr_bufferSize", "hipsparseCcsr2gebsr_bufferSize", "library"); + subst("cusparseCcsr2hyb", "hipsparseCcsr2hyb", "library"); + subst("cusparseCcsrcolor", "hipsparseCcsrcolor", "library"); + subst("cusparseCcsrgeam", "hipsparseCcsrgeam", "library"); + subst("cusparseCcsrgeam2", "hipsparseCcsrgeam2", "library"); + subst("cusparseCcsrgeam2_bufferSizeExt", "hipsparseCcsrgeam2_bufferSizeExt", "library"); + subst("cusparseCcsrgemm", "hipsparseCcsrgemm", "library"); + subst("cusparseCcsrgemm2", "hipsparseCcsrgemm2", "library"); + subst("cusparseCcsrgemm2_bufferSizeExt", "hipsparseCcsrgemm2_bufferSizeExt", "library"); + subst("cusparseCcsric02", "hipsparseCcsric02", "library"); + subst("cusparseCcsric02_analysis", "hipsparseCcsric02_analysis", "library"); + subst("cusparseCcsric02_bufferSize", "hipsparseCcsric02_bufferSize", "library"); + subst("cusparseCcsric02_bufferSizeExt", "hipsparseCcsric02_bufferSizeExt", "library"); + subst("cusparseCcsrilu02", "hipsparseCcsrilu02", "library"); + subst("cusparseCcsrilu02_analysis", "hipsparseCcsrilu02_analysis", "library"); + subst("cusparseCcsrilu02_bufferSize", "hipsparseCcsrilu02_bufferSize", "library"); + subst("cusparseCcsrilu02_bufferSizeExt", "hipsparseCcsrilu02_bufferSizeExt", "library"); + subst("cusparseCcsrilu02_numericBoost", "hipsparseCcsrilu02_numericBoost", "library"); + subst("cusparseCcsrmm", "hipsparseCcsrmm", "library"); + subst("cusparseCcsrmm2", "hipsparseCcsrmm2", "library"); + subst("cusparseCcsrmv", "hipsparseCcsrmv", "library"); + subst("cusparseCcsrsm2_analysis", "hipsparseCcsrsm2_analysis", "library"); + subst("cusparseCcsrsm2_bufferSizeExt", "hipsparseCcsrsm2_bufferSizeExt", "library"); + subst("cusparseCcsrsm2_solve", "hipsparseCcsrsm2_solve", "library"); + subst("cusparseCcsrsv2_analysis", "hipsparseCcsrsv2_analysis", "library"); + subst("cusparseCcsrsv2_bufferSize", "hipsparseCcsrsv2_bufferSize", "library"); + subst("cusparseCcsrsv2_bufferSizeExt", "hipsparseCcsrsv2_bufferSizeExt", "library"); + subst("cusparseCcsrsv2_solve", "hipsparseCcsrsv2_solve", "library"); + subst("cusparseCcsru2csr", "hipsparseCcsru2csr", "library"); + subst("cusparseCcsru2csr_bufferSizeExt", "hipsparseCcsru2csr_bufferSizeExt", "library"); + subst("cusparseCdense2csc", "hipsparseCdense2csc", "library"); + subst("cusparseCdense2csr", "hipsparseCdense2csr", "library"); + subst("cusparseCdotci", "hipsparseCdotci", "library"); + subst("cusparseCdoti", "hipsparseCdoti", "library"); + subst("cusparseCgebsr2csr", "hipsparseCgebsr2csr", "library"); + subst("cusparseCgebsr2gebsc", "hipsparseCgebsr2gebsc", "library"); + subst("cusparseCgebsr2gebsc_bufferSize", "hipsparseCgebsr2gebsc_bufferSize", "library"); + subst("cusparseCgebsr2gebsr", "hipsparseCgebsr2gebsr", "library"); + subst("cusparseCgebsr2gebsr_bufferSize", "hipsparseCgebsr2gebsr_bufferSize", "library"); + subst("cusparseCgemmi", "hipsparseCgemmi", "library"); + subst("cusparseCgemvi", "hipsparseCgemvi", "library"); + subst("cusparseCgemvi_bufferSize", "hipsparseCgemvi_bufferSize", "library"); + subst("cusparseCgpsvInterleavedBatch", "hipsparseCgpsvInterleavedBatch", "library"); + subst("cusparseCgpsvInterleavedBatch_bufferSizeExt", "hipsparseCgpsvInterleavedBatch_bufferSizeExt", "library"); + subst("cusparseCgthr", "hipsparseCgthr", "library"); + subst("cusparseCgthrz", "hipsparseCgthrz", "library"); + subst("cusparseCgtsv2", "hipsparseCgtsv2", "library"); + subst("cusparseCgtsv2StridedBatch", "hipsparseCgtsv2StridedBatch", "library"); + subst("cusparseCgtsv2StridedBatch_bufferSizeExt", "hipsparseCgtsv2StridedBatch_bufferSizeExt", "library"); + subst("cusparseCgtsv2_bufferSizeExt", "hipsparseCgtsv2_bufferSizeExt", "library"); + subst("cusparseCgtsv2_nopivot", "hipsparseCgtsv2_nopivot", "library"); + subst("cusparseCgtsv2_nopivot_bufferSizeExt", "hipsparseCgtsv2_nopivot_bufferSizeExt", "library"); + subst("cusparseCgtsvInterleavedBatch", "hipsparseCgtsvInterleavedBatch", "library"); + subst("cusparseCgtsvInterleavedBatch_bufferSizeExt", "hipsparseCgtsvInterleavedBatch_bufferSizeExt", "library"); + subst("cusparseChyb2csr", "hipsparseChyb2csr", "library"); + subst("cusparseChybmv", "hipsparseChybmv", "library"); + subst("cusparseCnnz", "hipsparseCnnz", "library"); + subst("cusparseCnnz_compress", "hipsparseCnnz_compress", "library"); + subst("cusparseCooAoSGet", "hipsparseCooAoSGet", "library"); + subst("cusparseCooGet", "hipsparseCooGet", "library"); + subst("cusparseCooSetPointers", "hipsparseCooSetPointers", "library"); + subst("cusparseCreate", "hipsparseCreate", "library"); + subst("cusparseCreateBlockedEll", "hipsparseCreateBlockedEll", "library"); + subst("cusparseCreateBsric02Info", "hipsparseCreateBsric02Info", "library"); + subst("cusparseCreateBsrilu02Info", "hipsparseCreateBsrilu02Info", "library"); + subst("cusparseCreateBsrsm2Info", "hipsparseCreateBsrsm2Info", "library"); + subst("cusparseCreateBsrsv2Info", "hipsparseCreateBsrsv2Info", "library"); + subst("cusparseCreateColorInfo", "hipsparseCreateColorInfo", "library"); + subst("cusparseCreateCoo", "hipsparseCreateCoo", "library"); + subst("cusparseCreateCooAoS", "hipsparseCreateCooAoS", "library"); + subst("cusparseCreateCsc", "hipsparseCreateCsc", "library"); + subst("cusparseCreateCsr", "hipsparseCreateCsr", "library"); + subst("cusparseCreateCsrgemm2Info", "hipsparseCreateCsrgemm2Info", "library"); + subst("cusparseCreateCsric02Info", "hipsparseCreateCsric02Info", "library"); + subst("cusparseCreateCsrilu02Info", "hipsparseCreateCsrilu02Info", "library"); + subst("cusparseCreateCsrsm2Info", "hipsparseCreateCsrsm2Info", "library"); + subst("cusparseCreateCsrsv2Info", "hipsparseCreateCsrsv2Info", "library"); + subst("cusparseCreateCsru2csrInfo", "hipsparseCreateCsru2csrInfo", "library"); + subst("cusparseCreateDnMat", "hipsparseCreateDnMat", "library"); + subst("cusparseCreateDnVec", "hipsparseCreateDnVec", "library"); + subst("cusparseCreateHybMat", "hipsparseCreateHybMat", "library"); + subst("cusparseCreateIdentityPermutation", "hipsparseCreateIdentityPermutation", "library"); + subst("cusparseCreateMatDescr", "hipsparseCreateMatDescr", "library"); + subst("cusparseCreatePruneInfo", "hipsparseCreatePruneInfo", "library"); + subst("cusparseCreateSpVec", "hipsparseCreateSpVec", "library"); + subst("cusparseCscSetPointers", "hipsparseCscSetPointers", "library"); + subst("cusparseCsctr", "hipsparseCsctr", "library"); + subst("cusparseCsrGet", "hipsparseCsrGet", "library"); + subst("cusparseCsrSetPointers", "hipsparseCsrSetPointers", "library"); + subst("cusparseDaxpyi", "hipsparseDaxpyi", "library"); + subst("cusparseDbsr2csr", "hipsparseDbsr2csr", "library"); + subst("cusparseDbsric02", "hipsparseDbsric02", "library"); + subst("cusparseDbsric02_analysis", "hipsparseDbsric02_analysis", "library"); + subst("cusparseDbsric02_bufferSize", "hipsparseDbsric02_bufferSize", "library"); + subst("cusparseDbsrilu02", "hipsparseDbsrilu02", "library"); + subst("cusparseDbsrilu02_analysis", "hipsparseDbsrilu02_analysis", "library"); + subst("cusparseDbsrilu02_bufferSize", "hipsparseDbsrilu02_bufferSize", "library"); + subst("cusparseDbsrilu02_numericBoost", "hipsparseDbsrilu02_numericBoost", "library"); + subst("cusparseDbsrmm", "hipsparseDbsrmm", "library"); + subst("cusparseDbsrmv", "hipsparseDbsrmv", "library"); + subst("cusparseDbsrsm2_analysis", "hipsparseDbsrsm2_analysis", "library"); + subst("cusparseDbsrsm2_bufferSize", "hipsparseDbsrsm2_bufferSize", "library"); + subst("cusparseDbsrsm2_solve", "hipsparseDbsrsm2_solve", "library"); + subst("cusparseDbsrsv2_analysis", "hipsparseDbsrsv2_analysis", "library"); + subst("cusparseDbsrsv2_bufferSize", "hipsparseDbsrsv2_bufferSize", "library"); + subst("cusparseDbsrsv2_bufferSizeExt", "hipsparseDbsrsv2_bufferSizeExt", "library"); + subst("cusparseDbsrsv2_solve", "hipsparseDbsrsv2_solve", "library"); + subst("cusparseDbsrxmv", "hipsparseDbsrxmv", "library"); + subst("cusparseDcsc2dense", "hipsparseDcsc2dense", "library"); + subst("cusparseDcsr2bsr", "hipsparseDcsr2bsr", "library"); + subst("cusparseDcsr2csc", "hipsparseDcsr2csc", "library"); + subst("cusparseDcsr2csr_compress", "hipsparseDcsr2csr_compress", "library"); + subst("cusparseDcsr2csru", "hipsparseDcsr2csru", "library"); + subst("cusparseDcsr2dense", "hipsparseDcsr2dense", "library"); + subst("cusparseDcsr2gebsr", "hipsparseDcsr2gebsr", "library"); + subst("cusparseDcsr2gebsr_bufferSize", "hipsparseDcsr2gebsr_bufferSize", "library"); + subst("cusparseDcsr2hyb", "hipsparseDcsr2hyb", "library"); + subst("cusparseDcsrcolor", "hipsparseDcsrcolor", "library"); + subst("cusparseDcsrgeam", "hipsparseDcsrgeam", "library"); + subst("cusparseDcsrgeam2", "hipsparseDcsrgeam2", "library"); + subst("cusparseDcsrgeam2_bufferSizeExt", "hipsparseDcsrgeam2_bufferSizeExt", "library"); + subst("cusparseDcsrgemm", "hipsparseDcsrgemm", "library"); + subst("cusparseDcsrgemm2", "hipsparseDcsrgemm2", "library"); + subst("cusparseDcsrgemm2_bufferSizeExt", "hipsparseDcsrgemm2_bufferSizeExt", "library"); + subst("cusparseDcsric02", "hipsparseDcsric02", "library"); + subst("cusparseDcsric02_analysis", "hipsparseDcsric02_analysis", "library"); + subst("cusparseDcsric02_bufferSize", "hipsparseDcsric02_bufferSize", "library"); + subst("cusparseDcsric02_bufferSizeExt", "hipsparseDcsric02_bufferSizeExt", "library"); + subst("cusparseDcsrilu02", "hipsparseDcsrilu02", "library"); + subst("cusparseDcsrilu02_analysis", "hipsparseDcsrilu02_analysis", "library"); + subst("cusparseDcsrilu02_bufferSize", "hipsparseDcsrilu02_bufferSize", "library"); + subst("cusparseDcsrilu02_bufferSizeExt", "hipsparseDcsrilu02_bufferSizeExt", "library"); + subst("cusparseDcsrilu02_numericBoost", "hipsparseDcsrilu02_numericBoost", "library"); + subst("cusparseDcsrmm", "hipsparseDcsrmm", "library"); + subst("cusparseDcsrmm2", "hipsparseDcsrmm2", "library"); + subst("cusparseDcsrmv", "hipsparseDcsrmv", "library"); + subst("cusparseDcsrsm2_analysis", "hipsparseDcsrsm2_analysis", "library"); + subst("cusparseDcsrsm2_bufferSizeExt", "hipsparseDcsrsm2_bufferSizeExt", "library"); + subst("cusparseDcsrsm2_solve", "hipsparseDcsrsm2_solve", "library"); + subst("cusparseDcsrsv2_analysis", "hipsparseDcsrsv2_analysis", "library"); + subst("cusparseDcsrsv2_bufferSize", "hipsparseDcsrsv2_bufferSize", "library"); + subst("cusparseDcsrsv2_bufferSizeExt", "hipsparseDcsrsv2_bufferSizeExt", "library"); + subst("cusparseDcsrsv2_solve", "hipsparseDcsrsv2_solve", "library"); + subst("cusparseDcsru2csr", "hipsparseDcsru2csr", "library"); + subst("cusparseDcsru2csr_bufferSizeExt", "hipsparseDcsru2csr_bufferSizeExt", "library"); + subst("cusparseDdense2csc", "hipsparseDdense2csc", "library"); + subst("cusparseDdense2csr", "hipsparseDdense2csr", "library"); + subst("cusparseDdoti", "hipsparseDdoti", "library"); + subst("cusparseDenseToSparse_analysis", "hipsparseDenseToSparse_analysis", "library"); + subst("cusparseDenseToSparse_bufferSize", "hipsparseDenseToSparse_bufferSize", "library"); + subst("cusparseDenseToSparse_convert", "hipsparseDenseToSparse_convert", "library"); + subst("cusparseDestroy", "hipsparseDestroy", "library"); + subst("cusparseDestroyBsric02Info", "hipsparseDestroyBsric02Info", "library"); + subst("cusparseDestroyBsrilu02Info", "hipsparseDestroyBsrilu02Info", "library"); + subst("cusparseDestroyBsrsm2Info", "hipsparseDestroyBsrsm2Info", "library"); + subst("cusparseDestroyBsrsv2Info", "hipsparseDestroyBsrsv2Info", "library"); + subst("cusparseDestroyColorInfo", "hipsparseDestroyColorInfo", "library"); + subst("cusparseDestroyCsrgemm2Info", "hipsparseDestroyCsrgemm2Info", "library"); + subst("cusparseDestroyCsric02Info", "hipsparseDestroyCsric02Info", "library"); + subst("cusparseDestroyCsrilu02Info", "hipsparseDestroyCsrilu02Info", "library"); + subst("cusparseDestroyCsrsm2Info", "hipsparseDestroyCsrsm2Info", "library"); + subst("cusparseDestroyCsrsv2Info", "hipsparseDestroyCsrsv2Info", "library"); + subst("cusparseDestroyCsru2csrInfo", "hipsparseDestroyCsru2csrInfo", "library"); + subst("cusparseDestroyDnMat", "hipsparseDestroyDnMat", "library"); + subst("cusparseDestroyDnVec", "hipsparseDestroyDnVec", "library"); + subst("cusparseDestroyHybMat", "hipsparseDestroyHybMat", "library"); + subst("cusparseDestroyMatDescr", "hipsparseDestroyMatDescr", "library"); + subst("cusparseDestroyPruneInfo", "hipsparseDestroyPruneInfo", "library"); + subst("cusparseDestroySpMat", "hipsparseDestroySpMat", "library"); + subst("cusparseDestroySpVec", "hipsparseDestroySpVec", "library"); + subst("cusparseDgebsr2csr", "hipsparseDgebsr2csr", "library"); + subst("cusparseDgebsr2gebsc", "hipsparseDgebsr2gebsc", "library"); + subst("cusparseDgebsr2gebsc_bufferSize", "hipsparseDgebsr2gebsc_bufferSize", "library"); + subst("cusparseDgebsr2gebsr", "hipsparseDgebsr2gebsr", "library"); + subst("cusparseDgebsr2gebsr_bufferSize", "hipsparseDgebsr2gebsr_bufferSize", "library"); + subst("cusparseDgemmi", "hipsparseDgemmi", "library"); + subst("cusparseDgemvi", "hipsparseDgemvi", "library"); + subst("cusparseDgemvi_bufferSize", "hipsparseDgemvi_bufferSize", "library"); + subst("cusparseDgpsvInterleavedBatch", "hipsparseDgpsvInterleavedBatch", "library"); + subst("cusparseDgpsvInterleavedBatch_bufferSizeExt", "hipsparseDgpsvInterleavedBatch_bufferSizeExt", "library"); + subst("cusparseDgthr", "hipsparseDgthr", "library"); + subst("cusparseDgthrz", "hipsparseDgthrz", "library"); + subst("cusparseDgtsv2", "hipsparseDgtsv2", "library"); + subst("cusparseDgtsv2StridedBatch", "hipsparseDgtsv2StridedBatch", "library"); + subst("cusparseDgtsv2StridedBatch_bufferSizeExt", "hipsparseDgtsv2StridedBatch_bufferSizeExt", "library"); + subst("cusparseDgtsv2_bufferSizeExt", "hipsparseDgtsv2_bufferSizeExt", "library"); + subst("cusparseDgtsv2_nopivot", "hipsparseDgtsv2_nopivot", "library"); + subst("cusparseDgtsv2_nopivot_bufferSizeExt", "hipsparseDgtsv2_nopivot_bufferSizeExt", "library"); + subst("cusparseDgtsvInterleavedBatch", "hipsparseDgtsvInterleavedBatch", "library"); + subst("cusparseDgtsvInterleavedBatch_bufferSizeExt", "hipsparseDgtsvInterleavedBatch_bufferSizeExt", "library"); + subst("cusparseDhyb2csr", "hipsparseDhyb2csr", "library"); + subst("cusparseDhybmv", "hipsparseDhybmv", "library"); + subst("cusparseDnMatGet", "hipsparseDnMatGet", "library"); + subst("cusparseDnMatGetValues", "hipsparseDnMatGetValues", "library"); + subst("cusparseDnMatSetValues", "hipsparseDnMatSetValues", "library"); + subst("cusparseDnVecGet", "hipsparseDnVecGet", "library"); + subst("cusparseDnVecGetValues", "hipsparseDnVecGetValues", "library"); + subst("cusparseDnVecSetValues", "hipsparseDnVecSetValues", "library"); + subst("cusparseDnnz", "hipsparseDnnz", "library"); + subst("cusparseDnnz_compress", "hipsparseDnnz_compress", "library"); + subst("cusparseDpruneCsr2csr", "hipsparseDpruneCsr2csr", "library"); + subst("cusparseDpruneCsr2csrByPercentage", "hipsparseDpruneCsr2csrByPercentage", "library"); + subst("cusparseDpruneCsr2csrByPercentage_bufferSizeExt", "hipsparseDpruneCsr2csrByPercentage_bufferSizeExt", "library"); + subst("cusparseDpruneCsr2csrNnz", "hipsparseDpruneCsr2csrNnz", "library"); + subst("cusparseDpruneCsr2csrNnzByPercentage", "hipsparseDpruneCsr2csrNnzByPercentage", "library"); + subst("cusparseDpruneCsr2csr_bufferSizeExt", "hipsparseDpruneCsr2csr_bufferSizeExt", "library"); + subst("cusparseDpruneDense2csr", "hipsparseDpruneDense2csr", "library"); + subst("cusparseDpruneDense2csrByPercentage", "hipsparseDpruneDense2csrByPercentage", "library"); + subst("cusparseDpruneDense2csrByPercentage_bufferSizeExt", "hipsparseDpruneDense2csrByPercentage_bufferSizeExt", "library"); + subst("cusparseDpruneDense2csrNnz", "hipsparseDpruneDense2csrNnz", "library"); + subst("cusparseDpruneDense2csrNnzByPercentage", "hipsparseDpruneDense2csrNnzByPercentage", "library"); + subst("cusparseDpruneDense2csr_bufferSizeExt", "hipsparseDpruneDense2csr_bufferSizeExt", "library"); + subst("cusparseDroti", "hipsparseDroti", "library"); + subst("cusparseDsctr", "hipsparseDsctr", "library"); + subst("cusparseGather", "hipsparseGather", "library"); + subst("cusparseGetMatDiagType", "hipsparseGetMatDiagType", "library"); + subst("cusparseGetMatFillMode", "hipsparseGetMatFillMode", "library"); + subst("cusparseGetMatIndexBase", "hipsparseGetMatIndexBase", "library"); + subst("cusparseGetMatType", "hipsparseGetMatType", "library"); + subst("cusparseGetPointerMode", "hipsparseGetPointerMode", "library"); + subst("cusparseGetStream", "hipsparseGetStream", "library"); + subst("cusparseGetVersion", "hipsparseGetVersion", "library"); + subst("cusparseRot", "hipsparseRot", "library"); + subst("cusparseSDDMM", "hipsparseSDDMM", "library"); + subst("cusparseSDDMM_bufferSize", "hipsparseSDDMM_bufferSize", "library"); + subst("cusparseSDDMM_preprocess", "hipsparseSDDMM_preprocess", "library"); + subst("cusparseSaxpyi", "hipsparseSaxpyi", "library"); + subst("cusparseSbsr2csr", "hipsparseSbsr2csr", "library"); + subst("cusparseSbsric02", "hipsparseSbsric02", "library"); + subst("cusparseSbsric02_analysis", "hipsparseSbsric02_analysis", "library"); + subst("cusparseSbsric02_bufferSize", "hipsparseSbsric02_bufferSize", "library"); + subst("cusparseSbsrilu02", "hipsparseSbsrilu02", "library"); + subst("cusparseSbsrilu02_analysis", "hipsparseSbsrilu02_analysis", "library"); + subst("cusparseSbsrilu02_bufferSize", "hipsparseSbsrilu02_bufferSize", "library"); + subst("cusparseSbsrilu02_numericBoost", "hipsparseSbsrilu02_numericBoost", "library"); + subst("cusparseSbsrmm", "hipsparseSbsrmm", "library"); + subst("cusparseSbsrmv", "hipsparseSbsrmv", "library"); + subst("cusparseSbsrsm2_analysis", "hipsparseSbsrsm2_analysis", "library"); + subst("cusparseSbsrsm2_bufferSize", "hipsparseSbsrsm2_bufferSize", "library"); + subst("cusparseSbsrsm2_solve", "hipsparseSbsrsm2_solve", "library"); + subst("cusparseSbsrsv2_analysis", "hipsparseSbsrsv2_analysis", "library"); + subst("cusparseSbsrsv2_bufferSize", "hipsparseSbsrsv2_bufferSize", "library"); + subst("cusparseSbsrsv2_bufferSizeExt", "hipsparseSbsrsv2_bufferSizeExt", "library"); + subst("cusparseSbsrsv2_solve", "hipsparseSbsrsv2_solve", "library"); + subst("cusparseSbsrxmv", "hipsparseSbsrxmv", "library"); + subst("cusparseScatter", "hipsparseScatter", "library"); + subst("cusparseScsc2dense", "hipsparseScsc2dense", "library"); + subst("cusparseScsr2bsr", "hipsparseScsr2bsr", "library"); + subst("cusparseScsr2csc", "hipsparseScsr2csc", "library"); + subst("cusparseScsr2csr_compress", "hipsparseScsr2csr_compress", "library"); + subst("cusparseScsr2csru", "hipsparseScsr2csru", "library"); + subst("cusparseScsr2dense", "hipsparseScsr2dense", "library"); + subst("cusparseScsr2gebsr", "hipsparseScsr2gebsr", "library"); + subst("cusparseScsr2gebsr_bufferSize", "hipsparseScsr2gebsr_bufferSize", "library"); + subst("cusparseScsr2hyb", "hipsparseScsr2hyb", "library"); + subst("cusparseScsrcolor", "hipsparseScsrcolor", "library"); + subst("cusparseScsrgeam", "hipsparseScsrgeam", "library"); + subst("cusparseScsrgeam2", "hipsparseScsrgeam2", "library"); + subst("cusparseScsrgeam2_bufferSizeExt", "hipsparseScsrgeam2_bufferSizeExt", "library"); + subst("cusparseScsrgemm", "hipsparseScsrgemm", "library"); + subst("cusparseScsrgemm2", "hipsparseScsrgemm2", "library"); + subst("cusparseScsrgemm2_bufferSizeExt", "hipsparseScsrgemm2_bufferSizeExt", "library"); + subst("cusparseScsric02", "hipsparseScsric02", "library"); + subst("cusparseScsric02_analysis", "hipsparseScsric02_analysis", "library"); + subst("cusparseScsric02_bufferSize", "hipsparseScsric02_bufferSize", "library"); + subst("cusparseScsric02_bufferSizeExt", "hipsparseScsric02_bufferSizeExt", "library"); + subst("cusparseScsrilu02", "hipsparseScsrilu02", "library"); + subst("cusparseScsrilu02_analysis", "hipsparseScsrilu02_analysis", "library"); + subst("cusparseScsrilu02_bufferSize", "hipsparseScsrilu02_bufferSize", "library"); + subst("cusparseScsrilu02_bufferSizeExt", "hipsparseScsrilu02_bufferSizeExt", "library"); + subst("cusparseScsrilu02_numericBoost", "hipsparseScsrilu02_numericBoost", "library"); + subst("cusparseScsrmm", "hipsparseScsrmm", "library"); + subst("cusparseScsrmm2", "hipsparseScsrmm2", "library"); + subst("cusparseScsrmv", "hipsparseScsrmv", "library"); + subst("cusparseScsrsm2_analysis", "hipsparseScsrsm2_analysis", "library"); + subst("cusparseScsrsm2_bufferSizeExt", "hipsparseScsrsm2_bufferSizeExt", "library"); + subst("cusparseScsrsm2_solve", "hipsparseScsrsm2_solve", "library"); + subst("cusparseScsrsv2_analysis", "hipsparseScsrsv2_analysis", "library"); + subst("cusparseScsrsv2_bufferSize", "hipsparseScsrsv2_bufferSize", "library"); + subst("cusparseScsrsv2_bufferSizeExt", "hipsparseScsrsv2_bufferSizeExt", "library"); + subst("cusparseScsrsv2_solve", "hipsparseScsrsv2_solve", "library"); + subst("cusparseScsru2csr", "hipsparseScsru2csr", "library"); + subst("cusparseScsru2csr_bufferSizeExt", "hipsparseScsru2csr_bufferSizeExt", "library"); + subst("cusparseSdense2csc", "hipsparseSdense2csc", "library"); + subst("cusparseSdense2csr", "hipsparseSdense2csr", "library"); + subst("cusparseSdoti", "hipsparseSdoti", "library"); + subst("cusparseSetMatDiagType", "hipsparseSetMatDiagType", "library"); + subst("cusparseSetMatFillMode", "hipsparseSetMatFillMode", "library"); + subst("cusparseSetMatIndexBase", "hipsparseSetMatIndexBase", "library"); + subst("cusparseSetMatType", "hipsparseSetMatType", "library"); + subst("cusparseSetPointerMode", "hipsparseSetPointerMode", "library"); + subst("cusparseSetStream", "hipsparseSetStream", "library"); + subst("cusparseSgebsr2csr", "hipsparseSgebsr2csr", "library"); + subst("cusparseSgebsr2gebsc", "hipsparseSgebsr2gebsc", "library"); + subst("cusparseSgebsr2gebsc_bufferSize", "hipsparseSgebsr2gebsc_bufferSize", "library"); + subst("cusparseSgebsr2gebsr", "hipsparseSgebsr2gebsr", "library"); + subst("cusparseSgebsr2gebsr_bufferSize", "hipsparseSgebsr2gebsr_bufferSize", "library"); + subst("cusparseSgemmi", "hipsparseSgemmi", "library"); + subst("cusparseSgemvi", "hipsparseSgemvi", "library"); + subst("cusparseSgemvi_bufferSize", "hipsparseSgemvi_bufferSize", "library"); + subst("cusparseSgpsvInterleavedBatch", "hipsparseSgpsvInterleavedBatch", "library"); + subst("cusparseSgpsvInterleavedBatch_bufferSizeExt", "hipsparseSgpsvInterleavedBatch_bufferSizeExt", "library"); + subst("cusparseSgthr", "hipsparseSgthr", "library"); + subst("cusparseSgthrz", "hipsparseSgthrz", "library"); + subst("cusparseSgtsv2", "hipsparseSgtsv2", "library"); + subst("cusparseSgtsv2StridedBatch", "hipsparseSgtsv2StridedBatch", "library"); + subst("cusparseSgtsv2StridedBatch_bufferSizeExt", "hipsparseSgtsv2StridedBatch_bufferSizeExt", "library"); + subst("cusparseSgtsv2_bufferSizeExt", "hipsparseSgtsv2_bufferSizeExt", "library"); + subst("cusparseSgtsv2_nopivot", "hipsparseSgtsv2_nopivot", "library"); + subst("cusparseSgtsv2_nopivot_bufferSizeExt", "hipsparseSgtsv2_nopivot_bufferSizeExt", "library"); + subst("cusparseSgtsvInterleavedBatch", "hipsparseSgtsvInterleavedBatch", "library"); + subst("cusparseSgtsvInterleavedBatch_bufferSizeExt", "hipsparseSgtsvInterleavedBatch_bufferSizeExt", "library"); + subst("cusparseShyb2csr", "hipsparseShyb2csr", "library"); + subst("cusparseShybmv", "hipsparseShybmv", "library"); + subst("cusparseSnnz", "hipsparseSnnz", "library"); + subst("cusparseSnnz_compress", "hipsparseSnnz_compress", "library"); + subst("cusparseSpGEMM_compute", "hipsparseSpGEMM_compute", "library"); + subst("cusparseSpGEMM_copy", "hipsparseSpGEMM_copy", "library"); + subst("cusparseSpGEMM_createDescr", "hipsparseSpGEMM_createDescr", "library"); + subst("cusparseSpGEMM_destroyDescr", "hipsparseSpGEMM_destroyDescr", "library"); + subst("cusparseSpGEMM_workEstimation", "hipsparseSpGEMM_workEstimation", "library"); + subst("cusparseSpMM", "hipsparseSpMM", "library"); + subst("cusparseSpMM_bufferSize", "hipsparseSpMM_bufferSize", "library"); + subst("cusparseSpMM_preprocess", "hipsparseSpMM_preprocess", "library"); + subst("cusparseSpMV", "hipsparseSpMV", "library"); + subst("cusparseSpMV_bufferSize", "hipsparseSpMV_bufferSize", "library"); + subst("cusparseSpMatGetAttribute", "hipsparseSpMatGetAttribute", "library"); + subst("cusparseSpMatGetFormat", "hipsparseSpMatGetFormat", "library"); + subst("cusparseSpMatGetIndexBase", "hipsparseSpMatGetIndexBase", "library"); + subst("cusparseSpMatGetSize", "hipsparseSpMatGetSize", "library"); + subst("cusparseSpMatGetValues", "hipsparseSpMatGetValues", "library"); + subst("cusparseSpMatSetAttribute", "hipsparseSpMatSetAttribute", "library"); + subst("cusparseSpMatSetValues", "hipsparseSpMatSetValues", "library"); + subst("cusparseSpSM_analysis", "hipsparseSpSM_analysis", "library"); + subst("cusparseSpSM_bufferSize", "hipsparseSpSM_bufferSize", "library"); + subst("cusparseSpSM_createDescr", "hipsparseSpSM_createDescr", "library"); + subst("cusparseSpSM_destroyDescr", "hipsparseSpSM_destroyDescr", "library"); + subst("cusparseSpSM_solve", "hipsparseSpSM_solve", "library"); + subst("cusparseSpSV_analysis", "hipsparseSpSV_analysis", "library"); + subst("cusparseSpSV_bufferSize", "hipsparseSpSV_bufferSize", "library"); + subst("cusparseSpSV_createDescr", "hipsparseSpSV_createDescr", "library"); + subst("cusparseSpSV_destroyDescr", "hipsparseSpSV_destroyDescr", "library"); + subst("cusparseSpSV_solve", "hipsparseSpSV_solve", "library"); + subst("cusparseSpVV", "hipsparseSpVV", "library"); + subst("cusparseSpVV_bufferSize", "hipsparseSpVV_bufferSize", "library"); + subst("cusparseSpVecGet", "hipsparseSpVecGet", "library"); + subst("cusparseSpVecGetIndexBase", "hipsparseSpVecGetIndexBase", "library"); + subst("cusparseSpVecGetValues", "hipsparseSpVecGetValues", "library"); + subst("cusparseSpVecSetValues", "hipsparseSpVecSetValues", "library"); + subst("cusparseSparseToDense", "hipsparseSparseToDense", "library"); + subst("cusparseSparseToDense_bufferSize", "hipsparseSparseToDense_bufferSize", "library"); + subst("cusparseSpruneCsr2csr", "hipsparseSpruneCsr2csr", "library"); + subst("cusparseSpruneCsr2csrByPercentage", "hipsparseSpruneCsr2csrByPercentage", "library"); + subst("cusparseSpruneCsr2csrByPercentage_bufferSizeExt", "hipsparseSpruneCsr2csrByPercentage_bufferSizeExt", "library"); + subst("cusparseSpruneCsr2csrNnz", "hipsparseSpruneCsr2csrNnz", "library"); + subst("cusparseSpruneCsr2csrNnzByPercentage", "hipsparseSpruneCsr2csrNnzByPercentage", "library"); + subst("cusparseSpruneCsr2csr_bufferSizeExt", "hipsparseSpruneCsr2csr_bufferSizeExt", "library"); + subst("cusparseSpruneDense2csr", "hipsparseSpruneDense2csr", "library"); + subst("cusparseSpruneDense2csrByPercentage", "hipsparseSpruneDense2csrByPercentage", "library"); + subst("cusparseSpruneDense2csrByPercentage_bufferSizeExt", "hipsparseSpruneDense2csrByPercentage_bufferSizeExt", "library"); + subst("cusparseSpruneDense2csrNnz", "hipsparseSpruneDense2csrNnz", "library"); + subst("cusparseSpruneDense2csrNnzByPercentage", "hipsparseSpruneDense2csrNnzByPercentage", "library"); + subst("cusparseSpruneDense2csr_bufferSizeExt", "hipsparseSpruneDense2csr_bufferSizeExt", "library"); + subst("cusparseSroti", "hipsparseSroti", "library"); + subst("cusparseSsctr", "hipsparseSsctr", "library"); + subst("cusparseXbsric02_zeroPivot", "hipsparseXbsric02_zeroPivot", "library"); + subst("cusparseXbsrilu02_zeroPivot", "hipsparseXbsrilu02_zeroPivot", "library"); + subst("cusparseXbsrsm2_zeroPivot", "hipsparseXbsrsm2_zeroPivot", "library"); + subst("cusparseXbsrsv2_zeroPivot", "hipsparseXbsrsv2_zeroPivot", "library"); + subst("cusparseXcoo2csr", "hipsparseXcoo2csr", "library"); + subst("cusparseXcoosortByColumn", "hipsparseXcoosortByColumn", "library"); + subst("cusparseXcoosortByRow", "hipsparseXcoosortByRow", "library"); + subst("cusparseXcoosort_bufferSizeExt", "hipsparseXcoosort_bufferSizeExt", "library"); + subst("cusparseXcscsort", "hipsparseXcscsort", "library"); + subst("cusparseXcscsort_bufferSizeExt", "hipsparseXcscsort_bufferSizeExt", "library"); + subst("cusparseXcsr2bsrNnz", "hipsparseXcsr2bsrNnz", "library"); + subst("cusparseXcsr2coo", "hipsparseXcsr2coo", "library"); + subst("cusparseXcsr2gebsrNnz", "hipsparseXcsr2gebsrNnz", "library"); + subst("cusparseXcsrgeam2Nnz", "hipsparseXcsrgeam2Nnz", "library"); + subst("cusparseXcsrgeamNnz", "hipsparseXcsrgeamNnz", "library"); + subst("cusparseXcsrgemm2Nnz", "hipsparseXcsrgemm2Nnz", "library"); + subst("cusparseXcsrgemmNnz", "hipsparseXcsrgemmNnz", "library"); + subst("cusparseXcsric02_zeroPivot", "hipsparseXcsric02_zeroPivot", "library"); + subst("cusparseXcsrilu02_zeroPivot", "hipsparseXcsrilu02_zeroPivot", "library"); + subst("cusparseXcsrsm2_zeroPivot", "hipsparseXcsrsm2_zeroPivot", "library"); + subst("cusparseXcsrsort", "hipsparseXcsrsort", "library"); + subst("cusparseXcsrsort_bufferSizeExt", "hipsparseXcsrsort_bufferSizeExt", "library"); + subst("cusparseXcsrsv2_zeroPivot", "hipsparseXcsrsv2_zeroPivot", "library"); + subst("cusparseXgebsr2gebsrNnz", "hipsparseXgebsr2gebsrNnz", "library"); + subst("cusparseZaxpyi", "hipsparseZaxpyi", "library"); + subst("cusparseZbsr2csr", "hipsparseZbsr2csr", "library"); + subst("cusparseZbsric02", "hipsparseZbsric02", "library"); + subst("cusparseZbsric02_analysis", "hipsparseZbsric02_analysis", "library"); + subst("cusparseZbsric02_bufferSize", "hipsparseZbsric02_bufferSize", "library"); + subst("cusparseZbsrilu02", "hipsparseZbsrilu02", "library"); + subst("cusparseZbsrilu02_analysis", "hipsparseZbsrilu02_analysis", "library"); + subst("cusparseZbsrilu02_bufferSize", "hipsparseZbsrilu02_bufferSize", "library"); + subst("cusparseZbsrilu02_numericBoost", "hipsparseZbsrilu02_numericBoost", "library"); + subst("cusparseZbsrmm", "hipsparseZbsrmm", "library"); + subst("cusparseZbsrmv", "hipsparseZbsrmv", "library"); + subst("cusparseZbsrsm2_analysis", "hipsparseZbsrsm2_analysis", "library"); + subst("cusparseZbsrsm2_bufferSize", "hipsparseZbsrsm2_bufferSize", "library"); + subst("cusparseZbsrsm2_solve", "hipsparseZbsrsm2_solve", "library"); + subst("cusparseZbsrsv2_analysis", "hipsparseZbsrsv2_analysis", "library"); + subst("cusparseZbsrsv2_bufferSize", "hipsparseZbsrsv2_bufferSize", "library"); + subst("cusparseZbsrsv2_bufferSizeExt", "hipsparseZbsrsv2_bufferSizeExt", "library"); + subst("cusparseZbsrsv2_solve", "hipsparseZbsrsv2_solve", "library"); + subst("cusparseZbsrxmv", "hipsparseZbsrxmv", "library"); + subst("cusparseZcsc2dense", "hipsparseZcsc2dense", "library"); + subst("cusparseZcsr2bsr", "hipsparseZcsr2bsr", "library"); + subst("cusparseZcsr2csc", "hipsparseZcsr2csc", "library"); + subst("cusparseZcsr2csr_compress", "hipsparseZcsr2csr_compress", "library"); + subst("cusparseZcsr2csru", "hipsparseZcsr2csru", "library"); + subst("cusparseZcsr2dense", "hipsparseZcsr2dense", "library"); + subst("cusparseZcsr2gebsr", "hipsparseZcsr2gebsr", "library"); + subst("cusparseZcsr2gebsr_bufferSize", "hipsparseZcsr2gebsr_bufferSize", "library"); + subst("cusparseZcsr2hyb", "hipsparseZcsr2hyb", "library"); + subst("cusparseZcsrcolor", "hipsparseZcsrcolor", "library"); + subst("cusparseZcsrgeam", "hipsparseZcsrgeam", "library"); + subst("cusparseZcsrgeam2", "hipsparseZcsrgeam2", "library"); + subst("cusparseZcsrgeam2_bufferSizeExt", "hipsparseZcsrgeam2_bufferSizeExt", "library"); + subst("cusparseZcsrgemm", "hipsparseZcsrgemm", "library"); + subst("cusparseZcsrgemm2", "hipsparseZcsrgemm2", "library"); + subst("cusparseZcsrgemm2_bufferSizeExt", "hipsparseZcsrgemm2_bufferSizeExt", "library"); + subst("cusparseZcsric02", "hipsparseZcsric02", "library"); + subst("cusparseZcsric02_analysis", "hipsparseZcsric02_analysis", "library"); + subst("cusparseZcsric02_bufferSize", "hipsparseZcsric02_bufferSize", "library"); + subst("cusparseZcsric02_bufferSizeExt", "hipsparseZcsric02_bufferSizeExt", "library"); + subst("cusparseZcsrilu02", "hipsparseZcsrilu02", "library"); + subst("cusparseZcsrilu02_analysis", "hipsparseZcsrilu02_analysis", "library"); + subst("cusparseZcsrilu02_bufferSize", "hipsparseZcsrilu02_bufferSize", "library"); + subst("cusparseZcsrilu02_bufferSizeExt", "hipsparseZcsrilu02_bufferSizeExt", "library"); + subst("cusparseZcsrilu02_numericBoost", "hipsparseZcsrilu02_numericBoost", "library"); + subst("cusparseZcsrmm", "hipsparseZcsrmm", "library"); + subst("cusparseZcsrmm2", "hipsparseZcsrmm2", "library"); + subst("cusparseZcsrmv", "hipsparseZcsrmv", "library"); + subst("cusparseZcsrsm2_analysis", "hipsparseZcsrsm2_analysis", "library"); + subst("cusparseZcsrsm2_bufferSizeExt", "hipsparseZcsrsm2_bufferSizeExt", "library"); + subst("cusparseZcsrsm2_solve", "hipsparseZcsrsm2_solve", "library"); + subst("cusparseZcsrsv2_analysis", "hipsparseZcsrsv2_analysis", "library"); + subst("cusparseZcsrsv2_bufferSize", "hipsparseZcsrsv2_bufferSize", "library"); + subst("cusparseZcsrsv2_bufferSizeExt", "hipsparseZcsrsv2_bufferSizeExt", "library"); + subst("cusparseZcsrsv2_solve", "hipsparseZcsrsv2_solve", "library"); + subst("cusparseZcsru2csr", "hipsparseZcsru2csr", "library"); + subst("cusparseZcsru2csr_bufferSizeExt", "hipsparseZcsru2csr_bufferSizeExt", "library"); + subst("cusparseZdense2csc", "hipsparseZdense2csc", "library"); + subst("cusparseZdense2csr", "hipsparseZdense2csr", "library"); + subst("cusparseZdotci", "hipsparseZdotci", "library"); + subst("cusparseZdoti", "hipsparseZdoti", "library"); + subst("cusparseZgebsr2csr", "hipsparseZgebsr2csr", "library"); + subst("cusparseZgebsr2gebsc", "hipsparseZgebsr2gebsc", "library"); + subst("cusparseZgebsr2gebsc_bufferSize", "hipsparseZgebsr2gebsc_bufferSize", "library"); + subst("cusparseZgebsr2gebsr", "hipsparseZgebsr2gebsr", "library"); + subst("cusparseZgebsr2gebsr_bufferSize", "hipsparseZgebsr2gebsr_bufferSize", "library"); + subst("cusparseZgemmi", "hipsparseZgemmi", "library"); + subst("cusparseZgemvi", "hipsparseZgemvi", "library"); + subst("cusparseZgemvi_bufferSize", "hipsparseZgemvi_bufferSize", "library"); + subst("cusparseZgpsvInterleavedBatch", "hipsparseZgpsvInterleavedBatch", "library"); + subst("cusparseZgpsvInterleavedBatch_bufferSizeExt", "hipsparseZgpsvInterleavedBatch_bufferSizeExt", "library"); + subst("cusparseZgthr", "hipsparseZgthr", "library"); + subst("cusparseZgthrz", "hipsparseZgthrz", "library"); + subst("cusparseZgtsv2", "hipsparseZgtsv2", "library"); + subst("cusparseZgtsv2StridedBatch", "hipsparseZgtsv2StridedBatch", "library"); + subst("cusparseZgtsv2StridedBatch_bufferSizeExt", "hipsparseZgtsv2StridedBatch_bufferSizeExt", "library"); + subst("cusparseZgtsv2_bufferSizeExt", "hipsparseZgtsv2_bufferSizeExt", "library"); + subst("cusparseZgtsv2_nopivot", "hipsparseZgtsv2_nopivot", "library"); + subst("cusparseZgtsv2_nopivot_bufferSizeExt", "hipsparseZgtsv2_nopivot_bufferSizeExt", "library"); + subst("cusparseZgtsvInterleavedBatch", "hipsparseZgtsvInterleavedBatch", "library"); + subst("cusparseZgtsvInterleavedBatch_bufferSizeExt", "hipsparseZgtsvInterleavedBatch_bufferSizeExt", "library"); + subst("cusparseZhyb2csr", "hipsparseZhyb2csr", "library"); + subst("cusparseZhybmv", "hipsparseZhybmv", "library"); + subst("cusparseZnnz", "hipsparseZnnz", "library"); + subst("cusparseZnnz_compress", "hipsparseZnnz_compress", "library"); + subst("cusparseZsctr", "hipsparseZsctr", "library"); + subst("nvrtcAddNameExpression", "hiprtcAddNameExpression", "library"); + subst("nvrtcCompileProgram", "hiprtcCompileProgram", "library"); + subst("nvrtcCreateProgram", "hiprtcCreateProgram", "library"); + subst("nvrtcDestroyProgram", "hiprtcDestroyProgram", "library"); + subst("nvrtcGetErrorString", "hiprtcGetErrorString", "library"); + subst("nvrtcGetLoweredName", "hiprtcGetLoweredName", "library"); + subst("nvrtcGetPTX", "hiprtcGetCode", "library"); + subst("nvrtcGetPTXSize", "hiprtcGetCodeSize", "library"); + subst("nvrtcGetProgramLog", "hiprtcGetProgramLog", "library"); + subst("nvrtcGetProgramLogSize", "hiprtcGetProgramLogSize", "library"); + subst("nvrtcVersion", "hiprtcVersion", "library"); + subst("curand", "hiprand", "device_library"); + subst("curand_discrete", "hiprand_discrete", "device_library"); + subst("curand_discrete4", "hiprand_discrete4", "device_library"); + subst("curand_init", "hiprand_init", "device_library"); + subst("curand_log_normal", "hiprand_log_normal", "device_library"); + subst("curand_log_normal2", "hiprand_log_normal2", "device_library"); + subst("curand_log_normal2_double", "hiprand_log_normal2_double", "device_library"); + subst("curand_log_normal4", "hiprand_log_normal4", "device_library"); + subst("curand_log_normal4_double", "hiprand_log_normal4_double", "device_library"); + subst("curand_log_normal_double", "hiprand_log_normal_double", "device_library"); + subst("curand_normal", "hiprand_normal", "device_library"); + subst("curand_normal2", "hiprand_normal2", "device_library"); + subst("curand_normal2_double", "hiprand_normal2_double", "device_library"); + subst("curand_normal4", "hiprand_normal4", "device_library"); + subst("curand_normal4_double", "hiprand_normal4_double", "device_library"); + subst("curand_normal_double", "hiprand_normal_double", "device_library"); + subst("curand_poisson", "hiprand_poisson", "device_library"); + subst("curand_poisson4", "hiprand_poisson4", "device_library"); + subst("curand_uniform", "hiprand_uniform", "device_library"); + subst("curand_uniform2_double", "hiprand_uniform2_double", "device_library"); + subst("curand_uniform4", "hiprand_uniform4", "device_library"); + subst("curand_uniform4_double", "hiprand_uniform4_double", "device_library"); + subst("curand_uniform_double", "hiprand_uniform_double", "device_library"); + subst("caffe2\/core\/common_cudnn.h", "caffe2\/core\/hip\/common_miopen.h", "include"); + subst("caffe2\/operators\/spatial_batch_norm_op.h", "caffe2\/operators\/hip\/spatial_batch_norm_op_miopen.hip", "include"); + subst("channel_descriptor.h", "hip\/channel_descriptor.h", "include"); + subst("cooperative_groups.h", "hip\/hip_cooperative_groups.h", "include"); + subst("cuda_fp16.h", "hip\/hip_fp16.h", "include"); + subst("cuda_profiler_api.h", "hip\/hip_profile.h", "include"); + subst("cuda_runtime_api.h", "hip\/hip_runtime_api.h", "include"); + subst("cuda_texture_types.h", "hip\/hip_texture_types.h", "include"); + subst("cufftXt.h", "hipfftXt.h", "include"); + subst("curand_discrete.h", "hiprand_kernel.h", "include"); + subst("curand_discrete2.h", "hiprand_kernel.h", "include"); + subst("curand_globals.h", "hiprand_kernel.h", "include"); + subst("curand_kernel.h", "hiprand_kernel.h", "include"); + subst("curand_lognormal.h", "hiprand_kernel.h", "include"); + subst("curand_mrg32k3a.h", "hiprand_kernel.h", "include"); + subst("curand_mtgp32.h", "hiprand_kernel.h", "include"); + subst("curand_mtgp32_host.h", "hiprand_mtgp32_host.h", "include"); + subst("curand_mtgp32_kernel.h", "hiprand_kernel.h", "include"); + subst("curand_mtgp32dc_p_11213.h", "rocrand_mtgp32_11213.h", "include"); + subst("curand_normal.h", "hiprand_kernel.h", "include"); + subst("curand_normal_static.h", "hiprand_kernel.h", "include"); + subst("curand_philox4x32_x.h", "hiprand_kernel.h", "include"); + subst("curand_poisson.h", "hiprand_kernel.h", "include"); + subst("curand_precalc.h", "hiprand_kernel.h", "include"); + subst("curand_uniform.h", "hiprand_kernel.h", "include"); + subst("device_functions.h", "hip\/device_functions.h", "include"); + subst("driver_types.h", "hip\/driver_types.h", "include"); + subst("texture_fetch_functions.h", "", "include"); + subst("vector_types.h", "hip\/hip_vector_types.h", "include"); + subst("cuComplex.h", "hip\/hip_complex.h", "include_cuda_main_header"); + subst("cub\/cub.cuh", "hipcub\/hipcub.hpp", "include_cuda_main_header"); + subst("cublas.h", "hipblas.h", "include_cuda_main_header"); + subst("cublas_v2.h", "hipblas.h", "include_cuda_main_header"); + subst("cuda.h", "hip\/hip_runtime.h", "include_cuda_main_header"); + subst("cuda_runtime.h", "hip\/hip_runtime.h", "include_cuda_main_header"); + subst("cudnn.h", "hipDNN.h", "include_cuda_main_header"); + subst("cufft.h", "hipfft.h", "include_cuda_main_header"); + subst("curand.h", "hiprand.h", "include_cuda_main_header"); + subst("cusparse.h", "hipsparse.h", "include_cuda_main_header"); + subst("cusparse_v2.h", "hipsparse.h", "include_cuda_main_header"); + subst("nvrtc.h", "hiprtc.h", "include_cuda_main_header"); + subst("CUDAContext", "HIPContext", "type"); + subst("CUDA_ARRAY3D_DESCRIPTOR", "HIP_ARRAY3D_DESCRIPTOR", "type"); + subst("CUDA_ARRAY3D_DESCRIPTOR_st", "HIP_ARRAY3D_DESCRIPTOR", "type"); + subst("CUDA_ARRAY3D_DESCRIPTOR_v2", "HIP_ARRAY3D_DESCRIPTOR", "type"); + subst("CUDA_ARRAY_DESCRIPTOR", "HIP_ARRAY_DESCRIPTOR", "type"); + subst("CUDA_ARRAY_DESCRIPTOR_st", "HIP_ARRAY_DESCRIPTOR", "type"); + subst("CUDA_ARRAY_DESCRIPTOR_v1", "HIP_ARRAY_DESCRIPTOR", "type"); + subst("CUDA_ARRAY_DESCRIPTOR_v1_st", "HIP_ARRAY_DESCRIPTOR", "type"); + subst("CUDA_ARRAY_DESCRIPTOR_v2", "HIP_ARRAY_DESCRIPTOR", "type"); + subst("CUDA_EXTERNAL_MEMORY_BUFFER_DESC", "hipExternalMemoryBufferDesc", "type"); + subst("CUDA_EXTERNAL_MEMORY_BUFFER_DESC_st", "hipExternalMemoryBufferDesc_st", "type"); + subst("CUDA_EXTERNAL_MEMORY_BUFFER_DESC_v1", "hipExternalMemoryBufferDesc", "type"); + subst("CUDA_EXTERNAL_MEMORY_HANDLE_DESC", "hipExternalMemoryHandleDesc", "type"); + subst("CUDA_EXTERNAL_MEMORY_HANDLE_DESC_st", "hipExternalMemoryHandleDesc_st", "type"); + subst("CUDA_EXTERNAL_MEMORY_HANDLE_DESC_v1", "hipExternalMemoryHandleDesc", "type"); + subst("CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC", "hipExternalSemaphoreHandleDesc", "type"); + subst("CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_st", "hipExternalSemaphoreHandleDesc_st", "type"); + subst("CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_v1", "hipExternalSemaphoreHandleDesc", "type"); + subst("CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS", "hipExternalSemaphoreSignalParams", "type"); + subst("CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS_st", "hipExternalSemaphoreSignalParams_st", "type"); + subst("CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS_v1", "hipExternalSemaphoreSignalParams", "type"); + subst("CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS", "hipExternalSemaphoreWaitParams", "type"); + subst("CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st", "hipExternalSemaphoreWaitParams_st", "type"); + subst("CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_v1", "hipExternalSemaphoreWaitParams", "type"); + subst("CUDA_HOST_NODE_PARAMS", "hipHostNodeParams", "type"); + subst("CUDA_HOST_NODE_PARAMS_st", "hipHostNodeParams", "type"); + subst("CUDA_HOST_NODE_PARAMS_v1", "hipHostNodeParams", "type"); + subst("CUDA_KERNEL_NODE_PARAMS", "hipKernelNodeParams", "type"); + subst("CUDA_KERNEL_NODE_PARAMS_st", "hipKernelNodeParams", "type"); + subst("CUDA_KERNEL_NODE_PARAMS_v1", "hipKernelNodeParams", "type"); + subst("CUDA_MEMCPY2D", "hip_Memcpy2D", "type"); + subst("CUDA_MEMCPY2D_st", "hip_Memcpy2D", "type"); + subst("CUDA_MEMCPY2D_v1", "hip_Memcpy2D", "type"); + subst("CUDA_MEMCPY2D_v1_st", "hip_Memcpy2D", "type"); + subst("CUDA_MEMCPY2D_v2", "hip_Memcpy2D", "type"); + subst("CUDA_MEMCPY3D", "HIP_MEMCPY3D", "type"); + subst("CUDA_MEMCPY3D_st", "HIP_MEMCPY3D", "type"); + subst("CUDA_MEMCPY3D_v1", "HIP_MEMCPY3D", "type"); + subst("CUDA_MEMCPY3D_v1_st", "HIP_MEMCPY3D", "type"); + subst("CUDA_MEMCPY3D_v2", "HIP_MEMCPY3D", "type"); + subst("CUDA_MEMSET_NODE_PARAMS", "hipMemsetParams", "type"); + subst("CUDA_MEMSET_NODE_PARAMS_st", "hipMemsetParams", "type"); + subst("CUDA_MEMSET_NODE_PARAMS_v1", "hipMemsetParams", "type"); + subst("CUDA_RESOURCE_DESC", "HIP_RESOURCE_DESC", "type"); + subst("CUDA_RESOURCE_DESC_st", "HIP_RESOURCE_DESC_st", "type"); + subst("CUDA_RESOURCE_DESC_v1", "HIP_RESOURCE_DESC", "type"); + subst("CUDA_RESOURCE_VIEW_DESC", "HIP_RESOURCE_VIEW_DESC", "type"); + subst("CUDA_RESOURCE_VIEW_DESC_st", "HIP_RESOURCE_VIEW_DESC_st", "type"); + subst("CUDA_RESOURCE_VIEW_DESC_v1", "HIP_RESOURCE_VIEW_DESC", "type"); + subst("CUDA_TEXTURE_DESC", "HIP_TEXTURE_DESC", "type"); + subst("CUDA_TEXTURE_DESC_st", "HIP_TEXTURE_DESC_st", "type"); + subst("CUDA_TEXTURE_DESC_v1", "HIP_TEXTURE_DESC", "type"); + subst("CUGLDeviceList", "hipGLDeviceList", "type"); + subst("CUGLDeviceList_enum", "hipGLDeviceList", "type"); + subst("CUaddress_mode", "HIPaddress_mode", "type"); + subst("CUaddress_mode_enum", "HIPaddress_mode_enum", "type"); + subst("CUarray", "hipArray_t", "type"); + subst("CUarray_format", "hipArray_Format", "type"); + subst("CUarray_format_enum", "hipArray_Format", "type"); + subst("CUarray_st", "hipArray", "type"); + subst("CUcomputemode", "hipComputeMode", "type"); + subst("CUcomputemode_enum", "hipComputeMode", "type"); + subst("CUcontext", "hipCtx_t", "type"); + subst("CUctx_st", "ihipCtx_t", "type"); + subst("CUdevice", "hipDevice_t", "type"); + subst("CUdevice_P2PAttribute", "hipDeviceP2PAttr", "type"); + subst("CUdevice_P2PAttribute_enum", "hipDeviceP2PAttr", "type"); + subst("CUdevice_attribute", "hipDeviceAttribute_t", "type"); + subst("CUdevice_attribute_enum", "hipDeviceAttribute_t", "type"); + subst("CUdevice_v1", "hipDevice_t", "type"); + subst("CUdeviceptr", "hipDeviceptr_t", "type"); + subst("CUdeviceptr_v1", "hipDeviceptr_t", "type"); + subst("CUdeviceptr_v2", "hipDeviceptr_t", "type"); + subst("CUevent", "hipEvent_t", "type"); + subst("CUevent_st", "ihipEvent_t", "type"); + subst("CUexternalMemory", "hipExternalMemory_t", "type"); + subst("CUexternalMemoryHandleType", "hipExternalMemoryHandleType", "type"); + subst("CUexternalMemoryHandleType_enum", "hipExternalMemoryHandleType_enum", "type"); + subst("CUexternalSemaphore", "hipExternalSemaphore_t", "type"); + subst("CUexternalSemaphoreHandleType", "hipExternalSemaphoreHandleType", "type"); + subst("CUexternalSemaphoreHandleType_enum", "hipExternalSemaphoreHandleType_enum", "type"); + subst("CUfilter_mode", "HIPfilter_mode", "type"); + subst("CUfilter_mode_enum", "HIPfilter_mode_enum", "type"); + subst("CUfunc_cache", "hipFuncCache_t", "type"); + subst("CUfunc_cache_enum", "hipFuncCache_t", "type"); + subst("CUfunc_st", "ihipModuleSymbol_t", "type"); + subst("CUfunction", "hipFunction_t", "type"); + subst("CUfunction_attribute", "hipFunction_attribute", "type"); + subst("CUfunction_attribute_enum", "hipFunction_attribute", "type"); + subst("CUgraph", "hipGraph_t", "type"); + subst("CUgraphExec", "hipGraphExec_t", "type"); + subst("CUgraphExecUpdateResult", "hipGraphExecUpdateResult", "type"); + subst("CUgraphExecUpdateResult_enum", "hipGraphExecUpdateResult", "type"); + subst("CUgraphExec_st", "hipGraphExec", "type"); + subst("CUgraphNode", "hipGraphNode_t", "type"); + subst("CUgraphNodeType", "hipGraphNodeType", "type"); + subst("CUgraphNodeType_enum", "hipGraphNodeType", "type"); + subst("CUgraphNode_st", "hipGraphNode", "type"); + subst("CUgraph_st", "ihipGraph", "type"); + subst("CUgraphicsRegisterFlags", "hipGraphicsRegisterFlags", "type"); + subst("CUgraphicsRegisterFlags_enum", "hipGraphicsRegisterFlags", "type"); + subst("CUgraphicsResource", "hipGraphicsResource_t", "type"); + subst("CUgraphicsResource_st", "hipGraphicsResource", "type"); + subst("CUhostFn", "hipHostFn_t", "type"); + subst("CUipcEventHandle", "hipIpcEventHandle_t", "type"); + subst("CUipcEventHandle_st", "hipIpcEventHandle_st", "type"); + subst("CUipcEventHandle_v1", "hipIpcEventHandle_t", "type"); + subst("CUipcMemHandle", "hipIpcMemHandle_t", "type"); + subst("CUipcMemHandle_st", "hipIpcMemHandle_st", "type"); + subst("CUipcMemHandle_v1", "hipIpcMemHandle_t", "type"); + subst("CUjit_option", "hipJitOption", "type"); + subst("CUjit_option_enum", "hipJitOption", "type"); + subst("CUlimit", "hipLimit_t", "type"); + subst("CUlimit_enum", "hipLimit_t", "type"); + subst("CUmem_advise", "hipMemoryAdvise", "type"); + subst("CUmem_advise_enum", "hipMemoryAdvise", "type"); + subst("CUmem_range_attribute", "hipMemRangeAttribute", "type"); + subst("CUmem_range_attribute_enum", "hipMemRangeAttribute", "type"); + subst("CUmemorytype", "hipMemoryType", "type"); + subst("CUmemorytype_enum", "hipMemoryType", "type"); + subst("CUmipmappedArray", "hipMipmappedArray_t", "type"); + subst("CUmipmappedArray_st", "hipMipmappedArray", "type"); + subst("CUmod_st", "ihipModule_t", "type"); + subst("CUmodule", "hipModule_t", "type"); + subst("CUoccupancyB2DSize", "void*", "type"); + subst("CUpointer_attribute", "hipPointer_attribute", "type"); + subst("CUpointer_attribute_enum", "hipPointer_attribute", "type"); + subst("CUresourceViewFormat", "HIPresourceViewFormat", "type"); + subst("CUresourceViewFormat_enum", "HIPresourceViewFormat_enum", "type"); + subst("CUresourcetype", "HIPresourcetype", "type"); + subst("CUresourcetype_enum", "HIPresourcetype_enum", "type"); + subst("CUresult", "hipError_t", "type"); + subst("CUsharedconfig", "hipSharedMemConfig", "type"); + subst("CUsharedconfig_enum", "hipSharedMemConfig", "type"); + subst("CUstream", "hipStream_t", "type"); + subst("CUstreamCallback", "hipStreamCallback_t", "type"); + subst("CUstreamCaptureMode", "hipStreamCaptureMode", "type"); + subst("CUstreamCaptureMode_enum", "hipStreamCaptureMode", "type"); + subst("CUstreamCaptureStatus", "hipStreamCaptureStatus", "type"); + subst("CUstreamCaptureStatus_enum", "hipStreamCaptureStatus", "type"); + subst("CUstreamUpdateCaptureDependencies_flags", "hipStreamUpdateCaptureDependenciesFlags", "type"); + subst("CUstreamUpdateCaptureDependencies_flags_enum", "hipStreamUpdateCaptureDependenciesFlags", "type"); + subst("CUstream_st", "ihipStream_t", "type"); + subst("CUsurfObject", "hipSurfaceObject_t", "type"); + subst("CUsurfObject_v1", "hipSurfaceObject_t", "type"); + subst("CUtexObject", "hipTextureObject_t", "type"); + subst("CUtexObject_v1", "hipTextureObject_t", "type"); + subst("CUtexref", "hipTexRef", "type"); + subst("CUtexref_st", "textureReference", "type"); + subst("bsric02Info_t", "bsric02Info_t", "type"); + subst("bsrilu02Info_t", "bsrilu02Info_t", "type"); + subst("bsrsm2Info", "bsrsm2Info", "type"); + subst("bsrsm2Info_t", "bsrsm2Info_t", "type"); + subst("bsrsv2Info_t", "bsrsv2Info_t", "type"); + subst("csrgemm2Info_t", "csrgemm2Info_t", "type"); + subst("csrilu02Info_t", "csrilu02Info_t", "type"); + subst("csrsm2Info_t", "csrsm2Info_t", "type"); + subst("csrsv2Info_t", "csrsv2Info_t", "type"); + subst("csru2csrInfo", "csru2csrInfo", "type"); + subst("csru2csrInfo_t", "csru2csrInfo_t", "type"); + subst("cuComplex", "hipComplex", "type"); + subst("cuDoubleComplex", "hipDoubleComplex", "type"); + subst("cuFloatComplex", "hipFloatComplex", "type"); + subst("cublasAtomicsMode_t", "hipblasAtomicsMode_t", "type"); + subst("cublasDataType_t", "hipblasDatatype_t", "type"); + subst("cublasDiagType_t", "hipblasDiagType_t", "type"); + subst("cublasFillMode_t", "hipblasFillMode_t", "type"); + subst("cublasGemmAlgo_t", "hipblasGemmAlgo_t", "type"); + subst("cublasHandle_t", "hipblasHandle_t", "type"); + subst("cublasOperation_t", "hipblasOperation_t", "type"); + subst("cublasPointerMode_t", "hipblasPointerMode_t", "type"); + subst("cublasSideMode_t", "hipblasSideMode_t", "type"); + subst("cublasStatus", "hipblasStatus_t", "type"); + subst("cublasStatus_t", "hipblasStatus_t", "type"); + subst("cudaArray", "hipArray", "type"); + subst("cudaArray_const_t", "hipArray_const_t", "type"); + subst("cudaArray_t", "hipArray_t", "type"); + subst("cudaChannelFormatDesc", "hipChannelFormatDesc", "type"); + subst("cudaChannelFormatKind", "hipChannelFormatKind", "type"); + subst("cudaComputeMode", "hipComputeMode", "type"); + subst("cudaDataType", "hipblasDatatype_t", "type"); + subst("cudaDataType_t", "hipblasDatatype_t", "type"); + subst("cudaDeviceAttr", "hipDeviceAttribute_t", "type"); + subst("cudaDeviceP2PAttr", "hipDeviceP2PAttr", "type"); + subst("cudaDeviceProp", "hipDeviceProp_t", "type"); + subst("cudaError", "hipError_t", "type"); + subst("cudaError_enum", "hipError_t", "type"); + subst("cudaError_t", "hipError_t", "type"); + subst("cudaEvent_t", "hipEvent_t", "type"); + subst("cudaExtent", "hipExtent", "type"); + subst("cudaExternalMemoryBufferDesc", "hipExternalMemoryBufferDesc", "type"); + subst("cudaExternalMemoryHandleDesc", "hipExternalMemoryHandleDesc", "type"); + subst("cudaExternalMemoryHandleType", "hipExternalMemoryHandleType", "type"); + subst("cudaExternalMemory_t", "hipExternalMemory_t", "type"); + subst("cudaExternalSemaphoreHandleDesc", "hipExternalSemaphoreHandleDesc", "type"); + subst("cudaExternalSemaphoreHandleType", "hipExternalSemaphoreHandleType", "type"); + subst("cudaExternalSemaphoreSignalParams", "hipExternalSemaphoreSignalParams", "type"); + subst("cudaExternalSemaphoreSignalParams_v1", "hipExternalSemaphoreSignalParams", "type"); + subst("cudaExternalSemaphoreWaitParams", "hipExternalSemaphoreWaitParams", "type"); + subst("cudaExternalSemaphoreWaitParams_v1", "hipExternalSemaphoreWaitParams", "type"); + subst("cudaExternalSemaphore_t", "hipExternalSemaphore_t", "type"); + subst("cudaFuncAttribute", "hipFuncAttribute", "type"); + subst("cudaFuncAttributes", "hipFuncAttributes", "type"); + subst("cudaFuncCache", "hipFuncCache_t", "type"); + subst("cudaFunction_t", "hipFunction_t", "type"); + subst("cudaGLDeviceList", "hipGLDeviceList", "type"); + subst("cudaGraphExecUpdateResult", "hipGraphExecUpdateResult", "type"); + subst("cudaGraphExec_t", "hipGraphExec_t", "type"); + subst("cudaGraphNodeType", "hipGraphNodeType", "type"); + subst("cudaGraphNode_t", "hipGraphNode_t", "type"); + subst("cudaGraph_t", "hipGraph_t", "type"); + subst("cudaGraphicsRegisterFlags", "hipGraphicsRegisterFlags", "type"); + subst("cudaGraphicsResource", "hipGraphicsResource", "type"); + subst("cudaGraphicsResource_t", "hipGraphicsResource_t", "type"); + subst("cudaHostFn_t", "hipHostFn_t", "type"); + subst("cudaHostNodeParams", "hipHostNodeParams", "type"); + subst("cudaIpcEventHandle_st", "hipIpcEventHandle_st", "type"); + subst("cudaIpcEventHandle_t", "hipIpcEventHandle_t", "type"); + subst("cudaIpcMemHandle_st", "hipIpcMemHandle_st", "type"); + subst("cudaIpcMemHandle_t", "hipIpcMemHandle_t", "type"); + subst("cudaKernelNodeParams", "hipKernelNodeParams", "type"); + subst("cudaLaunchParams", "hipLaunchParams", "type"); + subst("cudaLimit", "hipLimit_t", "type"); + subst("cudaMemRangeAttribute", "hipMemRangeAttribute", "type"); + subst("cudaMemcpy3DParms", "hipMemcpy3DParms", "type"); + subst("cudaMemcpyKind", "hipMemcpyKind", "type"); + subst("cudaMemoryAdvise", "hipMemoryAdvise", "type"); + subst("cudaMemoryType", "hipMemoryType", "type"); + subst("cudaMemsetParams", "hipMemsetParams", "type"); + subst("cudaMipmappedArray", "hipMipmappedArray", "type"); + subst("cudaMipmappedArray_const_t", "hipMipmappedArray_const_t", "type"); + subst("cudaMipmappedArray_t", "hipMipmappedArray_t", "type"); + subst("cudaPitchedPtr", "hipPitchedPtr", "type"); + subst("cudaPointerAttributes", "hipPointerAttribute_t", "type"); + subst("cudaPos", "hipPos", "type"); + subst("cudaResourceDesc", "hipResourceDesc", "type"); + subst("cudaResourceType", "hipResourceType", "type"); + subst("cudaResourceViewDesc", "hipResourceViewDesc", "type"); + subst("cudaResourceViewFormat", "hipResourceViewFormat", "type"); + subst("cudaSharedMemConfig", "hipSharedMemConfig", "type"); + subst("cudaStreamCallback_t", "hipStreamCallback_t", "type"); + subst("cudaStreamCaptureMode", "hipStreamCaptureMode", "type"); + subst("cudaStreamCaptureStatus", "hipStreamCaptureStatus", "type"); + subst("cudaStreamUpdateCaptureDependenciesFlags", "hipStreamUpdateCaptureDependenciesFlags", "type"); + subst("cudaStream_t", "hipStream_t", "type"); + subst("cudaSurfaceBoundaryMode", "hipSurfaceBoundaryMode", "type"); + subst("cudaSurfaceObject_t", "hipSurfaceObject_t", "type"); + subst("cudaTextureAddressMode", "hipTextureAddressMode", "type"); + subst("cudaTextureDesc", "hipTextureDesc", "type"); + subst("cudaTextureFilterMode", "hipTextureFilterMode", "type"); + subst("cudaTextureObject_t", "hipTextureObject_t", "type"); + subst("cudaTextureReadMode", "hipTextureReadMode", "type"); + subst("cudnnActivationDescriptor_t", "hipdnnActivationDescriptor_t", "type"); + subst("cudnnActivationMode_t", "hipdnnActivationMode_t", "type"); + subst("cudnnBatchNormMode_t", "hipdnnBatchNormMode_t", "type"); + subst("cudnnConvolutionBwdDataAlgoPerfStruct", "hipdnnConvolutionBwdDataAlgoPerf_t", "type"); + subst("cudnnConvolutionBwdDataAlgoPerf_t", "hipdnnConvolutionBwdDataAlgoPerf_t", "type"); + subst("cudnnConvolutionBwdDataAlgo_t", "hipdnnConvolutionBwdDataAlgo_t", "type"); + subst("cudnnConvolutionBwdDataPreference_t", "hipdnnConvolutionBwdDataPreference_t", "type"); + subst("cudnnConvolutionBwdFilterAlgoPerfStruct", "hipdnnConvolutionBwdFilterAlgoPerf_t", "type"); + subst("cudnnConvolutionBwdFilterAlgoPerf_t", "hipdnnConvolutionBwdFilterAlgoPerf_t", "type"); + subst("cudnnConvolutionBwdFilterAlgo_t", "hipdnnConvolutionBwdFilterAlgo_t", "type"); + subst("cudnnConvolutionBwdFilterPreference_t", "hipdnnConvolutionBwdFilterPreference_t", "type"); + subst("cudnnConvolutionDescriptor_t", "hipdnnConvolutionDescriptor_t", "type"); + subst("cudnnConvolutionFwdAlgoPerfStruct", "hipdnnConvolutionFwdAlgoPerf_t", "type"); + subst("cudnnConvolutionFwdAlgoPerf_t", "hipdnnConvolutionFwdAlgoPerf_t", "type"); + subst("cudnnConvolutionFwdAlgo_t", "hipdnnConvolutionFwdAlgo_t", "type"); + subst("cudnnConvolutionFwdPreference_t", "hipdnnConvolutionFwdPreference_t", "type"); + subst("cudnnConvolutionMode_t", "hipdnnConvolutionMode_t", "type"); + subst("cudnnDataType_t", "hipdnnDataType_t", "type"); + subst("cudnnDirectionMode_t", "hipdnnDirectionMode_t", "type"); + subst("cudnnDropoutDescriptor_t", "hipdnnDropoutDescriptor_t", "type"); + subst("cudnnFilterDescriptor_t", "hipdnnFilterDescriptor_t", "type"); + subst("cudnnHandle_t", "hipdnnHandle_t", "type"); + subst("cudnnIndicesType_t", "hipdnnIndicesType_t", "type"); + subst("cudnnLRNDescriptor_t", "hipdnnLRNDescriptor_t", "type"); + subst("cudnnLRNMode_t", "hipdnnLRNMode_t", "type"); + subst("cudnnMathType_t", "hipdnnMathType_t", "type"); + subst("cudnnNanPropagation_t", "hipdnnNanPropagation_t", "type"); + subst("cudnnOpTensorDescriptor_t", "hipdnnOpTensorDescriptor_t", "type"); + subst("cudnnOpTensorOp_t", "hipdnnOpTensorOp_t", "type"); + subst("cudnnPersistentRNNPlan_t", "hipdnnPersistentRNNPlan_t", "type"); + subst("cudnnPoolingDescriptor_t", "hipdnnPoolingDescriptor_t", "type"); + subst("cudnnPoolingMode_t", "hipdnnPoolingMode_t", "type"); + subst("cudnnRNNAlgo_t", "hipdnnRNNAlgo_t", "type"); + subst("cudnnRNNBiasMode_t", "hipdnnRNNBiasMode_t", "type"); + subst("cudnnRNNDescriptor_t", "hipdnnRNNDescriptor_t", "type"); + subst("cudnnRNNInputMode_t", "hipdnnRNNInputMode_t", "type"); + subst("cudnnRNNMode_t", "hipdnnRNNMode_t", "type"); + subst("cudnnReduceTensorDescriptor_t", "hipdnnReduceTensorDescriptor_t", "type"); + subst("cudnnReduceTensorIndices_t", "hipdnnReduceTensorIndices_t", "type"); + subst("cudnnReduceTensorOp_t", "hipdnnReduceTensorOp_t", "type"); + subst("cudnnSoftmaxAlgorithm_t", "hipdnnSoftmaxAlgorithm_t", "type"); + subst("cudnnSoftmaxMode_t", "hipdnnSoftmaxMode_t", "type"); + subst("cudnnStatus_t", "hipdnnStatus_t", "type"); + subst("cudnnTensorDescriptor_t", "hipdnnTensorDescriptor_t", "type"); + subst("cudnnTensorFormat_t", "hipdnnTensorFormat_t", "type"); + subst("cufftComplex", "hipfftComplex", "type"); + subst("cufftDoubleComplex", "hipfftDoubleComplex", "type"); + subst("cufftDoubleReal", "hipfftDoubleReal", "type"); + subst("cufftHandle", "hipfftHandle", "type"); + subst("cufftReal", "hipfftReal", "type"); + subst("cufftResult", "hipfftResult", "type"); + subst("cufftResult_t", "hipfftResult_t", "type"); + subst("cufftType", "hipfftType", "type"); + subst("cufftType_t", "hipfftType_t", "type"); + subst("cufftXtCallbackType", "hipfftXtCallbackType", "type"); + subst("cufftXtCallbackType_t", "hipfftXtCallbackType_t", "type"); + subst("curandDirectionVectors32_t", "hiprandDirectionVectors32_t", "type"); + subst("curandDiscreteDistribution_st", "hiprandDiscreteDistribution_st", "type"); + subst("curandDiscreteDistribution_t", "hiprandDiscreteDistribution_t", "type"); + subst("curandGenerator_st", "hiprandGenerator_st", "type"); + subst("curandGenerator_t", "hiprandGenerator_t", "type"); + subst("curandRngType", "hiprandRngType_t", "type"); + subst("curandRngType_t", "hiprandRngType_t", "type"); + subst("curandState", "hiprandState", "type"); + subst("curandStateMRG32k3a", "hiprandStateMRG32k3a", "type"); + subst("curandStateMRG32k3a_t", "hiprandStateMRG32k3a_t", "type"); + subst("curandStateMtgp32", "hiprandStateMtgp32", "type"); + subst("curandStateMtgp32_t", "hiprandStateMtgp32_t", "type"); + subst("curandStatePhilox4_32_10", "hiprandStatePhilox4_32_10", "type"); + subst("curandStatePhilox4_32_10_t", "hiprandStatePhilox4_32_10_t", "type"); + subst("curandStateSobol32", "hiprandStateSobol32", "type"); + subst("curandStateSobol32_t", "hiprandStateSobol32_t", "type"); + subst("curandStateXORWOW", "hiprandStateXORWOW", "type"); + subst("curandStateXORWOW_t", "hiprandStateXORWOW_t", "type"); + subst("curandState_t", "hiprandState_t", "type"); + subst("curandStatus", "hiprandStatus_t", "type"); + subst("curandStatus_t", "hiprandStatus_t", "type"); + subst("cusparseAction_t", "hipsparseAction_t", "type"); + subst("cusparseColorInfo_t", "hipsparseColorInfo_t", "type"); + subst("cusparseDiagType_t", "hipsparseDiagType_t", "type"); + subst("cusparseDirection_t", "hipsparseDirection_t", "type"); + subst("cusparseDnMatDescr", "hipsparseDnMatDescr", "type"); + subst("cusparseDnMatDescr_t", "hipsparseDnMatDescr_t", "type"); + subst("cusparseDnVecDescr_t", "hipsparseDnVecDescr_t", "type"); + subst("cusparseFillMode_t", "hipsparseFillMode_t", "type"); + subst("cusparseFormat_t", "hipsparseFormat_t", "type"); + subst("cusparseHandle_t", "hipsparseHandle_t", "type"); + subst("cusparseHybMat_t", "hipsparseHybMat_t", "type"); + subst("cusparseHybPartition_t", "hipsparseHybPartition_t", "type"); + subst("cusparseIndexBase_t", "hipsparseIndexBase_t", "type"); + subst("cusparseIndexType_t", "hipsparseIndexType_t", "type"); + subst("cusparseMatDescr_t", "hipsparseMatDescr_t", "type"); + subst("cusparseMatrixType_t", "hipsparseMatrixType_t", "type"); + subst("cusparseOperation_t", "hipsparseOperation_t", "type"); + subst("cusparseOrder_t", "hipsparseOrder_t", "type"); + subst("cusparsePointerMode_t", "hipsparsePointerMode_t", "type"); + subst("cusparseSDDMMAlg_t", "hipsparseSDDMMAlg_t", "type"); + subst("cusparseSolvePolicy_t", "hipsparseSolvePolicy_t", "type"); + subst("cusparseSpGEMMAlg_t", "hipsparseSpGEMMAlg_t", "type"); + subst("cusparseSpGEMMDescr", "hipsparseSpGEMMDescr", "type"); + subst("cusparseSpGEMMDescr_t", "hipsparseSpGEMMDescr_t", "type"); + subst("cusparseSpMMAlg_t", "hipsparseSpMMAlg_t", "type"); + subst("cusparseSpMVAlg_t", "hipsparseSpMVAlg_t", "type"); + subst("cusparseSpMatAttribute_t", "hipsparseSpMatAttribute_t", "type"); + subst("cusparseSpMatDescr_t", "hipsparseSpMatDescr_t", "type"); + subst("cusparseSpSMAlg_t", "hipsparseSpSMAlg_t", "type"); + subst("cusparseSpSMDescr", "hipsparseSpSMDescr", "type"); + subst("cusparseSpSMDescr_t", "hipsparseSpSMDescr_t", "type"); + subst("cusparseSpSVAlg_t", "hipsparseSpSVAlg_t", "type"); + subst("cusparseSpSVDescr", "hipsparseSpSVDescr", "type"); + subst("cusparseSpSVDescr_t", "hipsparseSpSVDescr_t", "type"); + subst("cusparseSpVecDescr_t", "hipsparseSpVecDescr_t", "type"); + subst("cusparseSparseToDenseAlg_t", "hipsparseSparseToDenseAlg_t", "type"); + subst("cusparseStatus_t", "hipsparseStatus_t", "type"); + subst("nvrtcProgram", "hiprtcProgram", "type"); + subst("nvrtcResult", "hiprtcResult", "type"); + subst("pruneInfo_t", "pruneInfo_t", "type"); + subst("surfaceReference", "surfaceReference", "type"); + subst("CUBLAS_ATOMICS_ALLOWED", "HIPBLAS_ATOMICS_ALLOWED", "numeric_literal"); + subst("CUBLAS_ATOMICS_NOT_ALLOWED", "HIPBLAS_ATOMICS_NOT_ALLOWED", "numeric_literal"); + subst("CUBLAS_DIAG_NON_UNIT", "HIPBLAS_DIAG_NON_UNIT", "numeric_literal"); + subst("CUBLAS_DIAG_UNIT", "HIPBLAS_DIAG_UNIT", "numeric_literal"); + subst("CUBLAS_FILL_MODE_FULL", "HIPBLAS_FILL_MODE_FULL", "numeric_literal"); + subst("CUBLAS_FILL_MODE_LOWER", "HIPBLAS_FILL_MODE_LOWER", "numeric_literal"); + subst("CUBLAS_FILL_MODE_UPPER", "HIPBLAS_FILL_MODE_UPPER", "numeric_literal"); + subst("CUBLAS_GEMM_DEFAULT", "HIPBLAS_GEMM_DEFAULT", "numeric_literal"); + subst("CUBLAS_GEMM_DFALT", "HIPBLAS_GEMM_DEFAULT", "numeric_literal"); + subst("CUBLAS_OP_C", "HIPBLAS_OP_C", "numeric_literal"); + subst("CUBLAS_OP_HERMITAN", "HIPBLAS_OP_C", "numeric_literal"); + subst("CUBLAS_OP_N", "HIPBLAS_OP_N", "numeric_literal"); + subst("CUBLAS_OP_T", "HIPBLAS_OP_T", "numeric_literal"); + subst("CUBLAS_POINTER_MODE_DEVICE", "HIPBLAS_POINTER_MODE_DEVICE", "numeric_literal"); + subst("CUBLAS_POINTER_MODE_HOST", "HIPBLAS_POINTER_MODE_HOST", "numeric_literal"); + subst("CUBLAS_SIDE_LEFT", "HIPBLAS_SIDE_LEFT", "numeric_literal"); + subst("CUBLAS_SIDE_RIGHT", "HIPBLAS_SIDE_RIGHT", "numeric_literal"); + subst("CUBLAS_STATUS_ALLOC_FAILED", "HIPBLAS_STATUS_ALLOC_FAILED", "numeric_literal"); + subst("CUBLAS_STATUS_ARCH_MISMATCH", "HIPBLAS_STATUS_ARCH_MISMATCH", "numeric_literal"); + subst("CUBLAS_STATUS_EXECUTION_FAILED", "HIPBLAS_STATUS_EXECUTION_FAILED", "numeric_literal"); + subst("CUBLAS_STATUS_INTERNAL_ERROR", "HIPBLAS_STATUS_INTERNAL_ERROR", "numeric_literal"); + subst("CUBLAS_STATUS_INVALID_VALUE", "HIPBLAS_STATUS_INVALID_VALUE", "numeric_literal"); + subst("CUBLAS_STATUS_LICENSE_ERROR", "HIPBLAS_STATUS_UNKNOWN", "numeric_literal"); + subst("CUBLAS_STATUS_MAPPING_ERROR", "HIPBLAS_STATUS_MAPPING_ERROR", "numeric_literal"); + subst("CUBLAS_STATUS_NOT_INITIALIZED", "HIPBLAS_STATUS_NOT_INITIALIZED", "numeric_literal"); + subst("CUBLAS_STATUS_NOT_SUPPORTED", "HIPBLAS_STATUS_NOT_SUPPORTED", "numeric_literal"); + subst("CUBLAS_STATUS_SUCCESS", "HIPBLAS_STATUS_SUCCESS", "numeric_literal"); + subst("CUDA_C_16BF", "HIPBLAS_C_16B", "numeric_literal"); + subst("CUDA_C_16F", "HIPBLAS_C_16F", "numeric_literal"); + subst("CUDA_C_32F", "HIPBLAS_C_32F", "numeric_literal"); + subst("CUDA_C_32I", "HIPBLAS_C_32I", "numeric_literal"); + subst("CUDA_C_32U", "HIPBLAS_C_32U", "numeric_literal"); + subst("CUDA_C_64F", "HIPBLAS_C_64F", "numeric_literal"); + subst("CUDA_C_8I", "HIPBLAS_C_8I", "numeric_literal"); + subst("CUDA_C_8U", "HIPBLAS_C_8U", "numeric_literal"); + subst("CUDA_ERROR_ALREADY_ACQUIRED", "hipErrorAlreadyAcquired", "numeric_literal"); + subst("CUDA_ERROR_ALREADY_MAPPED", "hipErrorAlreadyMapped", "numeric_literal"); + subst("CUDA_ERROR_ARRAY_IS_MAPPED", "hipErrorArrayIsMapped", "numeric_literal"); + subst("CUDA_ERROR_ASSERT", "hipErrorAssert", "numeric_literal"); + subst("CUDA_ERROR_CAPTURED_EVENT", "hipErrorCapturedEvent", "numeric_literal"); + subst("CUDA_ERROR_CONTEXT_ALREADY_CURRENT", "hipErrorContextAlreadyCurrent", "numeric_literal"); + subst("CUDA_ERROR_CONTEXT_ALREADY_IN_USE", "hipErrorContextAlreadyInUse", "numeric_literal"); + subst("CUDA_ERROR_CONTEXT_IS_DESTROYED", "hipErrorContextIsDestroyed", "numeric_literal"); + subst("CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE", "hipErrorCooperativeLaunchTooLarge", "numeric_literal"); + subst("CUDA_ERROR_DEINITIALIZED", "hipErrorDeinitialized", "numeric_literal"); + subst("CUDA_ERROR_ECC_UNCORRECTABLE", "hipErrorECCNotCorrectable", "numeric_literal"); + subst("CUDA_ERROR_FILE_NOT_FOUND", "hipErrorFileNotFound", "numeric_literal"); + subst("CUDA_ERROR_GRAPH_EXEC_UPDATE_FAILURE", "hipErrorGraphExecUpdateFailure", "numeric_literal"); + subst("CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED", "hipErrorHostMemoryAlreadyRegistered", "numeric_literal"); + subst("CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED", "hipErrorHostMemoryNotRegistered", "numeric_literal"); + subst("CUDA_ERROR_ILLEGAL_ADDRESS", "hipErrorIllegalAddress", "numeric_literal"); + subst("CUDA_ERROR_ILLEGAL_STATE", "hipErrorIllegalState", "numeric_literal"); + subst("CUDA_ERROR_INVALID_CONTEXT", "hipErrorInvalidContext", "numeric_literal"); + subst("CUDA_ERROR_INVALID_DEVICE", "hipErrorInvalidDevice", "numeric_literal"); + subst("CUDA_ERROR_INVALID_GRAPHICS_CONTEXT", "hipErrorInvalidGraphicsContext", "numeric_literal"); + subst("CUDA_ERROR_INVALID_HANDLE", "hipErrorInvalidHandle", "numeric_literal"); + subst("CUDA_ERROR_INVALID_IMAGE", "hipErrorInvalidImage", "numeric_literal"); + subst("CUDA_ERROR_INVALID_PTX", "hipErrorInvalidKernelFile", "numeric_literal"); + subst("CUDA_ERROR_INVALID_SOURCE", "hipErrorInvalidSource", "numeric_literal"); + subst("CUDA_ERROR_INVALID_VALUE", "hipErrorInvalidValue", "numeric_literal"); + subst("CUDA_ERROR_LAUNCH_FAILED", "hipErrorLaunchFailure", "numeric_literal"); + subst("CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES", "hipErrorLaunchOutOfResources", "numeric_literal"); + subst("CUDA_ERROR_LAUNCH_TIMEOUT", "hipErrorLaunchTimeOut", "numeric_literal"); + subst("CUDA_ERROR_MAP_FAILED", "hipErrorMapFailed", "numeric_literal"); + subst("CUDA_ERROR_NOT_FOUND", "hipErrorNotFound", "numeric_literal"); + subst("CUDA_ERROR_NOT_INITIALIZED", "hipErrorNotInitialized", "numeric_literal"); + subst("CUDA_ERROR_NOT_MAPPED", "hipErrorNotMapped", "numeric_literal"); + subst("CUDA_ERROR_NOT_MAPPED_AS_ARRAY", "hipErrorNotMappedAsArray", "numeric_literal"); + subst("CUDA_ERROR_NOT_MAPPED_AS_POINTER", "hipErrorNotMappedAsPointer", "numeric_literal"); + subst("CUDA_ERROR_NOT_READY", "hipErrorNotReady", "numeric_literal"); + subst("CUDA_ERROR_NOT_SUPPORTED", "hipErrorNotSupported", "numeric_literal"); + subst("CUDA_ERROR_NO_BINARY_FOR_GPU", "hipErrorNoBinaryForGpu", "numeric_literal"); + subst("CUDA_ERROR_NO_DEVICE", "hipErrorNoDevice", "numeric_literal"); + subst("CUDA_ERROR_OPERATING_SYSTEM", "hipErrorOperatingSystem", "numeric_literal"); + subst("CUDA_ERROR_OUT_OF_MEMORY", "hipErrorOutOfMemory", "numeric_literal"); + subst("CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED", "hipErrorPeerAccessAlreadyEnabled", "numeric_literal"); + subst("CUDA_ERROR_PEER_ACCESS_NOT_ENABLED", "hipErrorPeerAccessNotEnabled", "numeric_literal"); + subst("CUDA_ERROR_PEER_ACCESS_UNSUPPORTED", "hipErrorPeerAccessUnsupported", "numeric_literal"); + subst("CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE", "hipErrorSetOnActiveProcess", "numeric_literal"); + subst("CUDA_ERROR_PROFILER_ALREADY_STARTED", "hipErrorProfilerAlreadyStarted", "numeric_literal"); + subst("CUDA_ERROR_PROFILER_ALREADY_STOPPED", "hipErrorProfilerAlreadyStopped", "numeric_literal"); + subst("CUDA_ERROR_PROFILER_DISABLED", "hipErrorProfilerDisabled", "numeric_literal"); + subst("CUDA_ERROR_PROFILER_NOT_INITIALIZED", "hipErrorProfilerNotInitialized", "numeric_literal"); + subst("CUDA_ERROR_SHARED_OBJECT_INIT_FAILED", "hipErrorSharedObjectInitFailed", "numeric_literal"); + subst("CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND", "hipErrorSharedObjectSymbolNotFound", "numeric_literal"); + subst("CUDA_ERROR_STREAM_CAPTURE_IMPLICIT", "hipErrorStreamCaptureImplicit", "numeric_literal"); + subst("CUDA_ERROR_STREAM_CAPTURE_INVALIDATED", "hipErrorStreamCaptureInvalidated", "numeric_literal"); + subst("CUDA_ERROR_STREAM_CAPTURE_ISOLATION", "hipErrorStreamCaptureIsolation", "numeric_literal"); + subst("CUDA_ERROR_STREAM_CAPTURE_MERGE", "hipErrorStreamCaptureMerge", "numeric_literal"); + subst("CUDA_ERROR_STREAM_CAPTURE_UNJOINED", "hipErrorStreamCaptureUnjoined", "numeric_literal"); + subst("CUDA_ERROR_STREAM_CAPTURE_UNMATCHED", "hipErrorStreamCaptureUnmatched", "numeric_literal"); + subst("CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED", "hipErrorStreamCaptureUnsupported", "numeric_literal"); + subst("CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD", "hipErrorStreamCaptureWrongThread", "numeric_literal"); + subst("CUDA_ERROR_UNKNOWN", "hipErrorUnknown", "numeric_literal"); + subst("CUDA_ERROR_UNMAP_FAILED", "hipErrorUnmapFailed", "numeric_literal"); + subst("CUDA_ERROR_UNSUPPORTED_LIMIT", "hipErrorUnsupportedLimit", "numeric_literal"); + subst("CUDA_R_16BF", "HIPBLAS_R_16B", "numeric_literal"); + subst("CUDA_R_16F", "HIPBLAS_R_16F", "numeric_literal"); + subst("CUDA_R_32F", "HIPBLAS_R_32F", "numeric_literal"); + subst("CUDA_R_32I", "HIPBLAS_R_32I", "numeric_literal"); + subst("CUDA_R_32U", "HIPBLAS_R_32U", "numeric_literal"); + subst("CUDA_R_64F", "HIPBLAS_R_64F", "numeric_literal"); + subst("CUDA_R_8I", "HIPBLAS_R_8I", "numeric_literal"); + subst("CUDA_R_8U", "HIPBLAS_R_8U", "numeric_literal"); + subst("CUDA_SUCCESS", "hipSuccess", "numeric_literal"); + subst("CUDNN_16BIT_INDICES", "HIPDNN_16BIT_INDICES", "numeric_literal"); + subst("CUDNN_32BIT_INDICES", "HIPDNN_32BIT_INDICES", "numeric_literal"); + subst("CUDNN_64BIT_INDICES", "HIPDNN_64BIT_INDICES", "numeric_literal"); + subst("CUDNN_8BIT_INDICES", "HIPDNN_8BIT_INDICES", "numeric_literal"); + subst("CUDNN_ACTIVATION_CLIPPED_RELU", "HIPDNN_ACTIVATION_CLIPPED_RELU", "numeric_literal"); + subst("CUDNN_ACTIVATION_ELU", "HIPDNN_ACTIVATION_ELU", "numeric_literal"); + subst("CUDNN_ACTIVATION_IDENTITY", "HIPDNN_ACTIVATION_PATHTRU", "numeric_literal"); + subst("CUDNN_ACTIVATION_RELU", "HIPDNN_ACTIVATION_RELU", "numeric_literal"); + subst("CUDNN_ACTIVATION_SIGMOID", "HIPDNN_ACTIVATION_SIGMOID", "numeric_literal"); + subst("CUDNN_ACTIVATION_SWISH", "HIPDNN_ACTIVATION_SWISH", "numeric_literal"); + subst("CUDNN_ACTIVATION_TANH", "HIPDNN_ACTIVATION_TANH", "numeric_literal"); + subst("CUDNN_BATCHNORM_PER_ACTIVATION", "HIPDNN_BATCHNORM_PER_ACTIVATION", "numeric_literal"); + subst("CUDNN_BATCHNORM_SPATIAL", "HIPDNN_BATCHNORM_SPATIAL", "numeric_literal"); + subst("CUDNN_BATCHNORM_SPATIAL_PERSISTENT", "HIPDNN_BATCHNORM_SPATIAL_PERSISTENT", "numeric_literal"); + subst("CUDNN_BIDIRECTIONAL", "HIPDNN_BIDIRECTIONAL", "numeric_literal"); + subst("CUDNN_BN_MIN_EPSILON", "HIPDNN_BN_MIN_EPSILON", "numeric_literal"); + subst("CUDNN_CONVOLUTION", "HIPDNN_CONVOLUTION", "numeric_literal"); + subst("CUDNN_CONVOLUTION_BWD_DATA_ALGO_0", "HIPDNN_CONVOLUTION_BWD_DATA_ALGO_0", "numeric_literal"); + subst("CUDNN_CONVOLUTION_BWD_DATA_ALGO_1", "HIPDNN_CONVOLUTION_BWD_DATA_ALGO_1", "numeric_literal"); + subst("CUDNN_CONVOLUTION_BWD_DATA_ALGO_COUNT", "HIPDNN_CONVOLUTION_BWD_DATA_ALGO_TRANSPOSE_GEMM", "numeric_literal"); + subst("CUDNN_CONVOLUTION_BWD_DATA_ALGO_FFT", "HIPDNN_CONVOLUTION_BWD_DATA_ALGO_FFT", "numeric_literal"); + subst("CUDNN_CONVOLUTION_BWD_DATA_ALGO_FFT_TILING", "HIPDNN_CONVOLUTION_BWD_DATA_ALGO_FFT_TILING", "numeric_literal"); + subst("CUDNN_CONVOLUTION_BWD_DATA_ALGO_WINOGRAD", "HIPDNN_CONVOLUTION_BWD_DATA_ALGO_WINOGRAD", "numeric_literal"); + subst("CUDNN_CONVOLUTION_BWD_DATA_ALGO_WINOGRAD_NONFUSED", "HIPDNN_CONVOLUTION_BWD_DATA_ALGO_WINOGRAD_NONFUSED", "numeric_literal"); + subst("CUDNN_CONVOLUTION_BWD_DATA_NO_WORKSPACE", "HIPDNN_CONVOLUTION_BWD_DATA_NO_WORKSPACE", "numeric_literal"); + subst("CUDNN_CONVOLUTION_BWD_DATA_PREFER_FASTEST", "HIPDNN_CONVOLUTION_BWD_DATA_PREFER_FASTEST", "numeric_literal"); + subst("CUDNN_CONVOLUTION_BWD_DATA_SPECIFY_WORKSPACE_LIMIT", "HIPDNN_CONVOLUTION_BWD_DATA_SPECIFY_WORKSPACE_LIMIT", "numeric_literal"); + subst("CUDNN_CONVOLUTION_BWD_FILTER_ALGO_0", "HIPDNN_CONVOLUTION_BWD_FILTER_ALGO_0", "numeric_literal"); + subst("CUDNN_CONVOLUTION_BWD_FILTER_ALGO_1", "HIPDNN_CONVOLUTION_BWD_FILTER_ALGO_1", "numeric_literal"); + subst("CUDNN_CONVOLUTION_BWD_FILTER_ALGO_3", "HIPDNN_CONVOLUTION_BWD_FILTER_ALGO_3", "numeric_literal"); + subst("CUDNN_CONVOLUTION_BWD_FILTER_ALGO_COUNT", "HIPDNN_CONVOLUTION_BWD_FILTER_ALGO_COUNT", "numeric_literal"); + subst("CUDNN_CONVOLUTION_BWD_FILTER_ALGO_FFT", "HIPDNN_CONVOLUTION_BWD_FILTER_ALGO_FFT", "numeric_literal"); + subst("CUDNN_CONVOLUTION_BWD_FILTER_ALGO_FFT_TILING", "HIPDNN_CONVOLUTION_BWD_FILTER_ALGO_FFT_TILING", "numeric_literal"); + subst("CUDNN_CONVOLUTION_BWD_FILTER_ALGO_WINOGRAD", "HIPDNN_CONVOLUTION_BWD_FILTER_ALGO_WINOGRAD", "numeric_literal"); + subst("CUDNN_CONVOLUTION_BWD_FILTER_ALGO_WINOGRAD_NONFUSED", "HIPDNN_CONVOLUTION_BWD_FILTER_ALGO_WINOGRAD_NONFUSED", "numeric_literal"); + subst("CUDNN_CONVOLUTION_BWD_FILTER_NO_WORKSPACE", "HIPDNN_CONVOLUTION_BWD_FILTER_NO_WORKSPACE", "numeric_literal"); + subst("CUDNN_CONVOLUTION_BWD_FILTER_PREFER_FASTEST", "HIPDNN_CONVOLUTION_BWD_FILTER_PREFER_FASTEST", "numeric_literal"); + subst("CUDNN_CONVOLUTION_BWD_FILTER_SPECIFY_WORKSPACE_LIMIT", "HIPDNN_CONVOLUTION_BWD_FILTER_SPECIFY_WORKSPACE_LIMIT", "numeric_literal"); + subst("CUDNN_CONVOLUTION_FWD_ALGO_COUNT", "HIPDNN_CONVOLUTION_FWD_ALGO_COUNT", "numeric_literal"); + subst("CUDNN_CONVOLUTION_FWD_ALGO_DIRECT", "HIPDNN_CONVOLUTION_FWD_ALGO_DIRECT", "numeric_literal"); + subst("CUDNN_CONVOLUTION_FWD_ALGO_FFT", "HIPDNN_CONVOLUTION_FWD_ALGO_FFT", "numeric_literal"); + subst("CUDNN_CONVOLUTION_FWD_ALGO_FFT_TILING", "HIPDNN_CONVOLUTION_FWD_ALGO_FFT_TILING", "numeric_literal"); + subst("CUDNN_CONVOLUTION_FWD_ALGO_GEMM", "HIPDNN_CONVOLUTION_FWD_ALGO_GEMM", "numeric_literal"); + subst("CUDNN_CONVOLUTION_FWD_ALGO_IMPLICIT_GEMM", "HIPDNN_CONVOLUTION_FWD_ALGO_IMPLICIT_GEMM", "numeric_literal"); + subst("CUDNN_CONVOLUTION_FWD_ALGO_IMPLICIT_PRECOMP_GEMM", "HIPDNN_CONVOLUTION_FWD_ALGO_IMPLICIT_PRECOMP_GEMM", "numeric_literal"); + subst("CUDNN_CONVOLUTION_FWD_ALGO_WINOGRAD", "HIPDNN_CONVOLUTION_FWD_ALGO_WINOGRAD", "numeric_literal"); + subst("CUDNN_CONVOLUTION_FWD_ALGO_WINOGRAD_NONFUSED", "HIPDNN_CONVOLUTION_FWD_ALGO_WINOGRAD_NONFUSED", "numeric_literal"); + subst("CUDNN_CONVOLUTION_FWD_NO_WORKSPACE", "HIPDNN_CONVOLUTION_FWD_NO_WORKSPACE", "numeric_literal"); + subst("CUDNN_CONVOLUTION_FWD_PREFER_FASTEST", "HIPDNN_CONVOLUTION_FWD_PREFER_FASTEST", "numeric_literal"); + subst("CUDNN_CONVOLUTION_FWD_SPECIFY_WORKSPACE_LIMIT", "HIPDNN_CONVOLUTION_FWD_SPECIFY_WORKSPACE_LIMIT", "numeric_literal"); + subst("CUDNN_CROSS_CORRELATION", "HIPDNN_CROSS_CORRELATION", "numeric_literal"); + subst("CUDNN_DATA_DOUBLE", "HIPDNN_DATA_DOUBLE", "numeric_literal"); + subst("CUDNN_DATA_FLOAT", "HIPDNN_DATA_FLOAT", "numeric_literal"); + subst("CUDNN_DATA_HALF", "HIPDNN_DATA_HALF", "numeric_literal"); + subst("CUDNN_DATA_INT32", "HIPDNN_DATA_INT32", "numeric_literal"); + subst("CUDNN_DATA_INT8", "HIPDNN_DATA_INT8", "numeric_literal"); + subst("CUDNN_DATA_INT8x4", "HIPDNN_DATA_INT8x4", "numeric_literal"); + subst("CUDNN_DEFAULT_MATH", "HIPDNN_DEFAULT_MATH", "numeric_literal"); + subst("CUDNN_GRU", "HIPDNN_GRU", "numeric_literal"); + subst("CUDNN_LINEAR_INPUT", "HIPDNN_LINEAR_INPUT", "numeric_literal"); + subst("CUDNN_LRN_CROSS_CHANNEL_DIM1", "HIPDNN_LRN_CROSS_CHANNEL", "numeric_literal"); + subst("CUDNN_LSTM", "HIPDNN_LSTM", "numeric_literal"); + subst("CUDNN_NOT_PROPAGATE_NAN", "HIPDNN_NOT_PROPAGATE_NAN", "numeric_literal"); + subst("CUDNN_OP_TENSOR_ADD", "HIPDNN_OP_TENSOR_ADD", "numeric_literal"); + subst("CUDNN_OP_TENSOR_MAX", "HIPDNN_OP_TENSOR_MAX", "numeric_literal"); + subst("CUDNN_OP_TENSOR_MIN", "HIPDNN_OP_TENSOR_MIN", "numeric_literal"); + subst("CUDNN_OP_TENSOR_MUL", "HIPDNN_OP_TENSOR_MUL", "numeric_literal"); + subst("CUDNN_OP_TENSOR_SQRT", "HIPDNN_OP_TENSOR_SQRT", "numeric_literal"); + subst("CUDNN_POOLING_AVERAGE_COUNT_EXCLUDE_PADDING", "HIPDNN_POOLING_AVERAGE_COUNT_EXCLUDE_PADDING", "numeric_literal"); + subst("CUDNN_POOLING_AVERAGE_COUNT_INCLUDE_PADDING", "HIPDNN_POOLING_AVERAGE_COUNT_INCLUDE_PADDING", "numeric_literal"); + subst("CUDNN_POOLING_MAX", "HIPDNN_POOLING_MAX", "numeric_literal"); + subst("CUDNN_POOLING_MAX_DETERMINISTIC", "HIPDNN_POOLING_MAX_DETERMINISTIC", "numeric_literal"); + subst("CUDNN_PROPAGATE_NAN", "HIPDNN_PROPAGATE_NAN", "numeric_literal"); + subst("CUDNN_REDUCE_TENSOR_ADD", "HIPDNN_REDUCE_TENSOR_ADD", "numeric_literal"); + subst("CUDNN_REDUCE_TENSOR_AMAX", "HIPDNN_REDUCE_TENSOR_AMAX", "numeric_literal"); + subst("CUDNN_REDUCE_TENSOR_AVG", "HIPDNN_REDUCE_TENSOR_AVG", "numeric_literal"); + subst("CUDNN_REDUCE_TENSOR_FLATTENED_INDICES", "HIPDNN_REDUCE_TENSOR_FLATTENED_INDICES", "numeric_literal"); + subst("CUDNN_REDUCE_TENSOR_MAX", "HIPDNN_REDUCE_TENSOR_MAX", "numeric_literal"); + subst("CUDNN_REDUCE_TENSOR_MIN", "HIPDNN_REDUCE_TENSOR_MIN", "numeric_literal"); + subst("CUDNN_REDUCE_TENSOR_MUL", "HIPDNN_REDUCE_TENSOR_MUL", "numeric_literal"); + subst("CUDNN_REDUCE_TENSOR_MUL_NO_ZEROS", "HIPDNN_REDUCE_TENSOR_MUL_NO_ZEROS", "numeric_literal"); + subst("CUDNN_REDUCE_TENSOR_NORM1", "HIPDNN_REDUCE_TENSOR_NORM1", "numeric_literal"); + subst("CUDNN_REDUCE_TENSOR_NORM2", "HIPDNN_REDUCE_TENSOR_NORM2", "numeric_literal"); + subst("CUDNN_REDUCE_TENSOR_NO_INDICES", "HIPDNN_REDUCE_TENSOR_NO_INDICES", "numeric_literal"); + subst("CUDNN_RNN_ALGO_PERSIST_DYNAMIC", "HIPDNN_RNN_ALGO_PERSIST_DYNAMIC", "numeric_literal"); + subst("CUDNN_RNN_ALGO_PERSIST_STATIC", "HIPDNN_RNN_ALGO_PERSIST_STATIC", "numeric_literal"); + subst("CUDNN_RNN_ALGO_PERSIST_STATIC_SMALL_H", "HIPDNN_RNN_ALGO_PERSIST_STATIC_SMALL_H", "numeric_literal"); + subst("CUDNN_RNN_ALGO_STANDARD", "HIPDNN_RNN_ALGO_STANDARD", "numeric_literal"); + subst("CUDNN_RNN_DOUBLE_BIAS", "HIPDNN_RNN_WITH_BIAS", "numeric_literal"); + subst("CUDNN_RNN_NO_BIAS", "HIPDNN_RNN_NO_BIAS", "numeric_literal"); + subst("CUDNN_RNN_RELU", "HIPDNN_RNN_RELU", "numeric_literal"); + subst("CUDNN_RNN_SINGLE_INP_BIAS", "HIPDNN_RNN_WITH_BIAS", "numeric_literal"); + subst("CUDNN_RNN_SINGLE_REC_BIAS", "HIPDNN_RNN_WITH_BIAS", "numeric_literal"); + subst("CUDNN_RNN_TANH", "HIPDNN_RNN_TANH", "numeric_literal"); + subst("CUDNN_SKIP_INPUT", "HIPDNN_SKIP_INPUT", "numeric_literal"); + subst("CUDNN_SOFTMAX_ACCURATE", "HIPDNN_SOFTMAX_ACCURATE", "numeric_literal"); + subst("CUDNN_SOFTMAX_FAST", "HIPDNN_SOFTMAX_FAST", "numeric_literal"); + subst("CUDNN_SOFTMAX_LOG", "HIPDNN_SOFTMAX_LOG", "numeric_literal"); + subst("CUDNN_SOFTMAX_MODE_CHANNEL", "HIPDNN_SOFTMAX_MODE_CHANNEL", "numeric_literal"); + subst("CUDNN_SOFTMAX_MODE_INSTANCE", "HIPDNN_SOFTMAX_MODE_INSTANCE", "numeric_literal"); + subst("CUDNN_STATUS_ALLOC_FAILED", "HIPDNN_STATUS_ALLOC_FAILED", "numeric_literal"); + subst("CUDNN_STATUS_ARCH_MISMATCH", "HIPDNN_STATUS_ARCH_MISMATCH", "numeric_literal"); + subst("CUDNN_STATUS_BAD_PARAM", "HIPDNN_STATUS_BAD_PARAM", "numeric_literal"); + subst("CUDNN_STATUS_EXECUTION_FAILED", "HIPDNN_STATUS_EXECUTION_FAILED", "numeric_literal"); + subst("CUDNN_STATUS_INTERNAL_ERROR", "HIPDNN_STATUS_INTERNAL_ERROR", "numeric_literal"); + subst("CUDNN_STATUS_INVALID_VALUE", "HIPDNN_STATUS_INVALID_VALUE", "numeric_literal"); + subst("CUDNN_STATUS_LICENSE_ERROR", "HIPDNN_STATUS_LICENSE_ERROR", "numeric_literal"); + subst("CUDNN_STATUS_MAPPING_ERROR", "HIPDNN_STATUS_MAPPING_ERROR", "numeric_literal"); + subst("CUDNN_STATUS_NOT_INITIALIZED", "HIPDNN_STATUS_NOT_INITIALIZED", "numeric_literal"); + subst("CUDNN_STATUS_NOT_SUPPORTED", "HIPDNN_STATUS_NOT_SUPPORTED", "numeric_literal"); + subst("CUDNN_STATUS_RUNTIME_PREREQUISITE_MISSING", "HIPDNN_STATUS_RUNTIME_PREREQUISITE_MISSING", "numeric_literal"); + subst("CUDNN_STATUS_SUCCESS", "HIPDNN_STATUS_SUCCESS", "numeric_literal"); + subst("CUDNN_TENSOR_NCHW", "HIPDNN_TENSOR_NCHW", "numeric_literal"); + subst("CUDNN_TENSOR_NCHW_VECT_C", "HIPDNN_TENSOR_NCHW_VECT_C", "numeric_literal"); + subst("CUDNN_TENSOR_NHWC", "HIPDNN_TENSOR_NHWC", "numeric_literal"); + subst("CUDNN_TENSOR_OP_MATH", "HIPDNN_TENSOR_OP_MATH", "numeric_literal"); + subst("CUDNN_UNIDIRECTIONAL", "HIPDNN_UNIDIRECTIONAL", "numeric_literal"); + subst("CUDNN_VERSION", "HIPDNN_VERSION", "numeric_literal"); + subst("CUFFT_ALLOC_FAILED", "HIPFFT_ALLOC_FAILED", "numeric_literal"); + subst("CUFFT_C2C", "HIPFFT_C2C", "numeric_literal"); + subst("CUFFT_C2R", "HIPFFT_C2R", "numeric_literal"); + subst("CUFFT_CB_LD_COMPLEX", "HIPFFT_CB_LD_COMPLEX", "numeric_literal"); + subst("CUFFT_CB_LD_COMPLEX_DOUBLE", "HIPFFT_CB_LD_COMPLEX_DOUBLE", "numeric_literal"); + subst("CUFFT_CB_LD_REAL", "HIPFFT_CB_LD_REAL", "numeric_literal"); + subst("CUFFT_CB_LD_REAL_DOUBLE", "HIPFFT_CB_LD_REAL_DOUBLE", "numeric_literal"); + subst("CUFFT_CB_ST_COMPLEX", "HIPFFT_CB_ST_COMPLEX", "numeric_literal"); + subst("CUFFT_CB_ST_COMPLEX_DOUBLE", "HIPFFT_CB_ST_COMPLEX_DOUBLE", "numeric_literal"); + subst("CUFFT_CB_ST_REAL", "HIPFFT_CB_ST_REAL", "numeric_literal"); + subst("CUFFT_CB_ST_REAL_DOUBLE", "HIPFFT_CB_ST_REAL_DOUBLE", "numeric_literal"); + subst("CUFFT_CB_UNDEFINED", "HIPFFT_CB_UNDEFINED", "numeric_literal"); + subst("CUFFT_D2Z", "HIPFFT_D2Z", "numeric_literal"); + subst("CUFFT_EXEC_FAILED", "HIPFFT_EXEC_FAILED", "numeric_literal"); + subst("CUFFT_FORWARD", "HIPFFT_FORWARD", "numeric_literal"); + subst("CUFFT_INCOMPLETE_PARAMETER_LIST", "HIPFFT_INCOMPLETE_PARAMETER_LIST", "numeric_literal"); + subst("CUFFT_INTERNAL_ERROR", "HIPFFT_INTERNAL_ERROR", "numeric_literal"); + subst("CUFFT_INVALID_DEVICE", "HIPFFT_INVALID_DEVICE", "numeric_literal"); + subst("CUFFT_INVALID_PLAN", "HIPFFT_INVALID_PLAN", "numeric_literal"); + subst("CUFFT_INVALID_SIZE", "HIPFFT_INVALID_SIZE", "numeric_literal"); + subst("CUFFT_INVALID_TYPE", "HIPFFT_INVALID_TYPE", "numeric_literal"); + subst("CUFFT_INVALID_VALUE", "HIPFFT_INVALID_VALUE", "numeric_literal"); + subst("CUFFT_INVERSE", "HIPFFT_BACKWARD", "numeric_literal"); + subst("CUFFT_NOT_IMPLEMENTED", "HIPFFT_NOT_IMPLEMENTED", "numeric_literal"); + subst("CUFFT_NOT_SUPPORTED", "HIPFFT_NOT_SUPPORTED", "numeric_literal"); + subst("CUFFT_NO_WORKSPACE", "HIPFFT_NO_WORKSPACE", "numeric_literal"); + subst("CUFFT_PARSE_ERROR", "HIPFFT_PARSE_ERROR", "numeric_literal"); + subst("CUFFT_R2C", "HIPFFT_R2C", "numeric_literal"); + subst("CUFFT_SETUP_FAILED", "HIPFFT_SETUP_FAILED", "numeric_literal"); + subst("CUFFT_SUCCESS", "HIPFFT_SUCCESS", "numeric_literal"); + subst("CUFFT_UNALIGNED_DATA", "HIPFFT_UNALIGNED_DATA", "numeric_literal"); + subst("CUFFT_Z2D", "HIPFFT_Z2D", "numeric_literal"); + subst("CUFFT_Z2Z", "HIPFFT_Z2Z", "numeric_literal"); + subst("CURAND_RNG_PSEUDO_DEFAULT", "HIPRAND_RNG_PSEUDO_DEFAULT", "numeric_literal"); + subst("CURAND_RNG_PSEUDO_MRG32K3A", "HIPRAND_RNG_PSEUDO_MRG32K3A", "numeric_literal"); + subst("CURAND_RNG_PSEUDO_MT19937", "HIPRAND_RNG_PSEUDO_MT19937", "numeric_literal"); + subst("CURAND_RNG_PSEUDO_MTGP32", "HIPRAND_RNG_PSEUDO_MTGP32", "numeric_literal"); + subst("CURAND_RNG_PSEUDO_PHILOX4_32_10", "HIPRAND_RNG_PSEUDO_PHILOX4_32_10", "numeric_literal"); + subst("CURAND_RNG_PSEUDO_XORWOW", "HIPRAND_RNG_PSEUDO_XORWOW", "numeric_literal"); + subst("CURAND_RNG_QUASI_DEFAULT", "HIPRAND_RNG_QUASI_DEFAULT", "numeric_literal"); + subst("CURAND_RNG_QUASI_SCRAMBLED_SOBOL32", "HIPRAND_RNG_QUASI_SCRAMBLED_SOBOL32", "numeric_literal"); + subst("CURAND_RNG_QUASI_SCRAMBLED_SOBOL64", "HIPRAND_RNG_QUASI_SCRAMBLED_SOBOL64", "numeric_literal"); + subst("CURAND_RNG_QUASI_SOBOL32", "HIPRAND_RNG_QUASI_SOBOL32", "numeric_literal"); + subst("CURAND_RNG_QUASI_SOBOL64", "HIPRAND_RNG_QUASI_SOBOL64", "numeric_literal"); + subst("CURAND_RNG_TEST", "HIPRAND_RNG_TEST", "numeric_literal"); + subst("CURAND_STATUS_ALLOCATION_FAILED", "HIPRAND_STATUS_ALLOCATION_FAILED", "numeric_literal"); + subst("CURAND_STATUS_ARCH_MISMATCH", "HIPRAND_STATUS_ARCH_MISMATCH", "numeric_literal"); + subst("CURAND_STATUS_DOUBLE_PRECISION_REQUIRED", "HIPRAND_STATUS_DOUBLE_PRECISION_REQUIRED", "numeric_literal"); + subst("CURAND_STATUS_INITIALIZATION_FAILED", "HIPRAND_STATUS_INITIALIZATION_FAILED", "numeric_literal"); + subst("CURAND_STATUS_INTERNAL_ERROR", "HIPRAND_STATUS_INTERNAL_ERROR", "numeric_literal"); + subst("CURAND_STATUS_LAUNCH_FAILURE", "HIPRAND_STATUS_LAUNCH_FAILURE", "numeric_literal"); + subst("CURAND_STATUS_LENGTH_NOT_MULTIPLE", "HIPRAND_STATUS_LENGTH_NOT_MULTIPLE", "numeric_literal"); + subst("CURAND_STATUS_NOT_INITIALIZED", "HIPRAND_STATUS_NOT_INITIALIZED", "numeric_literal"); + subst("CURAND_STATUS_OUT_OF_RANGE", "HIPRAND_STATUS_OUT_OF_RANGE", "numeric_literal"); + subst("CURAND_STATUS_PREEXISTING_FAILURE", "HIPRAND_STATUS_PREEXISTING_FAILURE", "numeric_literal"); + subst("CURAND_STATUS_SUCCESS", "HIPRAND_STATUS_SUCCESS", "numeric_literal"); + subst("CURAND_STATUS_TYPE_ERROR", "HIPRAND_STATUS_TYPE_ERROR", "numeric_literal"); + subst("CURAND_STATUS_VERSION_MISMATCH", "HIPRAND_STATUS_VERSION_MISMATCH", "numeric_literal"); + subst("CUSPARSE_ACTION_NUMERIC", "HIPSPARSE_ACTION_NUMERIC", "numeric_literal"); + subst("CUSPARSE_ACTION_SYMBOLIC", "HIPSPARSE_ACTION_SYMBOLIC", "numeric_literal"); + subst("CUSPARSE_COOMM_ALG1", "HIPSPARSE_COOMM_ALG1", "numeric_literal"); + subst("CUSPARSE_COOMM_ALG2", "HIPSPARSE_COOMM_ALG2", "numeric_literal"); + subst("CUSPARSE_COOMM_ALG3", "HIPSPARSE_COOMM_ALG3", "numeric_literal"); + subst("CUSPARSE_COOMV_ALG", "HIPSPARSE_COOMV_ALG", "numeric_literal"); + subst("CUSPARSE_CSRMM_ALG1", "HIPSPARSE_CSRMM_ALG1", "numeric_literal"); + subst("CUSPARSE_CSRMV_ALG1", "HIPSPARSE_CSRMV_ALG1", "numeric_literal"); + subst("CUSPARSE_CSRMV_ALG2", "HIPSPARSE_CSRMV_ALG2", "numeric_literal"); + subst("CUSPARSE_DIAG_TYPE_NON_UNIT", "HIPSPARSE_DIAG_TYPE_NON_UNIT", "numeric_literal"); + subst("CUSPARSE_DIAG_TYPE_UNIT", "HIPSPARSE_DIAG_TYPE_UNIT", "numeric_literal"); + subst("CUSPARSE_DIRECTION_COLUMN", "HIPSPARSE_DIRECTION_COLUMN", "numeric_literal"); + subst("CUSPARSE_DIRECTION_ROW", "HIPSPARSE_DIRECTION_ROW", "numeric_literal"); + subst("CUSPARSE_FILL_MODE_LOWER", "HIPSPARSE_FILL_MODE_LOWER", "numeric_literal"); + subst("CUSPARSE_FILL_MODE_UPPER", "HIPSPARSE_FILL_MODE_UPPER", "numeric_literal"); + subst("CUSPARSE_FORMAT_BLOCKED_ELL", "HIPSPARSE_FORMAT_BLOCKED_ELL", "numeric_literal"); + subst("CUSPARSE_FORMAT_COO", "HIPSPARSE_FORMAT_COO", "numeric_literal"); + subst("CUSPARSE_FORMAT_COO_AOS", "HIPSPARSE_FORMAT_COO_AOS", "numeric_literal"); + subst("CUSPARSE_FORMAT_CSC", "HIPSPARSE_FORMAT_CSC", "numeric_literal"); + subst("CUSPARSE_FORMAT_CSR", "HIPSPARSE_FORMAT_CSR", "numeric_literal"); + subst("CUSPARSE_HYB_PARTITION_AUTO", "HIPSPARSE_HYB_PARTITION_AUTO", "numeric_literal"); + subst("CUSPARSE_HYB_PARTITION_MAX", "HIPSPARSE_HYB_PARTITION_MAX", "numeric_literal"); + subst("CUSPARSE_HYB_PARTITION_USER", "HIPSPARSE_HYB_PARTITION_USER", "numeric_literal"); + subst("CUSPARSE_INDEX_16U", "HIPSPARSE_INDEX_16U", "numeric_literal"); + subst("CUSPARSE_INDEX_32I", "HIPSPARSE_INDEX_32I", "numeric_literal"); + subst("CUSPARSE_INDEX_64I", "HIPSPARSE_INDEX_64I", "numeric_literal"); + subst("CUSPARSE_INDEX_BASE_ONE", "HIPSPARSE_INDEX_BASE_ONE", "numeric_literal"); + subst("CUSPARSE_INDEX_BASE_ZERO", "HIPSPARSE_INDEX_BASE_ZERO", "numeric_literal"); + subst("CUSPARSE_MATRIX_TYPE_GENERAL", "HIPSPARSE_MATRIX_TYPE_GENERAL", "numeric_literal"); + subst("CUSPARSE_MATRIX_TYPE_HERMITIAN", "HIPSPARSE_MATRIX_TYPE_HERMITIAN", "numeric_literal"); + subst("CUSPARSE_MATRIX_TYPE_SYMMETRIC", "HIPSPARSE_MATRIX_TYPE_SYMMETRIC", "numeric_literal"); + subst("CUSPARSE_MATRIX_TYPE_TRIANGULAR", "HIPSPARSE_MATRIX_TYPE_TRIANGULAR", "numeric_literal"); + subst("CUSPARSE_MM_ALG_DEFAULT", "HIPSPARSE_MM_ALG_DEFAULT", "numeric_literal"); + subst("CUSPARSE_MV_ALG_DEFAULT", "HIPSPARSE_MV_ALG_DEFAULT", "numeric_literal"); + subst("CUSPARSE_OPERATION_CONJUGATE_TRANSPOSE", "HIPSPARSE_OPERATION_CONJUGATE_TRANSPOSE", "numeric_literal"); + subst("CUSPARSE_OPERATION_NON_TRANSPOSE", "HIPSPARSE_OPERATION_NON_TRANSPOSE", "numeric_literal"); + subst("CUSPARSE_OPERATION_TRANSPOSE", "HIPSPARSE_OPERATION_TRANSPOSE", "numeric_literal"); + subst("CUSPARSE_ORDER_COL", "HIPSPARSE_ORDER_COL", "numeric_literal"); + subst("CUSPARSE_ORDER_ROW", "HIPSPARSE_ORDER_ROW", "numeric_literal"); + subst("CUSPARSE_POINTER_MODE_DEVICE", "HIPSPARSE_POINTER_MODE_DEVICE", "numeric_literal"); + subst("CUSPARSE_POINTER_MODE_HOST", "HIPSPARSE_POINTER_MODE_HOST", "numeric_literal"); + subst("CUSPARSE_SDDMM_ALG_DEFAULT", "HIPSPARSE_SDDMM_ALG_DEFAULT", "numeric_literal"); + subst("CUSPARSE_SOLVE_POLICY_NO_LEVEL", "HIPSPARSE_SOLVE_POLICY_NO_LEVEL", "numeric_literal"); + subst("CUSPARSE_SOLVE_POLICY_USE_LEVEL", "HIPSPARSE_SOLVE_POLICY_USE_LEVEL", "numeric_literal"); + subst("CUSPARSE_SPARSETODENSE_ALG_DEFAULT", "HIPSPARSE_SPARSETODENSE_ALG_DEFAULT", "numeric_literal"); + subst("CUSPARSE_SPGEMM_DEFAULT", "HIPSPARSE_SPGEMM_DEFAULT", "numeric_literal"); + subst("CUSPARSE_SPMAT_DIAG_TYPE", "HIPSPARSE_SPMAT_DIAG_TYPE", "numeric_literal"); + subst("CUSPARSE_SPMAT_FILL_MODE", "HIPSPARSE_SPMAT_FILL_MODE", "numeric_literal"); + subst("CUSPARSE_SPMM_ALG_DEFAULT", "HIPSPARSE_SPMM_ALG_DEFAULT", "numeric_literal"); + subst("CUSPARSE_SPMM_BLOCKED_ELL_ALG1", "HIPSPARSE_SPMM_BLOCKED_ELL_ALG1", "numeric_literal"); + subst("CUSPARSE_SPMM_COO_ALG1", "HIPSPARSE_SPMM_COO_ALG1", "numeric_literal"); + subst("CUSPARSE_SPMM_COO_ALG2", "HIPSPARSE_SPMM_COO_ALG2", "numeric_literal"); + subst("CUSPARSE_SPMM_COO_ALG3", "HIPSPARSE_SPMM_COO_ALG3", "numeric_literal"); + subst("CUSPARSE_SPMM_COO_ALG4", "HIPSPARSE_SPMM_COO_ALG4", "numeric_literal"); + subst("CUSPARSE_SPMM_CSR_ALG1", "HIPSPARSE_SPMM_CSR_ALG1", "numeric_literal"); + subst("CUSPARSE_SPMM_CSR_ALG2", "HIPSPARSE_SPMM_CSR_ALG2", "numeric_literal"); + subst("CUSPARSE_SPMM_CSR_ALG3", "HIPSPARSE_SPMM_CSR_ALG3", "numeric_literal"); + subst("CUSPARSE_SPMV_ALG_DEFAULT", "HIPSPARSE_SPMV_ALG_DEFAULT", "numeric_literal"); + subst("CUSPARSE_SPMV_COO_ALG1", "HIPSPARSE_SPMV_COO_ALG1", "numeric_literal"); + subst("CUSPARSE_SPMV_COO_ALG2", "HIPSPARSE_SPMV_COO_ALG2", "numeric_literal"); + subst("CUSPARSE_SPMV_CSR_ALG1", "HIPSPARSE_SPMV_CSR_ALG1", "numeric_literal"); + subst("CUSPARSE_SPMV_CSR_ALG2", "HIPSPARSE_SPMV_CSR_ALG2", "numeric_literal"); + subst("CUSPARSE_SPSM_ALG_DEFAULT", "HIPSPARSE_SPSM_ALG_DEFAULT", "numeric_literal"); + subst("CUSPARSE_SPSV_ALG_DEFAULT", "HIPSPARSE_SPSV_ALG_DEFAULT", "numeric_literal"); + subst("CUSPARSE_STATUS_ALLOC_FAILED", "HIPSPARSE_STATUS_ALLOC_FAILED", "numeric_literal"); + subst("CUSPARSE_STATUS_ARCH_MISMATCH", "HIPSPARSE_STATUS_ARCH_MISMATCH", "numeric_literal"); + subst("CUSPARSE_STATUS_EXECUTION_FAILED", "HIPSPARSE_STATUS_EXECUTION_FAILED", "numeric_literal"); + subst("CUSPARSE_STATUS_INSUFFICIENT_RESOURCES", "HIPSPARSE_STATUS_INSUFFICIENT_RESOURCES", "numeric_literal"); + subst("CUSPARSE_STATUS_INTERNAL_ERROR", "HIPSPARSE_STATUS_INTERNAL_ERROR", "numeric_literal"); + subst("CUSPARSE_STATUS_INVALID_VALUE", "HIPSPARSE_STATUS_INVALID_VALUE", "numeric_literal"); + subst("CUSPARSE_STATUS_MAPPING_ERROR", "HIPSPARSE_STATUS_MAPPING_ERROR", "numeric_literal"); + subst("CUSPARSE_STATUS_MATRIX_TYPE_NOT_SUPPORTED", "HIPSPARSE_STATUS_MATRIX_TYPE_NOT_SUPPORTED", "numeric_literal"); + subst("CUSPARSE_STATUS_NOT_INITIALIZED", "HIPSPARSE_STATUS_NOT_INITIALIZED", "numeric_literal"); + subst("CUSPARSE_STATUS_NOT_SUPPORTED", "HIPSPARSE_STATUS_NOT_SUPPORTED", "numeric_literal"); + subst("CUSPARSE_STATUS_SUCCESS", "HIPSPARSE_STATUS_SUCCESS", "numeric_literal"); + subst("CUSPARSE_STATUS_ZERO_PIVOT", "HIPSPARSE_STATUS_ZERO_PIVOT", "numeric_literal"); + subst("CU_AD_FORMAT_FLOAT", "HIP_AD_FORMAT_FLOAT", "numeric_literal"); + subst("CU_AD_FORMAT_HALF", "HIP_AD_FORMAT_HALF", "numeric_literal"); + subst("CU_AD_FORMAT_SIGNED_INT16", "HIP_AD_FORMAT_SIGNED_INT16", "numeric_literal"); + subst("CU_AD_FORMAT_SIGNED_INT32", "HIP_AD_FORMAT_SIGNED_INT32", "numeric_literal"); + subst("CU_AD_FORMAT_SIGNED_INT8", "HIP_AD_FORMAT_SIGNED_INT8", "numeric_literal"); + subst("CU_AD_FORMAT_UNSIGNED_INT16", "HIP_AD_FORMAT_UNSIGNED_INT16", "numeric_literal"); + subst("CU_AD_FORMAT_UNSIGNED_INT32", "HIP_AD_FORMAT_UNSIGNED_INT32", "numeric_literal"); + subst("CU_AD_FORMAT_UNSIGNED_INT8", "HIP_AD_FORMAT_UNSIGNED_INT8", "numeric_literal"); + subst("CU_COMPUTEMODE_DEFAULT", "hipComputeModeDefault", "numeric_literal"); + subst("CU_COMPUTEMODE_EXCLUSIVE", "hipComputeModeExclusive", "numeric_literal"); + subst("CU_COMPUTEMODE_EXCLUSIVE_PROCESS", "hipComputeModeExclusiveProcess", "numeric_literal"); + subst("CU_COMPUTEMODE_PROHIBITED", "hipComputeModeProhibited", "numeric_literal"); + subst("CU_CTX_BLOCKING_SYNC", "hipDeviceScheduleBlockingSync", "numeric_literal"); + subst("CU_CTX_LMEM_RESIZE_TO_MAX", "hipDeviceLmemResizeToMax", "numeric_literal"); + subst("CU_CTX_MAP_HOST", "hipDeviceMapHost", "numeric_literal"); + subst("CU_CTX_SCHED_AUTO", "hipDeviceScheduleAuto", "numeric_literal"); + subst("CU_CTX_SCHED_BLOCKING_SYNC", "hipDeviceScheduleBlockingSync", "numeric_literal"); + subst("CU_CTX_SCHED_MASK", "hipDeviceScheduleMask", "numeric_literal"); + subst("CU_CTX_SCHED_SPIN", "hipDeviceScheduleSpin", "numeric_literal"); + subst("CU_CTX_SCHED_YIELD", "hipDeviceScheduleYield", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT", "hipDeviceAttributeAsyncEngineCount", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY", "hipDeviceAttributeCanMapHostMemory", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM", "hipDeviceAttributeCanUseHostPointerForRegisteredMem", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR", "hipDeviceAttributeCanUseStreamWaitValue", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_CLOCK_RATE", "hipDeviceAttributeClockRate", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR", "hipDeviceAttributeComputeCapabilityMajor", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR", "hipDeviceAttributeComputeCapabilityMinor", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_COMPUTE_MODE", "hipDeviceAttributeComputeMode", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED", "hipDeviceAttributeComputePreemptionSupported", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_CONCURRENT_KERNELS", "hipDeviceAttributeConcurrentKernels", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS", "hipDeviceAttributeConcurrentManagedAccess", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH", "hipDeviceAttributeCooperativeLaunch", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH", "hipDeviceAttributeCooperativeMultiDeviceLaunch", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST", "hipDeviceAttributeDirectManagedMemAccessFromHost", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_ECC_ENABLED", "hipDeviceAttributeEccEnabled", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED", "hipDeviceAttributeGlobalL1CacheSupported", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH", "hipDeviceAttributeMemoryBusWidth", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_GPU_OVERLAP", "hipDeviceAttributeAsyncEngineCount", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED", "hipDeviceAttributeHostNativeAtomicSupported", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_INTEGRATED", "hipDeviceAttributeIntegrated", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT", "hipDeviceAttributeKernelExecTimeout", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_L2_CACHE_SIZE", "hipDeviceAttributeL2CacheSize", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED", "hipDeviceAttributeLocalL1CacheSupported", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MANAGED_MEMORY", "hipDeviceAttributeManagedMemory", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH", "hipDeviceAttributeMaxSurface1DLayered", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH", "hipDeviceAttributeMaxSurface1D", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT", "hipDeviceAttributeMaxSurface2D", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT", "hipDeviceAttributeMaxSurface2DLayered", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH", "hipDeviceAttributeMaxSurface2DLayered", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH", "hipDeviceAttributeMaxSurface2D", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH", "hipDeviceAttributeMaxSurface3D", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT", "hipDeviceAttributeMaxSurface3D", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH", "hipDeviceAttributeMaxSurface3D", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH", "hipDeviceAttributeMaxSurfaceCubemapLayered", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH", "hipDeviceAttributeMaxSurfaceCubemap", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH", "hipDeviceAttributeMaxTexture1DLayered", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH", "hipDeviceAttributeMaxTexture1DLinear", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH", "hipDeviceAttributeMaxTexture1DMipmap", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH", "hipDeviceAttributeMaxTexture1DWidth", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT", "hipDeviceAttributeMaxTexture2DLayered", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH", "hipDeviceAttributeMaxTexture2DLayered", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT", "hipDeviceAttributeMaxTexture2DGather", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH", "hipDeviceAttributeMaxTexture2DGather", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT", "hipDeviceAttributeMaxTexture2DHeight", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT", "hipDeviceAttributeMaxTexture2DLayered", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH", "hipDeviceAttributeMaxTexture2DLayered", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT", "hipDeviceAttributeMaxTexture2DLinear", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH", "hipDeviceAttributeMaxTexture2DLinear", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH", "hipDeviceAttributeMaxTexture2DLinear", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT", "hipDeviceAttributeMaxTexture2DMipmap", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH", "hipDeviceAttributeMaxTexture2DMipmap", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH", "hipDeviceAttributeMaxTexture2DWidth", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH", "hipDeviceAttributeMaxTexture3DDepth", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE", "hipDeviceAttributeMaxTexture3DAlt", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT", "hipDeviceAttributeMaxTexture3DHeight", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE", "hipDeviceAttributeMaxTexture3DAlt", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH", "hipDeviceAttributeMaxTexture3DWidth", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE", "hipDeviceAttributeMaxTexture3DAlt", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH", "hipDeviceAttributeMaxTextureCubemapLayered", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH", "hipDeviceAttributeMaxTextureCubemap", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAX_BLOCKS_PER_MULTIPROCESSOR", "hipDeviceAttributeMaxBlocksPerMultiprocessor", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X", "hipDeviceAttributeMaxBlockDimX", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y", "hipDeviceAttributeMaxBlockDimY", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z", "hipDeviceAttributeMaxBlockDimZ", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAX_GRID_DIM_X", "hipDeviceAttributeMaxGridDimX", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAX_GRID_DIM_Y", "hipDeviceAttributeMaxGridDimY", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAX_GRID_DIM_Z", "hipDeviceAttributeMaxGridDimZ", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAX_PITCH", "hipDeviceAttributeMaxPitch", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK", "hipDeviceAttributeMaxRegistersPerBlock", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR", "hipDeviceAttributeMaxRegistersPerMultiprocessor", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK", "hipDeviceAttributeMaxSharedMemoryPerBlock", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN", "hipDeviceAttributeSharedMemPerBlockOptin", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR", "hipDeviceAttributeMaxSharedMemoryPerMultiprocessor", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK", "hipDeviceAttributeMaxThreadsPerBlock", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR", "hipDeviceAttributeMaxThreadsPerMultiProcessor", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE", "hipDeviceAttributeMemoryClockRate", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT", "hipDeviceAttributeMultiprocessorCount", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MULTI_GPU_BOARD", "hipDeviceAttributeIsMultiGpuBoard", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID", "hipDeviceAttributeMultiGpuBoardGroupId", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS", "hipDeviceAttributePageableMemoryAccess", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES", "hipDeviceAttributePageableMemoryAccessUsesHostPageTables", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_PCI_BUS_ID", "hipDeviceAttributePciBusId", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_PCI_DEVICE_ID", "hipDeviceAttributePciDeviceId", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_PCI_DOMAIN_ID", "hipDeviceAttributePciDomainID", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK", "hipDeviceAttributeMaxRegistersPerBlock", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK", "hipDeviceAttributeMaxSharedMemoryPerBlock", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO", "hipDeviceAttributeSingleToDoublePrecisionPerfRatio", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED", "hipDeviceAttributeStreamPrioritiesSupported", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_SURFACE_ALIGNMENT", "hipDeviceAttributeSurfaceAlignment", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_TCC_DRIVER", "hipDeviceAttributeTccDriver", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT", "hipDeviceAttributeTextureAlignment", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT", "hipDeviceAttributeTexturePitchAlignment", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY", "hipDeviceAttributeTotalConstantMemory", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_UNIFIED_ADDRESSING", "hipDeviceAttributeUnifiedAddressing", "numeric_literal"); + subst("CU_DEVICE_ATTRIBUTE_WARP_SIZE", "hipDeviceAttributeWarpSize", "numeric_literal"); + subst("CU_DEVICE_P2P_ATTRIBUTE_ACCESS_ACCESS_SUPPORTED", "hipDevP2PAttrHipArrayAccessSupported", "numeric_literal"); + subst("CU_DEVICE_P2P_ATTRIBUTE_ACCESS_SUPPORTED", "hipDevP2PAttrAccessSupported", "numeric_literal"); + subst("CU_DEVICE_P2P_ATTRIBUTE_ARRAY_ACCESS_ACCESS_SUPPORTED", "hipDevP2PAttrHipArrayAccessSupported", "numeric_literal"); + subst("CU_DEVICE_P2P_ATTRIBUTE_CUDA_ARRAY_ACCESS_SUPPORTED", "hipDevP2PAttrHipArrayAccessSupported", "numeric_literal"); + subst("CU_DEVICE_P2P_ATTRIBUTE_NATIVE_ATOMIC_SUPPORTED", "hipDevP2PAttrNativeAtomicSupported", "numeric_literal"); + subst("CU_DEVICE_P2P_ATTRIBUTE_PERFORMANCE_RANK", "hipDevP2PAttrPerformanceRank", "numeric_literal"); + subst("CU_EVENT_BLOCKING_SYNC", "hipEventBlockingSync", "numeric_literal"); + subst("CU_EVENT_DEFAULT", "hipEventDefault", "numeric_literal"); + subst("CU_EVENT_DISABLE_TIMING", "hipEventDisableTiming", "numeric_literal"); + subst("CU_EVENT_INTERPROCESS", "hipEventInterprocess", "numeric_literal"); + subst("CU_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_RESOURCE", "hipExternalMemoryHandleTypeD3D11Resource", "numeric_literal"); + subst("CU_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_RESOURCE_KMT", "hipExternalMemoryHandleTypeD3D11ResourceKmt", "numeric_literal"); + subst("CU_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP", "hipExternalMemoryHandleTypeD3D12Heap", "numeric_literal"); + subst("CU_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE", "hipExternalMemoryHandleTypeD3D12Resource", "numeric_literal"); + subst("CU_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD", "hipExternalMemoryHandleTypeOpaqueFd", "numeric_literal"); + subst("CU_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32", "hipExternalMemoryHandleTypeOpaqueWin32", "numeric_literal"); + subst("CU_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT", "hipExternalMemoryHandleTypeOpaqueWin32Kmt", "numeric_literal"); + subst("CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE", "hipExternalSemaphoreHandleTypeD3D12Fence", "numeric_literal"); + subst("CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD", "hipExternalSemaphoreHandleTypeOpaqueFd", "numeric_literal"); + subst("CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32", "hipExternalSemaphoreHandleTypeOpaqueWin32", "numeric_literal"); + subst("CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT", "hipExternalSemaphoreHandleTypeOpaqueWin32Kmt", "numeric_literal"); + subst("CU_FUNC_ATTRIBUTE_BINARY_VERSION", "HIP_FUNC_ATTRIBUTE_BINARY_VERSION", "numeric_literal"); + subst("CU_FUNC_ATTRIBUTE_CACHE_MODE_CA", "HIP_FUNC_ATTRIBUTE_CACHE_MODE_CA", "numeric_literal"); + subst("CU_FUNC_ATTRIBUTE_CONST_SIZE_BYTES", "HIP_FUNC_ATTRIBUTE_CONST_SIZE_BYTES", "numeric_literal"); + subst("CU_FUNC_ATTRIBUTE_LOCAL_SIZE_BYTES", "HIP_FUNC_ATTRIBUTE_LOCAL_SIZE_BYTES", "numeric_literal"); + subst("CU_FUNC_ATTRIBUTE_MAX", "HIP_FUNC_ATTRIBUTE_MAX", "numeric_literal"); + subst("CU_FUNC_ATTRIBUTE_MAX_DYNAMIC_SHARED_SIZE_BYTES", "HIP_FUNC_ATTRIBUTE_MAX_DYNAMIC_SHARED_SIZE_BYTES", "numeric_literal"); + subst("CU_FUNC_ATTRIBUTE_MAX_THREADS_PER_BLOCK", "HIP_FUNC_ATTRIBUTE_MAX_THREADS_PER_BLOCK", "numeric_literal"); + subst("CU_FUNC_ATTRIBUTE_NUM_REGS", "HIP_FUNC_ATTRIBUTE_NUM_REGS", "numeric_literal"); + subst("CU_FUNC_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT", "HIP_FUNC_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT", "numeric_literal"); + subst("CU_FUNC_ATTRIBUTE_PTX_VERSION", "HIP_FUNC_ATTRIBUTE_PTX_VERSION", "numeric_literal"); + subst("CU_FUNC_ATTRIBUTE_SHARED_SIZE_BYTES", "HIP_FUNC_ATTRIBUTE_SHARED_SIZE_BYTES", "numeric_literal"); + subst("CU_FUNC_CACHE_PREFER_EQUAL", "hipFuncCachePreferEqual", "numeric_literal"); + subst("CU_FUNC_CACHE_PREFER_L1", "hipFuncCachePreferL1", "numeric_literal"); + subst("CU_FUNC_CACHE_PREFER_NONE", "hipFuncCachePreferNone", "numeric_literal"); + subst("CU_FUNC_CACHE_PREFER_SHARED", "hipFuncCachePreferShared", "numeric_literal"); + subst("CU_GL_DEVICE_LIST_ALL", "hipGLDeviceListAll", "numeric_literal"); + subst("CU_GL_DEVICE_LIST_CURRENT_FRAME", "hipGLDeviceListCurrentFrame", "numeric_literal"); + subst("CU_GL_DEVICE_LIST_NEXT_FRAME", "hipGLDeviceListNextFrame", "numeric_literal"); + subst("CU_GRAPHICS_REGISTER_FLAGS_NONE", "hipGraphicsRegisterFlagsNone", "numeric_literal"); + subst("CU_GRAPHICS_REGISTER_FLAGS_READ_ONLY", "hipGraphicsRegisterFlagsReadOnly", "numeric_literal"); + subst("CU_GRAPHICS_REGISTER_FLAGS_SURFACE_LDST", "hipGraphicsRegisterFlagsSurfaceLoadStore", "numeric_literal"); + subst("CU_GRAPHICS_REGISTER_FLAGS_TEXTURE_GATHER", "hipGraphicsRegisterFlagsTextureGather", "numeric_literal"); + subst("CU_GRAPHICS_REGISTER_FLAGS_WRITE_DISCARD", "hipGraphicsRegisterFlagsWriteDiscard", "numeric_literal"); + subst("CU_GRAPH_EXEC_UPDATE_ERROR", "hipGraphExecUpdateError", "numeric_literal"); + subst("CU_GRAPH_EXEC_UPDATE_ERROR_FUNCTION_CHANGED", "hipGraphExecUpdateErrorFunctionChanged", "numeric_literal"); + subst("CU_GRAPH_EXEC_UPDATE_ERROR_NODE_TYPE_CHANGED", "hipGraphExecUpdateErrorNodeTypeChanged", "numeric_literal"); + subst("CU_GRAPH_EXEC_UPDATE_ERROR_NOT_SUPPORTED", "hipGraphExecUpdateErrorNotSupported", "numeric_literal"); + subst("CU_GRAPH_EXEC_UPDATE_ERROR_PARAMETERS_CHANGED", "hipGraphExecUpdateErrorParametersChanged", "numeric_literal"); + subst("CU_GRAPH_EXEC_UPDATE_ERROR_TOPOLOGY_CHANGED", "hipGraphExecUpdateErrorTopologyChanged", "numeric_literal"); + subst("CU_GRAPH_EXEC_UPDATE_ERROR_UNSUPPORTED_FUNCTION_CHANGE", "hipGraphExecUpdateErrorUnsupportedFunctionChange", "numeric_literal"); + subst("CU_GRAPH_EXEC_UPDATE_SUCCESS", "hipGraphExecUpdateSuccess", "numeric_literal"); + subst("CU_GRAPH_NODE_TYPE_COUNT", "hipGraphNodeTypeCount", "numeric_literal"); + subst("CU_GRAPH_NODE_TYPE_EMPTY", "hipGraphNodeTypeEmpty", "numeric_literal"); + subst("CU_GRAPH_NODE_TYPE_EVENT_RECORD", "hipGraphNodeTypeEventRecord", "numeric_literal"); + subst("CU_GRAPH_NODE_TYPE_GRAPH", "hipGraphNodeTypeGraph", "numeric_literal"); + subst("CU_GRAPH_NODE_TYPE_HOST", "hipGraphNodeTypeHost", "numeric_literal"); + subst("CU_GRAPH_NODE_TYPE_KERNEL", "hipGraphNodeTypeKernel", "numeric_literal"); + subst("CU_GRAPH_NODE_TYPE_MEMCPY", "hipGraphNodeTypeMemcpy", "numeric_literal"); + subst("CU_GRAPH_NODE_TYPE_MEMSET", "hipGraphNodeTypeMemset", "numeric_literal"); + subst("CU_GRAPH_NODE_TYPE_WAIT_EVENT", "hipGraphNodeTypeWaitEvent", "numeric_literal"); + subst("CU_IPC_MEM_LAZY_ENABLE_PEER_ACCESS", "hipIpcMemLazyEnablePeerAccess", "numeric_literal"); + subst("CU_JIT_CACHE_MODE", "hipJitOptionCacheMode", "numeric_literal"); + subst("CU_JIT_ERROR_LOG_BUFFER", "hipJitOptionErrorLogBuffer", "numeric_literal"); + subst("CU_JIT_ERROR_LOG_BUFFER_SIZE_BYTES", "hipJitOptionErrorLogBufferSizeBytes", "numeric_literal"); + subst("CU_JIT_FALLBACK_STRATEGY", "hipJitOptionFallbackStrategy", "numeric_literal"); + subst("CU_JIT_FAST_COMPILE", "hipJitOptionFastCompile", "numeric_literal"); + subst("CU_JIT_GENERATE_DEBUG_INFO", "hipJitOptionGenerateDebugInfo", "numeric_literal"); + subst("CU_JIT_GENERATE_LINE_INFO", "hipJitOptionGenerateLineInfo", "numeric_literal"); + subst("CU_JIT_INFO_LOG_BUFFER", "hipJitOptionInfoLogBuffer", "numeric_literal"); + subst("CU_JIT_INFO_LOG_BUFFER_SIZE_BYTES", "hipJitOptionInfoLogBufferSizeBytes", "numeric_literal"); + subst("CU_JIT_LOG_VERBOSE", "hipJitOptionLogVerbose", "numeric_literal"); + subst("CU_JIT_MAX_REGISTERS", "hipJitOptionMaxRegisters", "numeric_literal"); + subst("CU_JIT_NEW_SM3X_OPT", "hipJitOptionSm3xOpt", "numeric_literal"); + subst("CU_JIT_NUM_OPTIONS", "hipJitOptionNumOptions", "numeric_literal"); + subst("CU_JIT_OPTIMIZATION_LEVEL", "hipJitOptionOptimizationLevel", "numeric_literal"); + subst("CU_JIT_TARGET", "hipJitOptionTarget", "numeric_literal"); + subst("CU_JIT_TARGET_FROM_CUCONTEXT", "hipJitOptionTargetFromContext", "numeric_literal"); + subst("CU_JIT_THREADS_PER_BLOCK", "hipJitOptionThreadsPerBlock", "numeric_literal"); + subst("CU_JIT_WALL_TIME", "hipJitOptionWallTime", "numeric_literal"); + subst("CU_LIMIT_MALLOC_HEAP_SIZE", "hipLimitMallocHeapSize", "numeric_literal"); + subst("CU_LIMIT_PRINTF_FIFO_SIZE", "hipLimitPrintfFifoSize", "numeric_literal"); + subst("CU_MEMORYTYPE_ARRAY", "hipMemoryTypeArray", "numeric_literal"); + subst("CU_MEMORYTYPE_DEVICE", "hipMemoryTypeDevice", "numeric_literal"); + subst("CU_MEMORYTYPE_HOST", "hipMemoryTypeHost", "numeric_literal"); + subst("CU_MEMORYTYPE_UNIFIED", "hipMemoryTypeUnified", "numeric_literal"); + subst("CU_MEM_ADVISE_SET_ACCESSED_BY", "hipMemAdviseSetAccessedBy", "numeric_literal"); + subst("CU_MEM_ADVISE_SET_PREFERRED_LOCATION", "hipMemAdviseSetPreferredLocation", "numeric_literal"); + subst("CU_MEM_ADVISE_SET_READ_MOSTLY", "hipMemAdviseSetReadMostly", "numeric_literal"); + subst("CU_MEM_ADVISE_UNSET_ACCESSED_BY", "hipMemAdviseUnsetAccessedBy", "numeric_literal"); + subst("CU_MEM_ADVISE_UNSET_PREFERRED_LOCATION", "hipMemAdviseUnsetPreferredLocation", "numeric_literal"); + subst("CU_MEM_ADVISE_UNSET_READ_MOSTLY", "hipMemAdviseUnsetReadMostly", "numeric_literal"); + subst("CU_MEM_ATTACH_GLOBAL", "hipMemAttachGlobal", "numeric_literal"); + subst("CU_MEM_ATTACH_HOST", "hipMemAttachHost", "numeric_literal"); + subst("CU_MEM_ATTACH_SINGLE", "hipMemAttachSingle", "numeric_literal"); + subst("CU_MEM_RANGE_ATTRIBUTE_ACCESSED_BY", "hipMemRangeAttributeAccessedBy", "numeric_literal"); + subst("CU_MEM_RANGE_ATTRIBUTE_LAST_PREFETCH_LOCATION", "hipMemRangeAttributeLastPrefetchLocation", "numeric_literal"); + subst("CU_MEM_RANGE_ATTRIBUTE_PREFERRED_LOCATION", "hipMemRangeAttributePreferredLocation", "numeric_literal"); + subst("CU_MEM_RANGE_ATTRIBUTE_READ_MOSTLY", "hipMemRangeAttributeReadMostly", "numeric_literal"); + subst("CU_OCCUPANCY_DEFAULT", "hipOccupancyDefault", "numeric_literal"); + subst("CU_POINTER_ATTRIBUTE_ACCESS_FLAGS", "HIP_POINTER_ATTRIBUTE_ACCESS_FLAGS", "numeric_literal"); + subst("CU_POINTER_ATTRIBUTE_ALLOWED_HANDLE_TYPES", "HIP_POINTER_ATTRIBUTE_ALLOWED_HANDLE_TYPES", "numeric_literal"); + subst("CU_POINTER_ATTRIBUTE_BUFFER_ID", "HIP_POINTER_ATTRIBUTE_BUFFER_ID", "numeric_literal"); + subst("CU_POINTER_ATTRIBUTE_CONTEXT", "HIP_POINTER_ATTRIBUTE_CONTEXT", "numeric_literal"); + subst("CU_POINTER_ATTRIBUTE_DEVICE_ORDINAL", "HIP_POINTER_ATTRIBUTE_DEVICE_ORDINAL", "numeric_literal"); + subst("CU_POINTER_ATTRIBUTE_DEVICE_POINTER", "HIP_POINTER_ATTRIBUTE_DEVICE_POINTER", "numeric_literal"); + subst("CU_POINTER_ATTRIBUTE_HOST_POINTER", "HIP_POINTER_ATTRIBUTE_HOST_POINTER", "numeric_literal"); + subst("CU_POINTER_ATTRIBUTE_IS_GPU_DIRECT_RDMA_CAPABLE", "HIP_POINTER_ATTRIBUTE_IS_GPU_DIRECT_RDMA_CAPABLE", "numeric_literal"); + subst("CU_POINTER_ATTRIBUTE_IS_LEGACY_CUDA_IPC_CAPABLE", "HIP_POINTER_ATTRIBUTE_IS_LEGACY_HIP_IPC_CAPABLE", "numeric_literal"); + subst("CU_POINTER_ATTRIBUTE_IS_MANAGED", "HIP_POINTER_ATTRIBUTE_IS_MANAGED", "numeric_literal"); + subst("CU_POINTER_ATTRIBUTE_MAPPED", "HIP_POINTER_ATTRIBUTE_MAPPED", "numeric_literal"); + subst("CU_POINTER_ATTRIBUTE_MEMORY_TYPE", "HIP_POINTER_ATTRIBUTE_MEMORY_TYPE", "numeric_literal"); + subst("CU_POINTER_ATTRIBUTE_MEMPOOL_HANDLE", "HIP_POINTER_ATTRIBUTE_MEMPOOL_HANDLE", "numeric_literal"); + subst("CU_POINTER_ATTRIBUTE_P2P_TOKENS", "HIP_POINTER_ATTRIBUTE_P2P_TOKENS", "numeric_literal"); + subst("CU_POINTER_ATTRIBUTE_RANGE_SIZE", "HIP_POINTER_ATTRIBUTE_RANGE_SIZE", "numeric_literal"); + subst("CU_POINTER_ATTRIBUTE_RANGE_START_ADDR", "HIP_POINTER_ATTRIBUTE_RANGE_START_ADDR", "numeric_literal"); + subst("CU_POINTER_ATTRIBUTE_SYNC_MEMOPS", "HIP_POINTER_ATTRIBUTE_SYNC_MEMOPS", "numeric_literal"); + subst("CU_RESOURCE_TYPE_ARRAY", "HIP_RESOURCE_TYPE_ARRAY", "numeric_literal"); + subst("CU_RESOURCE_TYPE_LINEAR", "HIP_RESOURCE_TYPE_LINEAR", "numeric_literal"); + subst("CU_RESOURCE_TYPE_MIPMAPPED_ARRAY", "HIP_RESOURCE_TYPE_MIPMAPPED_ARRAY", "numeric_literal"); + subst("CU_RESOURCE_TYPE_PITCH2D", "HIP_RESOURCE_TYPE_PITCH2D", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_FLOAT_1X16", "HIP_RES_VIEW_FORMAT_FLOAT_1X16", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_FLOAT_1X32", "HIP_RES_VIEW_FORMAT_FLOAT_1X32", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_FLOAT_2X16", "HIP_RES_VIEW_FORMAT_FLOAT_2X16", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_FLOAT_2X32", "HIP_RES_VIEW_FORMAT_FLOAT_2X32", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_FLOAT_4X16", "HIP_RES_VIEW_FORMAT_FLOAT_4X16", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_FLOAT_4X32", "HIP_RES_VIEW_FORMAT_FLOAT_4X32", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_NONE", "HIP_RES_VIEW_FORMAT_NONE", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_SIGNED_BC4", "HIP_RES_VIEW_FORMAT_SIGNED_BC4", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_SIGNED_BC5", "HIP_RES_VIEW_FORMAT_SIGNED_BC5", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_SIGNED_BC6H", "HIP_RES_VIEW_FORMAT_SIGNED_BC6H", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_SINT_1X16", "HIP_RES_VIEW_FORMAT_SINT_1X16", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_SINT_1X32", "HIP_RES_VIEW_FORMAT_SINT_1X32", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_SINT_1X8", "HIP_RES_VIEW_FORMAT_SINT_1X8", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_SINT_2X16", "HIP_RES_VIEW_FORMAT_SINT_2X16", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_SINT_2X32", "HIP_RES_VIEW_FORMAT_SINT_2X32", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_SINT_2X8", "HIP_RES_VIEW_FORMAT_SINT_2X8", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_SINT_4X16", "HIP_RES_VIEW_FORMAT_SINT_4X16", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_SINT_4X32", "HIP_RES_VIEW_FORMAT_SINT_4X32", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_SINT_4X8", "HIP_RES_VIEW_FORMAT_SINT_4X8", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_UINT_1X16", "HIP_RES_VIEW_FORMAT_UINT_1X16", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_UINT_1X32", "HIP_RES_VIEW_FORMAT_UINT_1X32", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_UINT_1X8", "HIP_RES_VIEW_FORMAT_UINT_1X8", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_UINT_2X16", "HIP_RES_VIEW_FORMAT_UINT_2X16", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_UINT_2X32", "HIP_RES_VIEW_FORMAT_UINT_2X32", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_UINT_2X8", "HIP_RES_VIEW_FORMAT_UINT_2X8", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_UINT_4X16", "HIP_RES_VIEW_FORMAT_UINT_4X16", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_UINT_4X32", "HIP_RES_VIEW_FORMAT_UINT_4X32", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_UINT_4X8", "HIP_RES_VIEW_FORMAT_UINT_4X8", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_UNSIGNED_BC1", "HIP_RES_VIEW_FORMAT_UNSIGNED_BC1", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_UNSIGNED_BC2", "HIP_RES_VIEW_FORMAT_UNSIGNED_BC2", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_UNSIGNED_BC3", "HIP_RES_VIEW_FORMAT_UNSIGNED_BC3", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_UNSIGNED_BC4", "HIP_RES_VIEW_FORMAT_UNSIGNED_BC4", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_UNSIGNED_BC5", "HIP_RES_VIEW_FORMAT_UNSIGNED_BC5", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_UNSIGNED_BC6H", "HIP_RES_VIEW_FORMAT_UNSIGNED_BC6H", "numeric_literal"); + subst("CU_RES_VIEW_FORMAT_UNSIGNED_BC7", "HIP_RES_VIEW_FORMAT_UNSIGNED_BC7", "numeric_literal"); + subst("CU_SHARED_MEM_CONFIG_DEFAULT_BANK_SIZE", "hipSharedMemBankSizeDefault", "numeric_literal"); + subst("CU_SHARED_MEM_CONFIG_EIGHT_BYTE_BANK_SIZE", "hipSharedMemBankSizeEightByte", "numeric_literal"); + subst("CU_SHARED_MEM_CONFIG_FOUR_BYTE_BANK_SIZE", "hipSharedMemBankSizeFourByte", "numeric_literal"); + subst("CU_STREAM_ADD_CAPTURE_DEPENDENCIES", "hipStreamAddCaptureDependencies", "numeric_literal"); + subst("CU_STREAM_CAPTURE_MODE_GLOBAL", "hipStreamCaptureModeGlobal", "numeric_literal"); + subst("CU_STREAM_CAPTURE_MODE_RELAXED", "hipStreamCaptureModeRelaxed", "numeric_literal"); + subst("CU_STREAM_CAPTURE_MODE_THREAD_LOCAL", "hipStreamCaptureModeThreadLocal", "numeric_literal"); + subst("CU_STREAM_CAPTURE_STATUS_ACTIVE", "hipStreamCaptureStatusActive", "numeric_literal"); + subst("CU_STREAM_CAPTURE_STATUS_INVALIDATED", "hipStreamCaptureStatusInvalidated", "numeric_literal"); + subst("CU_STREAM_CAPTURE_STATUS_NONE", "hipStreamCaptureStatusNone", "numeric_literal"); + subst("CU_STREAM_DEFAULT", "hipStreamDefault", "numeric_literal"); + subst("CU_STREAM_NON_BLOCKING", "hipStreamNonBlocking", "numeric_literal"); + subst("CU_STREAM_SET_CAPTURE_DEPENDENCIES", "hipStreamSetCaptureDependencies", "numeric_literal"); + subst("CU_STREAM_WAIT_VALUE_AND", "hipStreamWaitValueAnd", "numeric_literal"); + subst("CU_STREAM_WAIT_VALUE_EQ", "hipStreamWaitValueEq", "numeric_literal"); + subst("CU_STREAM_WAIT_VALUE_GEQ", "hipStreamWaitValueGte", "numeric_literal"); + subst("CU_STREAM_WAIT_VALUE_NOR", "hipStreamWaitValueNor", "numeric_literal"); + subst("CU_TR_ADDRESS_MODE_BORDER", "HIP_TR_ADDRESS_MODE_BORDER", "numeric_literal"); + subst("CU_TR_ADDRESS_MODE_CLAMP", "HIP_TR_ADDRESS_MODE_CLAMP", "numeric_literal"); + subst("CU_TR_ADDRESS_MODE_MIRROR", "HIP_TR_ADDRESS_MODE_MIRROR", "numeric_literal"); + subst("CU_TR_ADDRESS_MODE_WRAP", "HIP_TR_ADDRESS_MODE_WRAP", "numeric_literal"); + subst("CU_TR_FILTER_MODE_LINEAR", "HIP_TR_FILTER_MODE_LINEAR", "numeric_literal"); + subst("CU_TR_FILTER_MODE_POINT", "HIP_TR_FILTER_MODE_POINT", "numeric_literal"); + subst("NVRTC_ERROR_BUILTIN_OPERATION_FAILURE", "HIPRTC_ERROR_BUILTIN_OPERATION_FAILURE", "numeric_literal"); + subst("NVRTC_ERROR_COMPILATION", "HIPRTC_ERROR_COMPILATION", "numeric_literal"); + subst("NVRTC_ERROR_INTERNAL_ERROR", "HIPRTC_ERROR_INTERNAL_ERROR", "numeric_literal"); + subst("NVRTC_ERROR_INVALID_INPUT", "HIPRTC_ERROR_INVALID_INPUT", "numeric_literal"); + subst("NVRTC_ERROR_INVALID_OPTION", "HIPRTC_ERROR_INVALID_OPTION", "numeric_literal"); + subst("NVRTC_ERROR_INVALID_PROGRAM", "HIPRTC_ERROR_INVALID_PROGRAM", "numeric_literal"); + subst("NVRTC_ERROR_NAME_EXPRESSION_NOT_VALID", "HIPRTC_ERROR_NAME_EXPRESSION_NOT_VALID", "numeric_literal"); + subst("NVRTC_ERROR_NO_LOWERED_NAMES_BEFORE_COMPILATION", "HIPRTC_ERROR_NO_LOWERED_NAMES_BEFORE_COMPILATION", "numeric_literal"); + subst("NVRTC_ERROR_NO_NAME_EXPRESSIONS_AFTER_COMPILATION", "HIPRTC_ERROR_NO_NAME_EXPRESSIONS_AFTER_COMPILATION", "numeric_literal"); + subst("NVRTC_ERROR_OUT_OF_MEMORY", "HIPRTC_ERROR_OUT_OF_MEMORY", "numeric_literal"); + subst("NVRTC_ERROR_PROGRAM_CREATION_FAILURE", "HIPRTC_ERROR_PROGRAM_CREATION_FAILURE", "numeric_literal"); + subst("NVRTC_SUCCESS", "HIPRTC_SUCCESS", "numeric_literal"); + subst("cudaAddressModeBorder", "hipAddressModeBorder", "numeric_literal"); + subst("cudaAddressModeClamp", "hipAddressModeClamp", "numeric_literal"); + subst("cudaAddressModeMirror", "hipAddressModeMirror", "numeric_literal"); + subst("cudaAddressModeWrap", "hipAddressModeWrap", "numeric_literal"); + subst("cudaBoundaryModeClamp", "hipBoundaryModeClamp", "numeric_literal"); + subst("cudaBoundaryModeTrap", "hipBoundaryModeTrap", "numeric_literal"); + subst("cudaBoundaryModeZero", "hipBoundaryModeZero", "numeric_literal"); + subst("cudaChannelFormatKindFloat", "hipChannelFormatKindFloat", "numeric_literal"); + subst("cudaChannelFormatKindNone", "hipChannelFormatKindNone", "numeric_literal"); + subst("cudaChannelFormatKindSigned", "hipChannelFormatKindSigned", "numeric_literal"); + subst("cudaChannelFormatKindUnsigned", "hipChannelFormatKindUnsigned", "numeric_literal"); + subst("cudaComputeModeDefault", "hipComputeModeDefault", "numeric_literal"); + subst("cudaComputeModeExclusive", "hipComputeModeExclusive", "numeric_literal"); + subst("cudaComputeModeExclusiveProcess", "hipComputeModeExclusiveProcess", "numeric_literal"); + subst("cudaComputeModeProhibited", "hipComputeModeProhibited", "numeric_literal"); + subst("cudaDevAttrAsyncEngineCount", "hipDeviceAttributeAsyncEngineCount", "numeric_literal"); + subst("cudaDevAttrCanMapHostMemory", "hipDeviceAttributeCanMapHostMemory", "numeric_literal"); + subst("cudaDevAttrCanUseHostPointerForRegisteredMem", "hipDeviceAttributeCanUseHostPointerForRegisteredMem", "numeric_literal"); + subst("cudaDevAttrClockRate", "hipDeviceAttributeClockRate", "numeric_literal"); + subst("cudaDevAttrComputeCapabilityMajor", "hipDeviceAttributeComputeCapabilityMajor", "numeric_literal"); + subst("cudaDevAttrComputeCapabilityMinor", "hipDeviceAttributeComputeCapabilityMinor", "numeric_literal"); + subst("cudaDevAttrComputeMode", "hipDeviceAttributeComputeMode", "numeric_literal"); + subst("cudaDevAttrComputePreemptionSupported", "hipDeviceAttributeComputePreemptionSupported", "numeric_literal"); + subst("cudaDevAttrConcurrentKernels", "hipDeviceAttributeConcurrentKernels", "numeric_literal"); + subst("cudaDevAttrConcurrentManagedAccess", "hipDeviceAttributeConcurrentManagedAccess", "numeric_literal"); + subst("cudaDevAttrCooperativeLaunch", "hipDeviceAttributeCooperativeLaunch", "numeric_literal"); + subst("cudaDevAttrCooperativeMultiDeviceLaunch", "hipDeviceAttributeCooperativeMultiDeviceLaunch", "numeric_literal"); + subst("cudaDevAttrDirectManagedMemAccessFromHost", "hipDeviceAttributeDirectManagedMemAccessFromHost", "numeric_literal"); + subst("cudaDevAttrEccEnabled", "hipDeviceAttributeEccEnabled", "numeric_literal"); + subst("cudaDevAttrGlobalL1CacheSupported", "hipDeviceAttributeGlobalL1CacheSupported", "numeric_literal"); + subst("cudaDevAttrGlobalMemoryBusWidth", "hipDeviceAttributeMemoryBusWidth", "numeric_literal"); + subst("cudaDevAttrGpuOverlap", "hipDeviceAttributeAsyncEngineCount", "numeric_literal"); + subst("cudaDevAttrHostNativeAtomicSupported", "hipDeviceAttributeHostNativeAtomicSupported", "numeric_literal"); + subst("cudaDevAttrIntegrated", "hipDeviceAttributeIntegrated", "numeric_literal"); + subst("cudaDevAttrIsMultiGpuBoard", "hipDeviceAttributeIsMultiGpuBoard", "numeric_literal"); + subst("cudaDevAttrKernelExecTimeout", "hipDeviceAttributeKernelExecTimeout", "numeric_literal"); + subst("cudaDevAttrL2CacheSize", "hipDeviceAttributeL2CacheSize", "numeric_literal"); + subst("cudaDevAttrLocalL1CacheSupported", "hipDeviceAttributeLocalL1CacheSupported", "numeric_literal"); + subst("cudaDevAttrManagedMemory", "hipDeviceAttributeManagedMemory", "numeric_literal"); + subst("cudaDevAttrMaxBlockDimX", "hipDeviceAttributeMaxBlockDimX", "numeric_literal"); + subst("cudaDevAttrMaxBlockDimY", "hipDeviceAttributeMaxBlockDimY", "numeric_literal"); + subst("cudaDevAttrMaxBlockDimZ", "hipDeviceAttributeMaxBlockDimZ", "numeric_literal"); + subst("cudaDevAttrMaxBlocksPerMultiprocessor", "hipDeviceAttributeMaxBlocksPerMultiprocessor", "numeric_literal"); + subst("cudaDevAttrMaxGridDimX", "hipDeviceAttributeMaxGridDimX", "numeric_literal"); + subst("cudaDevAttrMaxGridDimY", "hipDeviceAttributeMaxGridDimY", "numeric_literal"); + subst("cudaDevAttrMaxGridDimZ", "hipDeviceAttributeMaxGridDimZ", "numeric_literal"); + subst("cudaDevAttrMaxPitch", "hipDeviceAttributeMaxPitch", "numeric_literal"); + subst("cudaDevAttrMaxRegistersPerBlock", "hipDeviceAttributeMaxRegistersPerBlock", "numeric_literal"); + subst("cudaDevAttrMaxRegistersPerMultiprocessor", "hipDeviceAttributeMaxRegistersPerMultiprocessor", "numeric_literal"); + subst("cudaDevAttrMaxSharedMemoryPerBlock", "hipDeviceAttributeMaxSharedMemoryPerBlock", "numeric_literal"); + subst("cudaDevAttrMaxSharedMemoryPerBlockOptin", "hipDeviceAttributeSharedMemPerBlockOptin", "numeric_literal"); + subst("cudaDevAttrMaxSharedMemoryPerMultiprocessor", "hipDeviceAttributeMaxSharedMemoryPerMultiprocessor", "numeric_literal"); + subst("cudaDevAttrMaxSurface1DLayeredWidth", "hipDeviceAttributeMaxSurface1DLayered", "numeric_literal"); + subst("cudaDevAttrMaxSurface1DWidth", "hipDeviceAttributeMaxSurface1D", "numeric_literal"); + subst("cudaDevAttrMaxSurface2DHeight", "hipDeviceAttributeMaxSurface2D", "numeric_literal"); + subst("cudaDevAttrMaxSurface2DLayeredHeight", "hipDeviceAttributeMaxSurface2DLayered", "numeric_literal"); + subst("cudaDevAttrMaxSurface2DLayeredWidth", "hipDeviceAttributeMaxSurface2DLayered", "numeric_literal"); + subst("cudaDevAttrMaxSurface2DWidth", "hipDeviceAttributeMaxSurface2D", "numeric_literal"); + subst("cudaDevAttrMaxSurface3DDepth", "hipDeviceAttributeMaxSurface3D", "numeric_literal"); + subst("cudaDevAttrMaxSurface3DHeight", "hipDeviceAttributeMaxSurface3D", "numeric_literal"); + subst("cudaDevAttrMaxSurface3DWidth", "hipDeviceAttributeMaxSurface3D", "numeric_literal"); + subst("cudaDevAttrMaxSurfaceCubemapLayeredWidth", "hipDeviceAttributeMaxSurfaceCubemapLayered", "numeric_literal"); + subst("cudaDevAttrMaxSurfaceCubemapWidth", "hipDeviceAttributeMaxSurfaceCubemap", "numeric_literal"); + subst("cudaDevAttrMaxTexture1DLayeredWidth", "hipDeviceAttributeMaxTexture1DLayered", "numeric_literal"); + subst("cudaDevAttrMaxTexture1DLinearWidth", "hipDeviceAttributeMaxTexture1DLinear", "numeric_literal"); + subst("cudaDevAttrMaxTexture1DMipmappedWidth", "hipDeviceAttributeMaxTexture1DMipmap", "numeric_literal"); + subst("cudaDevAttrMaxTexture1DWidth", "hipDeviceAttributeMaxTexture1DWidth", "numeric_literal"); + subst("cudaDevAttrMaxTexture2DGatherHeight", "hipDeviceAttributeMaxTexture2DGather", "numeric_literal"); + subst("cudaDevAttrMaxTexture2DGatherWidth", "hipDeviceAttributeMaxTexture2DGather", "numeric_literal"); + subst("cudaDevAttrMaxTexture2DHeight", "hipDeviceAttributeMaxTexture2DHeight", "numeric_literal"); + subst("cudaDevAttrMaxTexture2DLayeredHeight", "hipDeviceAttributeMaxTexture2DLayered", "numeric_literal"); + subst("cudaDevAttrMaxTexture2DLayeredWidth", "hipDeviceAttributeMaxTexture2DLayered", "numeric_literal"); + subst("cudaDevAttrMaxTexture2DLinearHeight", "hipDeviceAttributeMaxTexture2DLinear", "numeric_literal"); + subst("cudaDevAttrMaxTexture2DLinearPitch", "hipDeviceAttributeMaxTexture2DLinear", "numeric_literal"); + subst("cudaDevAttrMaxTexture2DLinearWidth", "hipDeviceAttributeMaxTexture2DLinear", "numeric_literal"); + subst("cudaDevAttrMaxTexture2DMipmappedHeight", "hipDeviceAttributeMaxTexture2DMipmap", "numeric_literal"); + subst("cudaDevAttrMaxTexture2DMipmappedWidth", "hipDeviceAttributeMaxTexture2DMipmap", "numeric_literal"); + subst("cudaDevAttrMaxTexture2DWidth", "hipDeviceAttributeMaxTexture2DWidth", "numeric_literal"); + subst("cudaDevAttrMaxTexture3DDepth", "hipDeviceAttributeMaxTexture3DDepth", "numeric_literal"); + subst("cudaDevAttrMaxTexture3DDepthAlt", "hipDeviceAttributeMaxTexture3DAlt", "numeric_literal"); + subst("cudaDevAttrMaxTexture3DHeight", "hipDeviceAttributeMaxTexture3DHeight", "numeric_literal"); + subst("cudaDevAttrMaxTexture3DHeightAlt", "hipDeviceAttributeMaxTexture3DAlt", "numeric_literal"); + subst("cudaDevAttrMaxTexture3DWidth", "hipDeviceAttributeMaxTexture3DWidth", "numeric_literal"); + subst("cudaDevAttrMaxTexture3DWidthAlt", "hipDeviceAttributeMaxTexture3DAlt", "numeric_literal"); + subst("cudaDevAttrMaxTextureCubemapLayeredWidth", "hipDeviceAttributeMaxTextureCubemapLayered", "numeric_literal"); + subst("cudaDevAttrMaxTextureCubemapWidth", "hipDeviceAttributeMaxTextureCubemap", "numeric_literal"); + subst("cudaDevAttrMaxThreadsPerBlock", "hipDeviceAttributeMaxThreadsPerBlock", "numeric_literal"); + subst("cudaDevAttrMaxThreadsPerMultiProcessor", "hipDeviceAttributeMaxThreadsPerMultiProcessor", "numeric_literal"); + subst("cudaDevAttrMemoryClockRate", "hipDeviceAttributeMemoryClockRate", "numeric_literal"); + subst("cudaDevAttrMultiGpuBoardGroupID", "hipDeviceAttributeMultiGpuBoardGroupID", "numeric_literal"); + subst("cudaDevAttrMultiProcessorCount", "hipDeviceAttributeMultiprocessorCount", "numeric_literal"); + subst("cudaDevAttrPageableMemoryAccess", "hipDeviceAttributePageableMemoryAccess", "numeric_literal"); + subst("cudaDevAttrPageableMemoryAccessUsesHostPageTables", "hipDeviceAttributePageableMemoryAccessUsesHostPageTables", "numeric_literal"); + subst("cudaDevAttrPciBusId", "hipDeviceAttributePciBusId", "numeric_literal"); + subst("cudaDevAttrPciDeviceId", "hipDeviceAttributePciDeviceId", "numeric_literal"); + subst("cudaDevAttrPciDomainId", "hipDeviceAttributePciDomainID", "numeric_literal"); + subst("cudaDevAttrReserved94", "hipDeviceAttributeCanUseStreamWaitValue", "numeric_literal"); + subst("cudaDevAttrSingleToDoublePrecisionPerfRatio", "hipDeviceAttributeSingleToDoublePrecisionPerfRatio", "numeric_literal"); + subst("cudaDevAttrStreamPrioritiesSupported", "hipDeviceAttributeStreamPrioritiesSupported", "numeric_literal"); + subst("cudaDevAttrSurfaceAlignment", "hipDeviceAttributeSurfaceAlignment", "numeric_literal"); + subst("cudaDevAttrTccDriver", "hipDeviceAttributeTccDriver", "numeric_literal"); + subst("cudaDevAttrTextureAlignment", "hipDeviceAttributeTextureAlignment", "numeric_literal"); + subst("cudaDevAttrTexturePitchAlignment", "hipDeviceAttributeTexturePitchAlignment", "numeric_literal"); + subst("cudaDevAttrTotalConstantMemory", "hipDeviceAttributeTotalConstantMemory", "numeric_literal"); + subst("cudaDevAttrUnifiedAddressing", "hipDeviceAttributeUnifiedAddressing", "numeric_literal"); + subst("cudaDevAttrWarpSize", "hipDeviceAttributeWarpSize", "numeric_literal"); + subst("cudaDevP2PAttrAccessSupported", "hipDevP2PAttrAccessSupported", "numeric_literal"); + subst("cudaDevP2PAttrCudaArrayAccessSupported", "hipDevP2PAttrHipArrayAccessSupported", "numeric_literal"); + subst("cudaDevP2PAttrNativeAtomicSupported", "hipDevP2PAttrNativeAtomicSupported", "numeric_literal"); + subst("cudaDevP2PAttrPerformanceRank", "hipDevP2PAttrPerformanceRank", "numeric_literal"); + subst("cudaErrorAlreadyAcquired", "hipErrorAlreadyAcquired", "numeric_literal"); + subst("cudaErrorAlreadyMapped", "hipErrorAlreadyMapped", "numeric_literal"); + subst("cudaErrorArrayIsMapped", "hipErrorArrayIsMapped", "numeric_literal"); + subst("cudaErrorAssert", "hipErrorAssert", "numeric_literal"); + subst("cudaErrorCapturedEvent", "hipErrorCapturedEvent", "numeric_literal"); + subst("cudaErrorContextIsDestroyed", "hipErrorContextIsDestroyed", "numeric_literal"); + subst("cudaErrorCooperativeLaunchTooLarge", "hipErrorCooperativeLaunchTooLarge", "numeric_literal"); + subst("cudaErrorCudartUnloading", "hipErrorDeinitialized", "numeric_literal"); + subst("cudaErrorDeviceAlreadyInUse", "hipErrorContextAlreadyInUse", "numeric_literal"); + subst("cudaErrorDeviceUninitialized", "hipErrorInvalidContext", "numeric_literal"); + subst("cudaErrorECCUncorrectable", "hipErrorECCNotCorrectable", "numeric_literal"); + subst("cudaErrorFileNotFound", "hipErrorFileNotFound", "numeric_literal"); + subst("cudaErrorGraphExecUpdateFailure", "hipErrorGraphExecUpdateFailure", "numeric_literal"); + subst("cudaErrorHostMemoryAlreadyRegistered", "hipErrorHostMemoryAlreadyRegistered", "numeric_literal"); + subst("cudaErrorHostMemoryNotRegistered", "hipErrorHostMemoryNotRegistered", "numeric_literal"); + subst("cudaErrorIllegalAddress", "hipErrorIllegalAddress", "numeric_literal"); + subst("cudaErrorIllegalState", "hipErrorIllegalState", "numeric_literal"); + subst("cudaErrorInitializationError", "hipErrorNotInitialized", "numeric_literal"); + subst("cudaErrorInsufficientDriver", "hipErrorInsufficientDriver", "numeric_literal"); + subst("cudaErrorInvalidConfiguration", "hipErrorInvalidConfiguration", "numeric_literal"); + subst("cudaErrorInvalidDevice", "hipErrorInvalidDevice", "numeric_literal"); + subst("cudaErrorInvalidDeviceFunction", "hipErrorInvalidDeviceFunction", "numeric_literal"); + subst("cudaErrorInvalidDevicePointer", "hipErrorInvalidDevicePointer", "numeric_literal"); + subst("cudaErrorInvalidGraphicsContext", "hipErrorInvalidGraphicsContext", "numeric_literal"); + subst("cudaErrorInvalidKernelImage", "hipErrorInvalidImage", "numeric_literal"); + subst("cudaErrorInvalidMemcpyDirection", "hipErrorInvalidMemcpyDirection", "numeric_literal"); + subst("cudaErrorInvalidPitchValue", "hipErrorInvalidPitchValue", "numeric_literal"); + subst("cudaErrorInvalidPtx", "hipErrorInvalidKernelFile", "numeric_literal"); + subst("cudaErrorInvalidResourceHandle", "hipErrorInvalidHandle", "numeric_literal"); + subst("cudaErrorInvalidSource", "hipErrorInvalidSource", "numeric_literal"); + subst("cudaErrorInvalidSymbol", "hipErrorInvalidSymbol", "numeric_literal"); + subst("cudaErrorInvalidValue", "hipErrorInvalidValue", "numeric_literal"); + subst("cudaErrorLaunchFailure", "hipErrorLaunchFailure", "numeric_literal"); + subst("cudaErrorLaunchOutOfResources", "hipErrorLaunchOutOfResources", "numeric_literal"); + subst("cudaErrorLaunchTimeout", "hipErrorLaunchTimeOut", "numeric_literal"); + subst("cudaErrorMapBufferObjectFailed", "hipErrorMapFailed", "numeric_literal"); + subst("cudaErrorMemoryAllocation", "hipErrorOutOfMemory", "numeric_literal"); + subst("cudaErrorMissingConfiguration", "hipErrorMissingConfiguration", "numeric_literal"); + subst("cudaErrorNoDevice", "hipErrorNoDevice", "numeric_literal"); + subst("cudaErrorNoKernelImageForDevice", "hipErrorNoBinaryForGpu", "numeric_literal"); + subst("cudaErrorNotMapped", "hipErrorNotMapped", "numeric_literal"); + subst("cudaErrorNotMappedAsArray", "hipErrorNotMappedAsArray", "numeric_literal"); + subst("cudaErrorNotMappedAsPointer", "hipErrorNotMappedAsPointer", "numeric_literal"); + subst("cudaErrorNotReady", "hipErrorNotReady", "numeric_literal"); + subst("cudaErrorNotSupported", "hipErrorNotSupported", "numeric_literal"); + subst("cudaErrorOperatingSystem", "hipErrorOperatingSystem", "numeric_literal"); + subst("cudaErrorPeerAccessAlreadyEnabled", "hipErrorPeerAccessAlreadyEnabled", "numeric_literal"); + subst("cudaErrorPeerAccessNotEnabled", "hipErrorPeerAccessNotEnabled", "numeric_literal"); + subst("cudaErrorPeerAccessUnsupported", "hipErrorPeerAccessUnsupported", "numeric_literal"); + subst("cudaErrorPriorLaunchFailure", "hipErrorPriorLaunchFailure", "numeric_literal"); + subst("cudaErrorProfilerAlreadyStarted", "hipErrorProfilerAlreadyStarted", "numeric_literal"); + subst("cudaErrorProfilerAlreadyStopped", "hipErrorProfilerAlreadyStopped", "numeric_literal"); + subst("cudaErrorProfilerDisabled", "hipErrorProfilerDisabled", "numeric_literal"); + subst("cudaErrorProfilerNotInitialized", "hipErrorProfilerNotInitialized", "numeric_literal"); + subst("cudaErrorSetOnActiveProcess", "hipErrorSetOnActiveProcess", "numeric_literal"); + subst("cudaErrorSharedObjectInitFailed", "hipErrorSharedObjectInitFailed", "numeric_literal"); + subst("cudaErrorSharedObjectSymbolNotFound", "hipErrorSharedObjectSymbolNotFound", "numeric_literal"); + subst("cudaErrorStreamCaptureImplicit", "hipErrorStreamCaptureImplicit", "numeric_literal"); + subst("cudaErrorStreamCaptureInvalidated", "hipErrorStreamCaptureInvalidated", "numeric_literal"); + subst("cudaErrorStreamCaptureIsolation", "hipErrorStreamCaptureIsolation", "numeric_literal"); + subst("cudaErrorStreamCaptureMerge", "hipErrorStreamCaptureMerge", "numeric_literal"); + subst("cudaErrorStreamCaptureUnjoined", "hipErrorStreamCaptureUnjoined", "numeric_literal"); + subst("cudaErrorStreamCaptureUnmatched", "hipErrorStreamCaptureUnmatched", "numeric_literal"); + subst("cudaErrorStreamCaptureUnsupported", "hipErrorStreamCaptureUnsupported", "numeric_literal"); + subst("cudaErrorStreamCaptureWrongThread", "hipErrorStreamCaptureWrongThread", "numeric_literal"); + subst("cudaErrorSymbolNotFound", "hipErrorNotFound", "numeric_literal"); + subst("cudaErrorUnknown", "hipErrorUnknown", "numeric_literal"); + subst("cudaErrorUnmapBufferObjectFailed", "hipErrorUnmapFailed", "numeric_literal"); + subst("cudaErrorUnsupportedLimit", "hipErrorUnsupportedLimit", "numeric_literal"); + subst("cudaExternalMemoryHandleTypeD3D11Resource", "hipExternalMemoryHandleTypeD3D11Resource", "numeric_literal"); + subst("cudaExternalMemoryHandleTypeD3D11ResourceKmt", "hipExternalMemoryHandleTypeD3D11ResourceKmt", "numeric_literal"); + subst("cudaExternalMemoryHandleTypeD3D12Heap", "hipExternalMemoryHandleTypeD3D12Heap", "numeric_literal"); + subst("cudaExternalMemoryHandleTypeD3D12Resource", "hipExternalMemoryHandleTypeD3D12Resource", "numeric_literal"); + subst("cudaExternalMemoryHandleTypeOpaqueFd", "hipExternalMemoryHandleTypeOpaqueFd", "numeric_literal"); + subst("cudaExternalMemoryHandleTypeOpaqueWin32", "hipExternalMemoryHandleTypeOpaqueWin32", "numeric_literal"); + subst("cudaExternalMemoryHandleTypeOpaqueWin32Kmt", "hipExternalMemoryHandleTypeOpaqueWin32Kmt", "numeric_literal"); + subst("cudaExternalSemaphoreHandleTypeD3D12Fence", "hipExternalSemaphoreHandleTypeD3D12Fence", "numeric_literal"); + subst("cudaExternalSemaphoreHandleTypeOpaqueFd", "hipExternalSemaphoreHandleTypeOpaqueFd", "numeric_literal"); + subst("cudaExternalSemaphoreHandleTypeOpaqueWin32", "hipExternalSemaphoreHandleTypeOpaqueWin32", "numeric_literal"); + subst("cudaExternalSemaphoreHandleTypeOpaqueWin32Kmt", "hipExternalSemaphoreHandleTypeOpaqueWin32Kmt", "numeric_literal"); + subst("cudaFilterModeLinear", "hipFilterModeLinear", "numeric_literal"); + subst("cudaFilterModePoint", "hipFilterModePoint", "numeric_literal"); + subst("cudaFuncAttributeMax", "hipFuncAttributeMax", "numeric_literal"); + subst("cudaFuncAttributeMaxDynamicSharedMemorySize", "hipFuncAttributeMaxDynamicSharedMemorySize", "numeric_literal"); + subst("cudaFuncAttributePreferredSharedMemoryCarveout", "hipFuncAttributePreferredSharedMemoryCarveout", "numeric_literal"); + subst("cudaFuncCachePreferEqual", "hipFuncCachePreferEqual", "numeric_literal"); + subst("cudaFuncCachePreferL1", "hipFuncCachePreferL1", "numeric_literal"); + subst("cudaFuncCachePreferNone", "hipFuncCachePreferNone", "numeric_literal"); + subst("cudaFuncCachePreferShared", "hipFuncCachePreferShared", "numeric_literal"); + subst("cudaGLDeviceListAll", "hipGLDeviceListAll", "numeric_literal"); + subst("cudaGLDeviceListCurrentFrame", "hipGLDeviceListCurrentFrame", "numeric_literal"); + subst("cudaGLDeviceListNextFrame", "hipGLDeviceListNextFrame", "numeric_literal"); + subst("cudaGraphExecUpdateError", "hipGraphExecUpdateError", "numeric_literal"); + subst("cudaGraphExecUpdateErrorFunctionChanged", "hipGraphExecUpdateErrorFunctionChanged", "numeric_literal"); + subst("cudaGraphExecUpdateErrorNodeTypeChanged", "hipGraphExecUpdateErrorNodeTypeChanged", "numeric_literal"); + subst("cudaGraphExecUpdateErrorNotSupported", "hipGraphExecUpdateErrorNotSupported", "numeric_literal"); + subst("cudaGraphExecUpdateErrorParametersChanged", "hipGraphExecUpdateErrorParametersChanged", "numeric_literal"); + subst("cudaGraphExecUpdateErrorTopologyChanged", "hipGraphExecUpdateErrorTopologyChanged", "numeric_literal"); + subst("cudaGraphExecUpdateErrorUnsupportedFunctionChange", "hipGraphExecUpdateErrorUnsupportedFunctionChange", "numeric_literal"); + subst("cudaGraphExecUpdateSuccess", "hipGraphExecUpdateSuccess", "numeric_literal"); + subst("cudaGraphNodeTypeCount", "hipGraphNodeTypeCount", "numeric_literal"); + subst("cudaGraphNodeTypeEmpty", "hipGraphNodeTypeEmpty", "numeric_literal"); + subst("cudaGraphNodeTypeEventRecord", "hipGraphNodeTypeEventRecord", "numeric_literal"); + subst("cudaGraphNodeTypeGraph", "hipGraphNodeTypeGraph", "numeric_literal"); + subst("cudaGraphNodeTypeHost", "hipGraphNodeTypeHost", "numeric_literal"); + subst("cudaGraphNodeTypeKernel", "hipGraphNodeTypeKernel", "numeric_literal"); + subst("cudaGraphNodeTypeMemcpy", "hipGraphNodeTypeMemcpy", "numeric_literal"); + subst("cudaGraphNodeTypeMemset", "hipGraphNodeTypeMemset", "numeric_literal"); + subst("cudaGraphNodeTypeWaitEvent", "hipGraphNodeTypeWaitEvent", "numeric_literal"); + subst("cudaGraphicsRegisterFlagsNone", "hipGraphicsRegisterFlagsNone", "numeric_literal"); + subst("cudaGraphicsRegisterFlagsReadOnly", "hipGraphicsRegisterFlagsReadOnly", "numeric_literal"); + subst("cudaGraphicsRegisterFlagsSurfaceLoadStore", "hipGraphicsRegisterFlagsSurfaceLoadStore", "numeric_literal"); + subst("cudaGraphicsRegisterFlagsTextureGather", "hipGraphicsRegisterFlagsTextureGather", "numeric_literal"); + subst("cudaGraphicsRegisterFlagsWriteDiscard", "hipGraphicsRegisterFlagsWriteDiscard", "numeric_literal"); + subst("cudaLimitMallocHeapSize", "hipLimitMallocHeapSize", "numeric_literal"); + subst("cudaLimitPrintfFifoSize", "hipLimitPrintfFifoSize", "numeric_literal"); + subst("cudaMemAdviseSetAccessedBy", "hipMemAdviseSetAccessedBy", "numeric_literal"); + subst("cudaMemAdviseSetPreferredLocation", "hipMemAdviseSetPreferredLocation", "numeric_literal"); + subst("cudaMemAdviseSetReadMostly", "hipMemAdviseSetReadMostly", "numeric_literal"); + subst("cudaMemAdviseUnsetAccessedBy", "hipMemAdviseUnsetAccessedBy", "numeric_literal"); + subst("cudaMemAdviseUnsetPreferredLocation", "hipMemAdviseUnsetPreferredLocation", "numeric_literal"); + subst("cudaMemAdviseUnsetReadMostly", "hipMemAdviseUnsetReadMostly", "numeric_literal"); + subst("cudaMemRangeAttributeAccessedBy", "hipMemRangeAttributeAccessedBy", "numeric_literal"); + subst("cudaMemRangeAttributeLastPrefetchLocation", "hipMemRangeAttributeLastPrefetchLocation", "numeric_literal"); + subst("cudaMemRangeAttributePreferredLocation", "hipMemRangeAttributePreferredLocation", "numeric_literal"); + subst("cudaMemRangeAttributeReadMostly", "hipMemRangeAttributeReadMostly", "numeric_literal"); + subst("cudaMemcpyDefault", "hipMemcpyDefault", "numeric_literal"); + subst("cudaMemcpyDeviceToDevice", "hipMemcpyDeviceToDevice", "numeric_literal"); + subst("cudaMemcpyDeviceToHost", "hipMemcpyDeviceToHost", "numeric_literal"); + subst("cudaMemcpyHostToDevice", "hipMemcpyHostToDevice", "numeric_literal"); + subst("cudaMemcpyHostToHost", "hipMemcpyHostToHost", "numeric_literal"); + subst("cudaMemoryTypeDevice", "hipMemoryTypeDevice", "numeric_literal"); + subst("cudaMemoryTypeHost", "hipMemoryTypeHost", "numeric_literal"); + subst("cudaReadModeElementType", "hipReadModeElementType", "numeric_literal"); + subst("cudaReadModeNormalizedFloat", "hipReadModeNormalizedFloat", "numeric_literal"); + subst("cudaResViewFormatFloat1", "hipResViewFormatFloat1", "numeric_literal"); + subst("cudaResViewFormatFloat2", "hipResViewFormatFloat2", "numeric_literal"); + subst("cudaResViewFormatFloat4", "hipResViewFormatFloat4", "numeric_literal"); + subst("cudaResViewFormatHalf1", "hipResViewFormatHalf1", "numeric_literal"); + subst("cudaResViewFormatHalf2", "hipResViewFormatHalf2", "numeric_literal"); + subst("cudaResViewFormatHalf4", "hipResViewFormatHalf4", "numeric_literal"); + subst("cudaResViewFormatNone", "hipResViewFormatNone", "numeric_literal"); + subst("cudaResViewFormatSignedBlockCompressed4", "hipResViewFormatSignedBlockCompressed4", "numeric_literal"); + subst("cudaResViewFormatSignedBlockCompressed5", "hipResViewFormatSignedBlockCompressed5", "numeric_literal"); + subst("cudaResViewFormatSignedBlockCompressed6H", "hipResViewFormatSignedBlockCompressed6H", "numeric_literal"); + subst("cudaResViewFormatSignedChar1", "hipResViewFormatSignedChar1", "numeric_literal"); + subst("cudaResViewFormatSignedChar2", "hipResViewFormatSignedChar2", "numeric_literal"); + subst("cudaResViewFormatSignedChar4", "hipResViewFormatSignedChar4", "numeric_literal"); + subst("cudaResViewFormatSignedInt1", "hipResViewFormatSignedInt1", "numeric_literal"); + subst("cudaResViewFormatSignedInt2", "hipResViewFormatSignedInt2", "numeric_literal"); + subst("cudaResViewFormatSignedInt4", "hipResViewFormatSignedInt4", "numeric_literal"); + subst("cudaResViewFormatSignedShort1", "hipResViewFormatSignedShort1", "numeric_literal"); + subst("cudaResViewFormatSignedShort2", "hipResViewFormatSignedShort2", "numeric_literal"); + subst("cudaResViewFormatSignedShort4", "hipResViewFormatSignedShort4", "numeric_literal"); + subst("cudaResViewFormatUnsignedBlockCompressed1", "hipResViewFormatUnsignedBlockCompressed1", "numeric_literal"); + subst("cudaResViewFormatUnsignedBlockCompressed2", "hipResViewFormatUnsignedBlockCompressed2", "numeric_literal"); + subst("cudaResViewFormatUnsignedBlockCompressed3", "hipResViewFormatUnsignedBlockCompressed3", "numeric_literal"); + subst("cudaResViewFormatUnsignedBlockCompressed4", "hipResViewFormatUnsignedBlockCompressed4", "numeric_literal"); + subst("cudaResViewFormatUnsignedBlockCompressed5", "hipResViewFormatUnsignedBlockCompressed5", "numeric_literal"); + subst("cudaResViewFormatUnsignedBlockCompressed6H", "hipResViewFormatUnsignedBlockCompressed6H", "numeric_literal"); + subst("cudaResViewFormatUnsignedBlockCompressed7", "hipResViewFormatUnsignedBlockCompressed7", "numeric_literal"); + subst("cudaResViewFormatUnsignedChar1", "hipResViewFormatUnsignedChar1", "numeric_literal"); + subst("cudaResViewFormatUnsignedChar2", "hipResViewFormatUnsignedChar2", "numeric_literal"); + subst("cudaResViewFormatUnsignedChar4", "hipResViewFormatUnsignedChar4", "numeric_literal"); + subst("cudaResViewFormatUnsignedInt1", "hipResViewFormatUnsignedInt1", "numeric_literal"); + subst("cudaResViewFormatUnsignedInt2", "hipResViewFormatUnsignedInt2", "numeric_literal"); + subst("cudaResViewFormatUnsignedInt4", "hipResViewFormatUnsignedInt4", "numeric_literal"); + subst("cudaResViewFormatUnsignedShort1", "hipResViewFormatUnsignedShort1", "numeric_literal"); + subst("cudaResViewFormatUnsignedShort2", "hipResViewFormatUnsignedShort2", "numeric_literal"); + subst("cudaResViewFormatUnsignedShort4", "hipResViewFormatUnsignedShort4", "numeric_literal"); + subst("cudaResourceTypeArray", "hipResourceTypeArray", "numeric_literal"); + subst("cudaResourceTypeLinear", "hipResourceTypeLinear", "numeric_literal"); + subst("cudaResourceTypeMipmappedArray", "hipResourceTypeMipmappedArray", "numeric_literal"); + subst("cudaResourceTypePitch2D", "hipResourceTypePitch2D", "numeric_literal"); + subst("cudaSharedMemBankSizeDefault", "hipSharedMemBankSizeDefault", "numeric_literal"); + subst("cudaSharedMemBankSizeEightByte", "hipSharedMemBankSizeEightByte", "numeric_literal"); + subst("cudaSharedMemBankSizeFourByte", "hipSharedMemBankSizeFourByte", "numeric_literal"); + subst("cudaStreamAddCaptureDependencies", "hipStreamAddCaptureDependencies", "numeric_literal"); + subst("cudaStreamCaptureModeGlobal", "hipStreamCaptureModeGlobal", "numeric_literal"); + subst("cudaStreamCaptureModeRelaxed", "hipStreamCaptureModeRelaxed", "numeric_literal"); + subst("cudaStreamCaptureModeThreadLocal", "hipStreamCaptureModeThreadLocal", "numeric_literal"); + subst("cudaStreamCaptureStatusActive", "hipStreamCaptureStatusActive", "numeric_literal"); + subst("cudaStreamCaptureStatusInvalidated", "hipStreamCaptureStatusInvalidated", "numeric_literal"); + subst("cudaStreamCaptureStatusNone", "hipStreamCaptureStatusNone", "numeric_literal"); + subst("cudaStreamSetCaptureDependencies", "hipStreamSetCaptureDependencies", "numeric_literal"); + subst("cudaSuccess", "hipSuccess", "numeric_literal"); + subst("CUDA_ARRAY3D_CUBEMAP", "hipArrayCubemap", "define"); + subst("CUDA_ARRAY3D_LAYERED", "hipArrayLayered", "define"); + subst("CUDA_ARRAY3D_SURFACE_LDST", "hipArraySurfaceLoadStore", "define"); + subst("CUDA_ARRAY3D_TEXTURE_GATHER", "hipArrayTextureGather", "define"); + subst("CUDA_COOPERATIVE_LAUNCH_MULTI_DEVICE_NO_POST_LAUNCH_SYNC", "hipCooperativeLaunchMultiDeviceNoPostSync", "define"); + subst("CUDA_COOPERATIVE_LAUNCH_MULTI_DEVICE_NO_PRE_LAUNCH_SYNC", "hipCooperativeLaunchMultiDeviceNoPreSync", "define"); + subst("CUDA_IPC_HANDLE_SIZE", "HIP_IPC_HANDLE_SIZE", "define"); + subst("CURAND_VERSION", "HIPRAND_VERSION", "define"); + subst("CU_DEVICE_CPU", "hipCpuDeviceId", "define"); + subst("CU_DEVICE_INVALID", "hipInvalidDeviceId", "define"); + subst("CU_IPC_HANDLE_SIZE", "HIP_IPC_HANDLE_SIZE", "define"); + subst("CU_LAUNCH_PARAM_BUFFER_POINTER", "HIP_LAUNCH_PARAM_BUFFER_POINTER", "define"); + subst("CU_LAUNCH_PARAM_BUFFER_SIZE", "HIP_LAUNCH_PARAM_BUFFER_SIZE", "define"); + subst("CU_LAUNCH_PARAM_END", "HIP_LAUNCH_PARAM_END", "define"); + subst("CU_MEMHOSTALLOC_DEVICEMAP", "hipHostMallocMapped", "define"); + subst("CU_MEMHOSTALLOC_PORTABLE", "hipHostMallocPortable", "define"); + subst("CU_MEMHOSTALLOC_WRITECOMBINED", "hipHostMallocWriteCombined", "define"); + subst("CU_MEMHOSTREGISTER_DEVICEMAP", "hipHostRegisterMapped", "define"); + subst("CU_MEMHOSTREGISTER_IOMEMORY", "hipHostRegisterIoMemory", "define"); + subst("CU_MEMHOSTREGISTER_PORTABLE", "hipHostRegisterPortable", "define"); + subst("CU_STREAM_PER_THREAD", "hipStreamPerThread", "define"); + subst("CU_TRSA_OVERRIDE_FORMAT", "HIP_TRSA_OVERRIDE_FORMAT", "define"); + subst("CU_TRSF_NORMALIZED_COORDINATES", "HIP_TRSF_NORMALIZED_COORDINATES", "define"); + subst("CU_TRSF_READ_AS_INTEGER", "HIP_TRSF_READ_AS_INTEGER", "define"); + subst("CU_TRSF_SRGB", "HIP_TRSF_SRGB", "define"); + subst("REGISTER_CUDA_OPERATOR", "REGISTER_HIP_OPERATOR", "define"); + subst("REGISTER_CUDA_OPERATOR_CREATOR", "REGISTER_HIP_OPERATOR_CREATOR", "define"); + subst("__CUDACC__", "__HIPCC__", "define"); + subst("cudaArrayCubemap", "hipArrayCubemap", "define"); + subst("cudaArrayDefault", "hipArrayDefault", "define"); + subst("cudaArrayLayered", "hipArrayLayered", "define"); + subst("cudaArraySurfaceLoadStore", "hipArraySurfaceLoadStore", "define"); + subst("cudaArrayTextureGather", "hipArrayTextureGather", "define"); + subst("cudaCooperativeLaunchMultiDeviceNoPostSync", "hipCooperativeLaunchMultiDeviceNoPostSync", "define"); + subst("cudaCooperativeLaunchMultiDeviceNoPreSync", "hipCooperativeLaunchMultiDeviceNoPreSync", "define"); + subst("cudaCpuDeviceId", "hipCpuDeviceId", "define"); + subst("cudaDeviceBlockingSync", "hipDeviceScheduleBlockingSync", "define"); + subst("cudaDeviceLmemResizeToMax", "hipDeviceLmemResizeToMax", "define"); + subst("cudaDeviceMapHost", "hipDeviceMapHost", "define"); + subst("cudaDeviceScheduleAuto", "hipDeviceScheduleAuto", "define"); + subst("cudaDeviceScheduleBlockingSync", "hipDeviceScheduleBlockingSync", "define"); + subst("cudaDeviceScheduleMask", "hipDeviceScheduleMask", "define"); + subst("cudaDeviceScheduleSpin", "hipDeviceScheduleSpin", "define"); + subst("cudaDeviceScheduleYield", "hipDeviceScheduleYield", "define"); + subst("cudaEventBlockingSync", "hipEventBlockingSync", "define"); + subst("cudaEventDefault", "hipEventDefault", "define"); + subst("cudaEventDisableTiming", "hipEventDisableTiming", "define"); + subst("cudaEventInterprocess", "hipEventInterprocess", "define"); + subst("cudaHostAllocDefault", "hipHostMallocDefault", "define"); + subst("cudaHostAllocMapped", "hipHostMallocMapped", "define"); + subst("cudaHostAllocPortable", "hipHostMallocPortable", "define"); + subst("cudaHostAllocWriteCombined", "hipHostMallocWriteCombined", "define"); + subst("cudaHostRegisterDefault", "hipHostRegisterDefault", "define"); + subst("cudaHostRegisterIoMemory", "hipHostRegisterIoMemory", "define"); + subst("cudaHostRegisterMapped", "hipHostRegisterMapped", "define"); + subst("cudaHostRegisterPortable", "hipHostRegisterPortable", "define"); + subst("cudaInvalidDeviceId", "hipInvalidDeviceId", "define"); + subst("cudaIpcMemLazyEnablePeerAccess", "hipIpcMemLazyEnablePeerAccess", "define"); + subst("cudaMemAttachGlobal", "hipMemAttachGlobal", "define"); + subst("cudaMemAttachHost", "hipMemAttachHost", "define"); + subst("cudaMemAttachSingle", "hipMemAttachSingle", "define"); + subst("cudaOccupancyDefault", "hipOccupancyDefault", "define"); + subst("cudaStreamDefault", "hipStreamDefault", "define"); + subst("cudaStreamNonBlocking", "hipStreamNonBlocking", "define"); + subst("cudaStreamPerThread", "hipStreamPerThread", "define"); + subst("cudaTextureType1D", "hipTextureType1D", "define"); + subst("cudaTextureType1DLayered", "hipTextureType1DLayered", "define"); + subst("cudaTextureType2D", "hipTextureType2D", "define"); + subst("cudaTextureType2DLayered", "hipTextureType2DLayered", "define"); + subst("cudaTextureType3D", "hipTextureType3D", "define"); + subst("cudaTextureTypeCubemap", "hipTextureTypeCubemap", "define"); + subst("cudaTextureTypeCubemapLayered", "hipTextureTypeCubemapLayered", "define"); } # CUDA Kernel Launch Syntax @@ -7766,7 +7789,9 @@ while (@ARGV) { my $warnings = 0; my %warningTags; my $lineCount = 0; + %tags = (); %convertedTags = (); + %tagsToConvertedTags = (); undef $/; # Read whole file at once, so we can match newlines while () { @@ -7810,12 +7835,6 @@ while (@ARGV) { simpleSubstitutions(); transformKernelLaunch(); transformCubNamespace(); - if ($print_stats) { - while (/(\b(hip|HIP|HIP_|hipblas|HIPBLAS_|hipcub|hipdnn|HIPDNN_|hipfft|HIPFFT_|hiprand|HIPRAND_|hiprtc|HIPRTC_|hipsparse|HIPSPARSE_)([A-Z])\w+\b)/g) { - $convertedTags{$1}++; - $convertedTagsTotal{$1}++; - } - } my $hasDeviceCode = $countKeywords + $ft{'device_function'}; unless ($quiet_warnings) { # Copy into array of lines, process line-by-line to show warnings diff --git a/src/CUDA2HIP_Perl.cpp b/src/CUDA2HIP_Perl.cpp index 2c3c2c21..cdc313de 100644 --- a/src/CUDA2HIP_Perl.cpp +++ b/src/CUDA2HIP_Perl.cpp @@ -101,6 +101,7 @@ namespace perl { const string sWarnUnsupportedDeviceFunctions = "warnUnsupportedDeviceFunctions"; const string sSimpleSubstitutions = "simpleSubstitutions"; const string sRocSubstitutions = "rocSubstitutions"; + const string sSubst = "subst"; const string sExperimentalSubstitutions = "experimentalSubstitutions"; const string sTansformKernelLaunch = "transformKernelLaunch"; const string sTransformCubNamespace = "transformCubNamespace"; @@ -199,6 +200,10 @@ namespace perl { *streamPtr.get() << my << "$hipFileName = \"\";" << endl; *streamPtr.get() << my << "%ft;" << endl; *streamPtr.get() << my << "%Tkernels;" << endl; + *streamPtr.get() << my << "%tags = ();" << endl; + *streamPtr.get() << my << "%tagsTotal = ();" << endl; + *streamPtr.get() << my << "%tagsToConvertedTags = ();" << endl; + *streamPtr.get() << my << "%tagsToConvertedTagsTotal = ();" << endl; *streamPtr.get() << my << "%convertedTags = ();" << endl; *streamPtr.get() << my << "%convertedTagsTotal = ();" << endl_2; *streamPtr.get() << "GetOptions(" << endl; @@ -268,8 +273,8 @@ namespace perl { *streamPtr.get() << "push(@exclude_dirlist, split(',', $exclude_dirs));" << endl; *streamPtr.get() << "push(@exclude_filelist, split(',', $exclude_files));" << endl_2; *streamPtr.get() << "# Turn exclude dirlist and exclude_filelist into hash maps" << endl; - *streamPtr.get() << "\%exclude_dirhash = map { $_ => 1 } @exclude_dirlist;" << endl; - *streamPtr.get() << "\%exclude_filehash = map { $_ => 1 } @exclude_filelist;" << endl_2; + *streamPtr.get() << "%exclude_dirhash = map { $_ => 1 } @exclude_dirlist;" << endl; + *streamPtr.get() << "%exclude_filehash = map { $_ => 1 } @exclude_filelist;" << endl_2; } void generateStatFunctions(unique_ptr &streamPtr) { @@ -292,12 +297,12 @@ namespace perl { *streamPtr.get() << tab << printf << "\" WARNINGS: $warnings\\n\";" << endl; *streamPtr.get() << tab << printf << "\"[HIPIFY] info: CONVERTED refs by names:\\n\";" << endl; *streamPtr.get() << tab << "if ($global) {" << endl; - *streamPtr.get() << tab_2 << foreach << my << "$key (sort keys %convertedTagsTotal) {" << endl; - *streamPtr.get() << tab_3 << printf << "\" %s %d\\n\", $key, $convertedTagsTotal{$key};" << endl; + *streamPtr.get() << tab_2 << foreach << my << "$key (sort keys %tagsToConvertedTagsTotal) {" << endl; + *streamPtr.get() << tab_3 << printf << "\" %s => %s: %d\\n\", $key, $tagsToConvertedTagsTotal{$key}, $convertedTagsTotal{$tagsToConvertedTagsTotal{$key}};" << endl; *streamPtr.get() << tab_2 << "}" << endl; *streamPtr.get() << tab << "} else {" << endl; - *streamPtr.get() << tab_2 << foreach << my << "$key (sort keys %convertedTags) { " << endl; - *streamPtr.get() << tab_3 << printf << "\" %s %d\\n\", $key, $convertedTags{$key};" << endl; + *streamPtr.get() << tab_2 << foreach << my << "$key (sort keys %tagsToConvertedTags) {" << endl; + *streamPtr.get() << tab_3 << printf << "\" %s => %s: %d\\n\", $key, $tagsToConvertedTags{$key}, $convertedTags{$tagsToConvertedTags{$key}};" << endl; *streamPtr.get() << tab_2 << "}" << endl; *streamPtr.get() << tab << "}" << endl; *streamPtr.get() << "}" << endl; @@ -310,6 +315,27 @@ namespace perl { } } + void generateSubstFunction(unique_ptr& streamPtr) { + *streamPtr.get() << endl << sub << sSubst << " {" << endl; + *streamPtr.get() << tab << my << "$a = shift();" << endl; + *streamPtr.get() << tab << my << "$b = shift();" << endl; + *streamPtr.get() << tab << my << "$t = shift();" << endl; + *streamPtr.get() << tab << my << "$i = \"\";" << endl; + *streamPtr.get() << tab << "if ($t eq \"include\" or $t eq \"include_cuda_main_header\")" << " {" << endl; + *streamPtr.get() << tab_2 << "$i = \"(?])\";" << endl; + *streamPtr.get() << tab << "}" << endl; + *streamPtr.get() << tab << "if (my $c += s/$i\\b$a/$b/g) {" << endl; + *streamPtr.get() << tab_2 << "$ft{$t} += $c;" << endl; + *streamPtr.get() << tab_2 << "$tags{$a} +=$c;" << endl; + *streamPtr.get() << tab_2 << "$tagsTotal{$a} +=$c;" << endl; + *streamPtr.get() << tab_2 << "$convertedTags{$b} +=$c;" << endl; + *streamPtr.get() << tab_2 << "$convertedTagsTotal{$b} +=$c;" << endl; + *streamPtr.get() << tab_2 << "$tagsToConvertedTags{$a} = $b;" << endl; + *streamPtr.get() << tab_2 << "$tagsToConvertedTagsTotal{$a} = $b;" << endl; + *streamPtr.get() << tab << "}" << endl; + *streamPtr.get() << "}" << endl; + } + void generateExperimentalSubstitutions(unique_ptr &streamPtr) { *streamPtr.get() << endl << sub << sExperimentalSubstitutions << " {" << endl; for (int i = 0; i < NUM_CONV_TYPES; ++i) { @@ -321,14 +347,14 @@ namespace perl { string sHIP = ma.second.hipName.str(); sCUDA = regex_replace(sCUDA, regex("/"), "\\/"); sHIP = regex_replace(sHIP, regex("/"), "\\/"); - *streamPtr.get() << tab << "$ft{'" << counterNames[ma.second.type] << "'} += s/\\b" << sCUDA << "\\b/" << sHIP << "/g;" << endl; + *streamPtr.get() << tab << "subst(\"" << sCUDA << "\", \"" << sHIP << "\", \"" << counterNames[ma.second.type] << "\");" << endl; } } } else { for (auto &ma : CUDA_RENAMES_MAP()) { if (!Statistics::isHipExperimental(ma.second)) continue; if (i == ma.second.type) { - *streamPtr.get() << tab << "$ft{'" << counterNames[ma.second.type] << "'} += s/\\b" << ma.first.str() << "\\b/" << ma.second.hipName.str() << "/g;" << endl; + *streamPtr.get() << tab << "subst(\"" << ma.first.str() << "\", \"" << ma.second.hipName.str() << "\", \"" << counterNames[ma.second.type] << "\");" << endl; } } } @@ -349,14 +375,14 @@ namespace perl { string sHIP = ma.second.rocName.str(); sCUDA = regex_replace(sCUDA, regex("/"), "\\/"); sHIP = regex_replace(sHIP, regex("/"), "\\/"); - *streamPtr.get() << tab << "$ft{'" << counterNames[ma.second.type] << "'} += s/(?])\\b" << sCUDA << "\\b/" << sHIP << "/g;" << endl; + *streamPtr.get() << tab << "subst(\"" << sCUDA << "\", \"" << sHIP << "\", \"" << counterNames[ma.second.type] << "\");" << endl; } } } else { for (auto &ma : CUDA_RENAMES_MAP()) { if (ma.second.apiType != API_BLAS || Statistics::isUnsupported(ma.second) || ma.second.rocName.empty()) continue; if (i == ma.second.type) { - *streamPtr.get() << tab << "$ft{'" << counterNames[ma.second.type] << "'} += s/\\b" << ma.first.str() << "\\b/" << ma.second.rocName.str() << "/g;" << endl; + *streamPtr.get() << tab << "subst(\"" << ma.first.str() << "\", \"" << ma.second.rocName.str() << "\", \"" << counterNames[ma.second.type] << "\");" << endl; } } } @@ -376,14 +402,14 @@ namespace perl { string sHIP = ma.second.hipName.str(); sCUDA = regex_replace(sCUDA, regex("/"), "\\/"); sHIP = regex_replace(sHIP, regex("/"), "\\/"); - *streamPtr.get() << tab << "$ft{'" << counterNames[ma.second.type] << "'} += s/(?])\\b" << sCUDA << "\\b/" << sHIP << "/g;" << endl; + *streamPtr.get() << tab << "subst(\"" << sCUDA << "\", \"" << sHIP << "\", \"" << counterNames[ma.second.type] << "\");" << endl; } } } else { for (auto &ma : CUDA_RENAMES_MAP()) { if (Statistics::isUnsupported(ma.second) || Statistics::isHipExperimental(ma.second)) continue; if (i == ma.second.type) { - *streamPtr.get() << tab << "$ft{'" << counterNames[ma.second.type] << "'} += s/\\b" << ma.first.str() << "\\b/" << ma.second.hipName.str() << "/g;" << endl; + *streamPtr.get() << tab << "subst(\"" << ma.first.str() << "\", \"" << ma.second.hipName.str() << "\", \"" << counterNames[ma.second.type] << "\");" << endl; } } } @@ -649,6 +675,7 @@ namespace perl { if (sConv.back() == ' ') sConv = sConv.substr(0, sConv.size() - 3) + ";"; *streamPtr.get() << "\"" << counterNames[NUM_CONV_TYPES - 1] << "\");" << endl; generateStatFunctions(streamPtr); + generateSubstFunction(streamPtr); generateExperimentalSubstitutions(streamPtr); generateRocSubstitutions(streamPtr); generateSimpleSubstitutions(streamPtr); @@ -710,7 +737,9 @@ namespace perl { *streamPtr.get() << tab_2 << my << "$warnings = 0;" << endl; *streamPtr.get() << tab_2 << my << "%warningTags;" << endl; *streamPtr.get() << tab_2 << my << "$lineCount = 0;" << endl; + *streamPtr.get() << tab_2 << "%tags = ();" << endl; *streamPtr.get() << tab_2 << "%convertedTags = ();" << endl; + *streamPtr.get() << tab_2 << "%tagsToConvertedTags = ();" << endl; *streamPtr.get() << tab_2 << "undef $/;" << endl; *streamPtr.get() << tab_2 << "# Read whole file at once, so we can match newlines" << endl; *streamPtr.get() << tab_2 << while_ << "() {" << endl; @@ -752,10 +781,6 @@ namespace perl { *streamPtr.get() << tab_3 << sSimpleSubstitutions << "();" << endl; *streamPtr.get() << tab_3 << sTansformKernelLaunch << "();" << endl; *streamPtr.get() << tab_3 << sTransformCubNamespace << "();" << endl; - *streamPtr.get() << tab_3 << "if ($print_stats) {" << endl; - *streamPtr.get() << tab_4 << while_ << "(/(\\b(hip|HIP|HIP_|hipblas|HIPBLAS_|hipcub|hipdnn|HIPDNN_|hipfft|HIPFFT_|hiprand|HIPRAND_|hiprtc|HIPRTC_|hipsparse|HIPSPARSE_)([A-Z])\\w+\\b)/g) {" << endl; - *streamPtr.get() << tab_5 << "$convertedTags{$1}++;" << endl; - *streamPtr.get() << tab_5 << "$convertedTagsTotal{$1}++;" << endl_tab_4 << "}" << endl_tab_3 << "}" << endl; *streamPtr.get() << tab_3 << my << "$hasDeviceCode = $countKeywords + $ft{'device_function'};" << endl; *streamPtr.get() << tab_3 << unless_ << "($quiet_warnings) {" << endl; *streamPtr.get() << tab_4 << "# Copy into array of lines, process line-by-line to show warnings" << endl;