diff --git a/bin/hipify-perl b/bin/hipify-perl index de19f4be..3a1b083f 100755 --- a/bin/hipify-perl +++ b/bin/hipify-perl @@ -2694,6 +2694,29 @@ sub rocSubstitutions { subst("cusparseZnnz", "rocsparse_znnz", "library"); subst("cusparseZnnz_compress", "rocsparse_znnz_compress", "library"); subst("cusparseZsctr", "rocsparse_zsctr", "library"); + subst("curand", "rocrand", "device_library"); + subst("curand_discrete", "rocrand_discrete", "device_library"); + subst("curand_discrete4", "rocrand_discrete4", "device_library"); + subst("curand_init", "rocrand_init", "device_library"); + subst("curand_log_normal", "rocrand_log_normal", "device_library"); + subst("curand_log_normal2", "rocrand_log_normal2", "device_library"); + subst("curand_log_normal2_double", "rocrand_log_normal_double2", "device_library"); + subst("curand_log_normal4", "rocrand_log_normal4", "device_library"); + subst("curand_log_normal4_double", "rocrand_log_normal_double4", "device_library"); + subst("curand_log_normal_double", "rocrand_log_normal_double", "device_library"); + subst("curand_normal", "rocrand_normal", "device_library"); + subst("curand_normal2", "rocrand_normal2", "device_library"); + subst("curand_normal2_double", "rocrand_normal_double2", "device_library"); + subst("curand_normal4", "rocrand_normal4", "device_library"); + subst("curand_normal4_double", "rocrand_normal_double4", "device_library"); + subst("curand_normal_double", "rocrand_normal_double", "device_library"); + subst("curand_poisson", "rocrand_poisson", "device_library"); + subst("curand_poisson4", "rocrand_poisson4", "device_library"); + subst("curand_uniform", "rocrand_uniform", "device_library"); + subst("curand_uniform2_double", "rocrand_uniform_double2", "device_library"); + subst("curand_uniform4", "rocrand_uniform4", "device_library"); + subst("curand_uniform4_double", "rocrand_uniform_double4", "device_library"); + subst("curand_uniform_double", "rocrand_uniform_double", "device_library"); subst("__half", "rocblas_half", "device_type"); subst("__nv_bfloat16", "rocblas_bfloat16", "device_type"); subst("cublas_api.h", "rocblas.h", "include"); diff --git a/docs/tables/CURAND_API_supported_by_HIP_and_ROC.md b/docs/tables/CURAND_API_supported_by_HIP_and_ROC.md index 8bae3a0e..9eca775c 100644 --- a/docs/tables/CURAND_API_supported_by_HIP_and_ROC.md +++ b/docs/tables/CURAND_API_supported_by_HIP_and_ROC.md @@ -138,33 +138,33 @@ |**CUDA**|**A**|**D**|**C**|**R**|**HIP**|**A**|**D**|**C**|**R**|**E**|**ROC**|**A**|**D**|**C**|**R**|**E**| |:--|:-:|:-:|:-:|:-:|:--|:-:|:-:|:-:|:-:|:-:|:--|:-:|:-:|:-:|:-:|:-:| |`__curand_umul`|11.5| | | | | | | | | | | | | | | | -|`curand`| | | | |`hiprand`|1.5.0| | | | | | | | | | | +|`curand`| | | | |`hiprand`|1.5.0| | | | |`rocrand`|1.5.0| | | | | |`curand_Philox4x32_10`| | | | | | | | | | | | | | | | | -|`curand_discrete`| | | | |`hiprand_discrete`|1.5.0| | | | | | | | | | | -|`curand_discrete4`| | | | |`hiprand_discrete4`|1.5.0| | | | | | | | | | | -|`curand_init`| | | | |`hiprand_init`|1.5.0| | | | | | | | | | | -|`curand_log_normal`| | | | |`hiprand_log_normal`|1.5.0| | | | | | | | | | | -|`curand_log_normal2`| | | | |`hiprand_log_normal2`|1.5.0| | | | | | | | | | | -|`curand_log_normal2_double`| | | | |`hiprand_log_normal2_double`|1.5.0| | | | | | | | | | | -|`curand_log_normal4`| | | | |`hiprand_log_normal4`|1.5.0| | | | | | | | | | | -|`curand_log_normal4_double`| | | | |`hiprand_log_normal4_double`|1.5.0| | | | | | | | | | | -|`curand_log_normal_double`| | | | |`hiprand_log_normal_double`|1.5.0| | | | | | | | | | | +|`curand_discrete`| | | | |`hiprand_discrete`|1.5.0| | | | |`rocrand_discrete`|1.5.0| | | | | +|`curand_discrete4`| | | | |`hiprand_discrete4`|1.5.0| | | | |`rocrand_discrete4`|1.5.0| | | | | +|`curand_init`| | | | |`hiprand_init`|1.5.0| | | | |`rocrand_init`|1.5.0| | | | | +|`curand_log_normal`| | | | |`hiprand_log_normal`|1.5.0| | | | |`rocrand_log_normal`|1.5.0| | | | | +|`curand_log_normal2`| | | | |`hiprand_log_normal2`|1.5.0| | | | |`rocrand_log_normal2`|1.5.0| | | | | +|`curand_log_normal2_double`| | | | |`hiprand_log_normal2_double`|1.5.0| | | | |`rocrand_log_normal_double2`|1.5.0| | | | | +|`curand_log_normal4`| | | | |`hiprand_log_normal4`|1.5.0| | | | |`rocrand_log_normal4`|1.5.0| | | | | +|`curand_log_normal4_double`| | | | |`hiprand_log_normal4_double`|1.5.0| | | | |`rocrand_log_normal_double4`|1.5.0| | | | | +|`curand_log_normal_double`| | | | |`hiprand_log_normal_double`|1.5.0| | | | |`rocrand_log_normal_double`|1.5.0| | | | | |`curand_mtgp32_single`| | | | | | | | | | | | | | | | | |`curand_mtgp32_single_specific`| | | | | | | | | | | | | | | | | |`curand_mtgp32_specific`| | | | | | | | | | | | | | | | | -|`curand_normal`| | | | |`hiprand_normal`|1.5.0| | | | | | | | | | | -|`curand_normal2`| | | | |`hiprand_normal2`|1.5.0| | | | | | | | | | | -|`curand_normal2_double`| | | | |`hiprand_normal2_double`|1.5.0| | | | | | | | | | | -|`curand_normal4`| | | | |`hiprand_normal4`|1.5.0| | | | | | | | | | | -|`curand_normal4_double`| | | | |`hiprand_normal4_double`|1.5.0| | | | | | | | | | | -|`curand_normal_double`| | | | |`hiprand_normal_double`|1.5.0| | | | | | | | | | | -|`curand_poisson`| | | | |`hiprand_poisson`|1.5.0| | | | | | | | | | | -|`curand_poisson4`| | | | |`hiprand_poisson4`|1.5.0| | | | | | | | | | | -|`curand_uniform`| | | | |`hiprand_uniform`|1.5.0| | | | | | | | | | | -|`curand_uniform2_double`| | | | |`hiprand_uniform2_double`|1.5.0| | | | | | | | | | | -|`curand_uniform4`| | | | |`hiprand_uniform4`|1.5.0| | | | | | | | | | | -|`curand_uniform4_double`| | | | |`hiprand_uniform4_double`|1.5.0| | | | | | | | | | | -|`curand_uniform_double`| | | | |`hiprand_uniform_double`|1.5.0| | | | | | | | | | | +|`curand_normal`| | | | |`hiprand_normal`|1.5.0| | | | |`rocrand_normal`|1.5.0| | | | | +|`curand_normal2`| | | | |`hiprand_normal2`|1.5.0| | | | |`rocrand_normal2`|1.5.0| | | | | +|`curand_normal2_double`| | | | |`hiprand_normal2_double`|1.5.0| | | | |`rocrand_normal_double2`|1.5.0| | | | | +|`curand_normal4`| | | | |`hiprand_normal4`|1.5.0| | | | |`rocrand_normal4`|1.5.0| | | | | +|`curand_normal4_double`| | | | |`hiprand_normal4_double`|1.5.0| | | | |`rocrand_normal_double4`|1.5.0| | | | | +|`curand_normal_double`| | | | |`hiprand_normal_double`|1.5.0| | | | |`rocrand_normal_double`|1.5.0| | | | | +|`curand_poisson`| | | | |`hiprand_poisson`|1.5.0| | | | |`rocrand_poisson`|1.5.0| | | | | +|`curand_poisson4`| | | | |`hiprand_poisson4`|1.5.0| | | | |`rocrand_poisson4`|1.5.0| | | | | +|`curand_uniform`| | | | |`hiprand_uniform`|1.5.0| | | | |`rocrand_uniform`|1.5.0| | | | | +|`curand_uniform2_double`| | | | |`hiprand_uniform2_double`|1.5.0| | | | |`rocrand_uniform_double2`|1.5.0| | | | | +|`curand_uniform4`| | | | |`hiprand_uniform4`|1.5.0| | | | |`rocrand_uniform4`|1.5.0| | | | | +|`curand_uniform4_double`| | | | |`hiprand_uniform4_double`|1.5.0| | | | |`rocrand_uniform_double4`|1.5.0| | | | | +|`curand_uniform_double`| | | | |`hiprand_uniform_double`|1.5.0| | | | |`rocrand_uniform_double`|1.5.0| | | | | \*A - Added; D - Deprecated; C - Changed; R - Removed; E - Experimental \ No newline at end of file diff --git a/docs/tables/CURAND_API_supported_by_ROC.md b/docs/tables/CURAND_API_supported_by_ROC.md index 5b63491c..13612cca 100644 --- a/docs/tables/CURAND_API_supported_by_ROC.md +++ b/docs/tables/CURAND_API_supported_by_ROC.md @@ -138,33 +138,33 @@ |**CUDA**|**A**|**D**|**C**|**R**|**ROC**|**A**|**D**|**C**|**R**|**E**| |:--|:-:|:-:|:-:|:-:|:--|:-:|:-:|:-:|:-:|:-:| |`__curand_umul`|11.5| | | | | | | | | | -|`curand`| | | | | | | | | | | +|`curand`| | | | |`rocrand`|1.5.0| | | | | |`curand_Philox4x32_10`| | | | | | | | | | | -|`curand_discrete`| | | | | | | | | | | -|`curand_discrete4`| | | | | | | | | | | -|`curand_init`| | | | | | | | | | | -|`curand_log_normal`| | | | | | | | | | | -|`curand_log_normal2`| | | | | | | | | | | -|`curand_log_normal2_double`| | | | | | | | | | | -|`curand_log_normal4`| | | | | | | | | | | -|`curand_log_normal4_double`| | | | | | | | | | | -|`curand_log_normal_double`| | | | | | | | | | | +|`curand_discrete`| | | | |`rocrand_discrete`|1.5.0| | | | | +|`curand_discrete4`| | | | |`rocrand_discrete4`|1.5.0| | | | | +|`curand_init`| | | | |`rocrand_init`|1.5.0| | | | | +|`curand_log_normal`| | | | |`rocrand_log_normal`|1.5.0| | | | | +|`curand_log_normal2`| | | | |`rocrand_log_normal2`|1.5.0| | | | | +|`curand_log_normal2_double`| | | | |`rocrand_log_normal_double2`|1.5.0| | | | | +|`curand_log_normal4`| | | | |`rocrand_log_normal4`|1.5.0| | | | | +|`curand_log_normal4_double`| | | | |`rocrand_log_normal_double4`|1.5.0| | | | | +|`curand_log_normal_double`| | | | |`rocrand_log_normal_double`|1.5.0| | | | | |`curand_mtgp32_single`| | | | | | | | | | | |`curand_mtgp32_single_specific`| | | | | | | | | | | |`curand_mtgp32_specific`| | | | | | | | | | | -|`curand_normal`| | | | | | | | | | | -|`curand_normal2`| | | | | | | | | | | -|`curand_normal2_double`| | | | | | | | | | | -|`curand_normal4`| | | | | | | | | | | -|`curand_normal4_double`| | | | | | | | | | | -|`curand_normal_double`| | | | | | | | | | | -|`curand_poisson`| | | | | | | | | | | -|`curand_poisson4`| | | | | | | | | | | -|`curand_uniform`| | | | | | | | | | | -|`curand_uniform2_double`| | | | | | | | | | | -|`curand_uniform4`| | | | | | | | | | | -|`curand_uniform4_double`| | | | | | | | | | | -|`curand_uniform_double`| | | | | | | | | | | +|`curand_normal`| | | | |`rocrand_normal`|1.5.0| | | | | +|`curand_normal2`| | | | |`rocrand_normal2`|1.5.0| | | | | +|`curand_normal2_double`| | | | |`rocrand_normal_double2`|1.5.0| | | | | +|`curand_normal4`| | | | |`rocrand_normal4`|1.5.0| | | | | +|`curand_normal4_double`| | | | |`rocrand_normal_double4`|1.5.0| | | | | +|`curand_normal_double`| | | | |`rocrand_normal_double`|1.5.0| | | | | +|`curand_poisson`| | | | |`rocrand_poisson`|1.5.0| | | | | +|`curand_poisson4`| | | | |`rocrand_poisson4`|1.5.0| | | | | +|`curand_uniform`| | | | |`rocrand_uniform`|1.5.0| | | | | +|`curand_uniform2_double`| | | | |`rocrand_uniform_double2`|1.5.0| | | | | +|`curand_uniform4`| | | | |`rocrand_uniform4`|1.5.0| | | | | +|`curand_uniform4_double`| | | | |`rocrand_uniform_double4`|1.5.0| | | | | +|`curand_uniform_double`| | | | |`rocrand_uniform_double`|1.5.0| | | | | \*A - Added; D - Deprecated; C - Changed; R - Removed; E - Experimental \ No newline at end of file diff --git a/src/CUDA2HIP_RAND_API_functions.cpp b/src/CUDA2HIP_RAND_API_functions.cpp index ea6d1002..95599386 100644 --- a/src/CUDA2HIP_RAND_API_functions.cpp +++ b/src/CUDA2HIP_RAND_API_functions.cpp @@ -55,34 +55,34 @@ const std::map CUDA_RAND_FUNCTION_MAP { {"curandMakeMTGP32KernelState", {"hiprandMakeMTGP32KernelState", "rocrand_make_state_mtgp32", CONV_LIB_FUNC, API_RAND, 2}}, // RAND Device functions - {"curand", {"hiprand", "", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, - {"curand_init", {"hiprand_init", "", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, - {"curand_log_normal", {"hiprand_log_normal", "", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, - {"curand_log_normal_double", {"hiprand_log_normal_double", "", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, - {"curand_log_normal2", {"hiprand_log_normal2", "", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, - {"curand_log_normal2_double", {"hiprand_log_normal2_double", "", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, - {"curand_log_normal4", {"hiprand_log_normal4", "", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, - {"curand_log_normal4_double", {"hiprand_log_normal4_double", "", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, - {"curand_mtgp32_single", {"hiprand_mtgp32_single", "", CONV_LIB_DEVICE_FUNC, API_RAND, 3, HIP_UNSUPPORTED}}, - {"curand_mtgp32_single_specific", {"hiprand_mtgp32_single_specific", "", CONV_LIB_DEVICE_FUNC, API_RAND, 3, HIP_UNSUPPORTED}}, - {"curand_mtgp32_specific", {"hiprand_mtgp32_specific", "", CONV_LIB_DEVICE_FUNC, API_RAND, 3, HIP_UNSUPPORTED}}, - {"curand_normal", {"hiprand_normal", "", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, - {"curand_normal_double", {"hiprand_normal_double", "", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, - {"curand_normal2", {"hiprand_normal2", "", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, - {"curand_normal2_double", {"hiprand_normal2_double", "", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, - {"curand_normal4", {"hiprand_normal4", "", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, - {"curand_normal4_double", {"hiprand_normal4_double", "", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, - {"curand_uniform", {"hiprand_uniform", "", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, - {"curand_uniform_double", {"hiprand_uniform_double", "", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, - {"curand_uniform2_double", {"hiprand_uniform2_double", "", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, - {"curand_uniform4", {"hiprand_uniform4", "", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, - {"curand_uniform4_double", {"hiprand_uniform4_double", "", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, - {"curand_discrete", {"hiprand_discrete", "", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, - {"curand_discrete4", {"hiprand_discrete4", "", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, - {"curand_poisson", {"hiprand_poisson", "", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, - {"curand_poisson4", {"hiprand_poisson4", "", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, - {"curand_Philox4x32_10", {"hiprand_Philox4x32_10", "", CONV_LIB_DEVICE_FUNC, API_RAND, 3, HIP_UNSUPPORTED}}, - {"__curand_umul", {"__hiprand_umul", "", CONV_LIB_DEVICE_FUNC, API_RAND, 3, HIP_UNSUPPORTED}}, + {"curand", {"hiprand", "rocrand", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, + {"curand_init", {"hiprand_init", "rocrand_init", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, + {"curand_log_normal", {"hiprand_log_normal", "rocrand_log_normal", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, + {"curand_log_normal_double", {"hiprand_log_normal_double", "rocrand_log_normal_double", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, + {"curand_log_normal2", {"hiprand_log_normal2", "rocrand_log_normal2", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, + {"curand_log_normal2_double", {"hiprand_log_normal2_double", "rocrand_log_normal_double2", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, + {"curand_log_normal4", {"hiprand_log_normal4", "rocrand_log_normal4", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, + {"curand_log_normal4_double", {"hiprand_log_normal4_double", "rocrand_log_normal_double4", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, + {"curand_mtgp32_single", {"hiprand_mtgp32_single", "", CONV_LIB_DEVICE_FUNC, API_RAND, 3, UNSUPPORTED}}, + {"curand_mtgp32_single_specific", {"hiprand_mtgp32_single_specific", "", CONV_LIB_DEVICE_FUNC, API_RAND, 3, UNSUPPORTED}}, + {"curand_mtgp32_specific", {"hiprand_mtgp32_specific", "", CONV_LIB_DEVICE_FUNC, API_RAND, 3, UNSUPPORTED}}, + {"curand_normal", {"hiprand_normal", "rocrand_normal", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, + {"curand_normal_double", {"hiprand_normal_double", "rocrand_normal_double", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, + {"curand_normal2", {"hiprand_normal2", "rocrand_normal2", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, + {"curand_normal2_double", {"hiprand_normal2_double", "rocrand_normal_double2", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, + {"curand_normal4", {"hiprand_normal4", "rocrand_normal4", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, + {"curand_normal4_double", {"hiprand_normal4_double", "rocrand_normal_double4", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, + {"curand_uniform", {"hiprand_uniform", "rocrand_uniform", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, + {"curand_uniform_double", {"hiprand_uniform_double", "rocrand_uniform_double", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, + {"curand_uniform2_double", {"hiprand_uniform2_double", "rocrand_uniform_double2", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, + {"curand_uniform4", {"hiprand_uniform4", "rocrand_uniform4", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, + {"curand_uniform4_double", {"hiprand_uniform4_double", "rocrand_uniform_double4", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, + {"curand_discrete", {"hiprand_discrete", "rocrand_discrete", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, + {"curand_discrete4", {"hiprand_discrete4", "rocrand_discrete4", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, + {"curand_poisson", {"hiprand_poisson", "rocrand_poisson", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, + {"curand_poisson4", {"hiprand_poisson4", "rocrand_poisson4", CONV_LIB_DEVICE_FUNC, API_RAND, 3}}, + {"curand_Philox4x32_10", {"hiprand_Philox4x32_10", "", CONV_LIB_DEVICE_FUNC, API_RAND, 3, UNSUPPORTED}}, + {"__curand_umul", {"__hiprand_umul", "", CONV_LIB_DEVICE_FUNC, API_RAND, 3, UNSUPPORTED}}, // unchanged function names: skipahead, skipahead_sequence, skipahead_subsequence }; @@ -170,6 +170,29 @@ const std::map HIP_RAND_FUNCTION_VER_MAP { {"rocrand_destroy_discrete_distribution", {HIP_1050, HIP_0, HIP_0, }}, {"rocrand_make_constant", {HIP_1050, HIP_0, HIP_0, }}, {"rocrand_make_state_mtgp32", {HIP_1050, HIP_0, HIP_0, }}, + {"rocrand", {HIP_1050, HIP_0, HIP_0, }}, + {"rocrand_init", {HIP_1050, HIP_0, HIP_0, }}, + {"rocrand_log_normal", {HIP_1050, HIP_0, HIP_0, }}, + {"rocrand_log_normal_double", {HIP_1050, HIP_0, HIP_0, }}, + {"rocrand_log_normal2", {HIP_1050, HIP_0, HIP_0, }}, + {"rocrand_log_normal_double2", {HIP_1050, HIP_0, HIP_0, }}, + {"rocrand_log_normal4", {HIP_1050, HIP_0, HIP_0, }}, + {"rocrand_log_normal_double4", {HIP_1050, HIP_0, HIP_0, }}, + {"rocrand_normal", {HIP_1050, HIP_0, HIP_0, }}, + {"rocrand_normal_double", {HIP_1050, HIP_0, HIP_0, }}, + {"rocrand_normal2", {HIP_1050, HIP_0, HIP_0, }}, + {"rocrand_normal_double2", {HIP_1050, HIP_0, HIP_0, }}, + {"rocrand_normal4", {HIP_1050, HIP_0, HIP_0, }}, + {"rocrand_normal_double4", {HIP_1050, HIP_0, HIP_0, }}, + {"rocrand_uniform", {HIP_1050, HIP_0, HIP_0, }}, + {"rocrand_uniform_double", {HIP_1050, HIP_0, HIP_0, }}, + {"rocrand_uniform_double2", {HIP_1050, HIP_0, HIP_0, }}, + {"rocrand_uniform4", {HIP_1050, HIP_0, HIP_0, }}, + {"rocrand_uniform_double4", {HIP_1050, HIP_0, HIP_0, }}, + {"rocrand_discrete", {HIP_1050, HIP_0, HIP_0, }}, + {"rocrand_discrete4", {HIP_1050, HIP_0, HIP_0, }}, + {"rocrand_poisson", {HIP_1050, HIP_0, HIP_0, }}, + {"rocrand_poisson4", {HIP_1050, HIP_0, HIP_0, }}, }; const std::map CUDA_RAND_API_SECTION_MAP {