From c0b08824a0035fa85b47c9dfcf80d7ce5d3487a3 Mon Sep 17 00:00:00 2001 From: Evgeny Mankov Date: Mon, 30 Dec 2024 20:45:38 +0100 Subject: [PATCH] [HIPIFY] Formatting --- src/CUDA2HIP.cpp | 90 +++--- src/CUDA2HIP_BLAS_API_functions.cpp | 405 ++++++++++++------------- src/CUDA2HIP_BLAS_API_types.cpp | 2 +- src/CUDA2HIP_CAFFE2_API_types.cpp | 1 - src/CUDA2HIP_DNN_API_functions.cpp | 1 - src/CUDA2HIP_Driver_API_functions.cpp | 20 +- src/CUDA2HIP_Driver_API_types.cpp | 10 +- src/CUDA2HIP_FFT_API_types.cpp | 1 - src/CUDA2HIP_RAND_API_functions.cpp | 204 ++++++------- src/CUDA2HIP_RAND_API_types.cpp | 240 +++++++-------- src/CUDA2HIP_Runtime_API_functions.cpp | 20 +- src/CUDA2HIP_Runtime_API_types.cpp | 41 ++- src/CUDA2HIP_SOLVER_API_functions.cpp | 26 +- src/CUDA2HIP_SOLVER_API_types.cpp | 18 +- src/StringUtils.cpp | 1 - 15 files changed, 537 insertions(+), 543 deletions(-) diff --git a/src/CUDA2HIP.cpp b/src/CUDA2HIP.cpp index 85e09176..75e72e22 100644 --- a/src/CUDA2HIP.cpp +++ b/src/CUDA2HIP.cpp @@ -25,29 +25,29 @@ THE SOFTWARE. // Maps CUDA header names to HIP header names const std::map CUDA_INCLUDE_MAP { // CUDA includes - {"cuda.h", {"hip/hip_runtime.h", "", CONV_INCLUDE_CUDA_MAIN_H, API_DRIVER, 0}}, - {"cuda_runtime.h", {"hip/hip_runtime.h", "", CONV_INCLUDE_CUDA_MAIN_H, API_RUNTIME, 0}}, - {"device_launch_parameters.h", {"", "", CONV_INCLUDE, API_RUNTIME, 0}}, - {"cuda_runtime_api.h", {"hip/hip_runtime_api.h", "", CONV_INCLUDE, API_RUNTIME, 0}}, - {"channel_descriptor.h", {"hip/channel_descriptor.h", "", CONV_INCLUDE, API_RUNTIME, 0}}, - {"device_functions.h", {"hip/device_functions.h", "", CONV_INCLUDE, API_RUNTIME, 0}}, - {"driver_types.h", {"hip/driver_types.h", "", CONV_INCLUDE, API_RUNTIME, 0}}, - {"cuda_fp16.h", {"hip/hip_fp16.h", "", CONV_INCLUDE, API_RUNTIME, 0}}, - {"cuda_fp8.h", {"hip/hip_fp8.h", "", CONV_INCLUDE, API_RUNTIME, 0}}, - {"cuda_texture_types.h", {"hip/hip_texture_types.h", "", CONV_INCLUDE, API_RUNTIME, 0}}, - {"texture_fetch_functions.h", {"", "", CONV_INCLUDE, API_RUNTIME, 0}}, - {"vector_types.h", {"hip/hip_vector_types.h", "", CONV_INCLUDE, API_RUNTIME, 0}}, - {"cuda_profiler_api.h", {"hip/hip_runtime_api.h", "", CONV_INCLUDE, API_RUNTIME, 0}}, - {"cooperative_groups.h", {"hip/hip_cooperative_groups.h", "", CONV_INCLUDE, API_RUNTIME, 0}}, - {"library_types.h", {"hip/library_types.h", "", CONV_INCLUDE, API_RUNTIME, 0}}, - {"math_constants.h", {"hip/hip_math_constants.h", "", CONV_INCLUDE, API_RUNTIME, 0}}, + {"cuda.h", {"hip/hip_runtime.h", "", CONV_INCLUDE_CUDA_MAIN_H, API_DRIVER, 0}}, + {"cuda_runtime.h", {"hip/hip_runtime.h", "", CONV_INCLUDE_CUDA_MAIN_H, API_RUNTIME, 0}}, + {"device_launch_parameters.h", {"", "", CONV_INCLUDE, API_RUNTIME, 0}}, + {"cuda_runtime_api.h", {"hip/hip_runtime_api.h", "", CONV_INCLUDE, API_RUNTIME, 0}}, + {"channel_descriptor.h", {"hip/channel_descriptor.h", "", CONV_INCLUDE, API_RUNTIME, 0}}, + {"device_functions.h", {"hip/device_functions.h", "", CONV_INCLUDE, API_RUNTIME, 0}}, + {"driver_types.h", {"hip/driver_types.h", "", CONV_INCLUDE, API_RUNTIME, 0}}, + {"cuda_fp16.h", {"hip/hip_fp16.h", "", CONV_INCLUDE, API_RUNTIME, 0}}, + {"cuda_fp8.h", {"hip/hip_fp8.h", "", CONV_INCLUDE, API_RUNTIME, 0}}, + {"cuda_texture_types.h", {"hip/hip_texture_types.h", "", CONV_INCLUDE, API_RUNTIME, 0}}, + {"texture_fetch_functions.h", {"", "", CONV_INCLUDE, API_RUNTIME, 0}}, + {"vector_types.h", {"hip/hip_vector_types.h", "", CONV_INCLUDE, API_RUNTIME, 0}}, + {"cuda_profiler_api.h", {"hip/hip_runtime_api.h", "", CONV_INCLUDE, API_RUNTIME, 0}}, + {"cooperative_groups.h", {"hip/hip_cooperative_groups.h", "", CONV_INCLUDE, API_RUNTIME, 0}}, + {"library_types.h", {"hip/library_types.h", "", CONV_INCLUDE, API_RUNTIME, 0}}, + {"math_constants.h", {"hip/hip_math_constants.h", "", CONV_INCLUDE, API_RUNTIME, 0}}, // cuComplex includes - {"cuComplex.h", {"hip/hip_complex.h", "", CONV_INCLUDE_CUDA_MAIN_H, API_COMPLEX, 0}}, + {"cuComplex.h", {"hip/hip_complex.h", "", CONV_INCLUDE_CUDA_MAIN_H, API_COMPLEX, 0}}, // cuBLAS includes - {"cublas.h", {"hipblas.h", "rocblas.h", CONV_INCLUDE_CUDA_MAIN_H, API_BLAS, 0}}, - {"cublas_v2.h", {"hipblas.h", "rocblas.h", CONV_INCLUDE_CUDA_MAIN_V2_H, API_BLAS, 0}}, - {"cublas_api.h", {"hipblas.h", "rocblas.h", CONV_INCLUDE, API_BLAS, 0}}, - {"cublasLt.h", {"hipblaslt.h", "", CONV_INCLUDE, API_BLAS, 0}}, + {"cublas.h", {"hipblas.h", "rocblas.h", CONV_INCLUDE_CUDA_MAIN_H, API_BLAS, 0}}, + {"cublas_v2.h", {"hipblas.h", "rocblas.h", CONV_INCLUDE_CUDA_MAIN_V2_H, API_BLAS, 0}}, + {"cublas_api.h", {"hipblas.h", "rocblas.h", CONV_INCLUDE, API_BLAS, 0}}, + {"cublasLt.h", {"hipblaslt.h", "", CONV_INCLUDE, API_BLAS, 0}}, // cuRAND includes {"curand.h", {"hiprand/hiprand.h", "rocrand/rocrand.h", CONV_INCLUDE_CUDA_MAIN_H, API_RAND, 0}}, {"curand_kernel.h", {"hiprand/hiprand_kernel.h", "rocrand/rocrand_kernel.h", CONV_INCLUDE, API_RAND, 0}}, @@ -67,36 +67,36 @@ const std::map CUDA_INCLUDE_MAP { {"curand_precalc.h", {"hiprand/hiprand_kernel.h", "rocrand/rocrand_xorwow_precomputed.h", CONV_INCLUDE, API_RAND, 0}}, {"curand_uniform.h", {"hiprand/hiprand_kernel.h", "rocrand/rocrand_uniform.h", CONV_INCLUDE, API_RAND, 0}}, // cuDNN includes - {"cudnn.h", {"hipDNN.h", "miopen/miopen.h", CONV_INCLUDE_CUDA_MAIN_H, API_DNN, 0}}, + {"cudnn.h", {"hipDNN.h", "miopen/miopen.h", CONV_INCLUDE_CUDA_MAIN_H, API_DNN, 0}}, // cuTensor includes - {"cutensor.h", {"hiptensor.h", "", CONV_INCLUDE_CUDA_MAIN_H, API_TENSOR, 0}}, - {"cutensorMg.h", {"hiptensor.h", "", CONV_INCLUDE, API_TENSOR, 0}}, + {"cutensor.h", {"hiptensor.h", "", CONV_INCLUDE_CUDA_MAIN_H, API_TENSOR, 0}}, + {"cutensorMg.h", {"hiptensor.h", "", CONV_INCLUDE, API_TENSOR, 0}}, // cuFFT includes - {"cufft.h", {"hipfft/hipfft.h", "", CONV_INCLUDE_CUDA_MAIN_H, API_FFT, 0}}, - {"cufftXt.h", {"hipfft/hipfftXt.h", "", CONV_INCLUDE, API_FFT, 0}}, + {"cufft.h", {"hipfft/hipfft.h", "", CONV_INCLUDE_CUDA_MAIN_H, API_FFT, 0}}, + {"cufftXt.h", {"hipfft/hipfftXt.h", "", CONV_INCLUDE, API_FFT, 0}}, // cuSPARSE includes - {"cusparse.h", {"hipsparse.h", "rocsparse.h", CONV_INCLUDE_CUDA_MAIN_H, API_SPARSE, 0}}, - {"cusparse_v2.h", {"hipsparse.h", "rocsparse.h", CONV_INCLUDE_CUDA_MAIN_V2_H, API_SPARSE, 0}}, + {"cusparse.h", {"hipsparse.h", "rocsparse.h", CONV_INCLUDE_CUDA_MAIN_H, API_SPARSE, 0}}, + {"cusparse_v2.h", {"hipsparse.h", "rocsparse.h", CONV_INCLUDE_CUDA_MAIN_V2_H, API_SPARSE, 0}}, // cuSOLVER includes - {"cusolverDn.h", {"hipsolver.h", "rocsolver/rocsolver.h", CONV_INCLUDE_CUDA_MAIN_H, API_SOLVER, 0}}, - {"cusolverMg.h", {"hipsolver.h", "rocsolver/rocsolver.h", CONV_INCLUDE_CUDA_MAIN_H, API_SOLVER, 0}}, - {"cusolverRf.h", {"hipsolver.h", "rocsolver/rocsolver.h", CONV_INCLUDE_CUDA_MAIN_H, API_SOLVER, 0}}, - {"cusolverSp.h", {"hipsolver.h", "rocsolver/rocsolver.h", CONV_INCLUDE_CUDA_MAIN_H, API_SOLVER, 0}}, - {"cusolverSp_LOWLEVEL_PREVIEW.h", {"hipsolver.h", "rocsolver/rocsolver.h", CONV_INCLUDE_CUDA_MAIN_H, API_SOLVER, 0}}, - {"cusolver_common.h", {"hipsolver.h", "rocsolver/rocsolver.h", CONV_INCLUDE_CUDA_MAIN_H, API_SOLVER, 0}}, + {"cusolverDn.h", {"hipsolver.h", "rocsolver/rocsolver.h", CONV_INCLUDE_CUDA_MAIN_H, API_SOLVER, 0}}, + {"cusolverMg.h", {"hipsolver.h", "rocsolver/rocsolver.h", CONV_INCLUDE_CUDA_MAIN_H, API_SOLVER, 0}}, + {"cusolverRf.h", {"hipsolver.h", "rocsolver/rocsolver.h", CONV_INCLUDE_CUDA_MAIN_H, API_SOLVER, 0}}, + {"cusolverSp.h", {"hipsolver.h", "rocsolver/rocsolver.h", CONV_INCLUDE_CUDA_MAIN_H, API_SOLVER, 0}}, + {"cusolverSp_LOWLEVEL_PREVIEW.h", {"hipsolver.h", "rocsolver/rocsolver.h", CONV_INCLUDE_CUDA_MAIN_H, API_SOLVER, 0}}, + {"cusolver_common.h", {"hipsolver.h", "rocsolver/rocsolver.h", CONV_INCLUDE_CUDA_MAIN_H, API_SOLVER, 0}}, // CUB includes - {"cub/cub.cuh", {"hipcub/hipcub.hpp", "", CONV_INCLUDE_CUDA_MAIN_H, API_CUB, 0}}, + {"cub/cub.cuh", {"hipcub/hipcub.hpp", "", CONV_INCLUDE_CUDA_MAIN_H, API_CUB, 0}}, // CAFFE2 includes - {"caffe2/core/common_gpu.h", {"caffe2/core/hip/common_gpu.h", "", CONV_INCLUDE, API_CAFFE2, 0, UNSUPPORTED}}, - {"caffe2/core/context_gpu.h", {"caffe2/core/hip/context_gpu.h", "", CONV_INCLUDE, API_CAFFE2, 0, UNSUPPORTED}}, - {"caffe2/operators/operator_fallback_gpu.h", {"", "", CONV_INCLUDE, API_CAFFE2, 0, UNSUPPORTED}}, - {"caffe2/operators/spatial_batch_norm_op.h", {"caffe2/operators/hip/spatial_batch_norm_op_miopen.hip", "", CONV_INCLUDE, API_CAFFE2, 0}}, - {"caffe2/operators/generate_proposals_op_util_nms_gpu.h", {"", "", CONV_INCLUDE, API_CAFFE2, 0, UNSUPPORTED}}, - {"caffe2/operators/max_pool_with_index_gpu.h", {"", "", CONV_INCLUDE, API_CAFFE2, 0, UNSUPPORTED}}, - {"caffe2/operators/rnn/recurrent_network_executor_gpu.h", {"", "", CONV_INCLUDE, API_CAFFE2, 0, UNSUPPORTED}}, - {"caffe2/utils/math/reduce.cuh", {"caffe2/utils/math/hip/reduce.cuh", "", CONV_INCLUDE, API_CAFFE2, 0, UNSUPPORTED}}, - {"caffe2/operators/gather_op.cuh", {"caffe2/operators/math/gather_op.cuh", "", CONV_INCLUDE, API_CAFFE2, 0, UNSUPPORTED}}, - {"caffe2/core/common_cudnn.h", {"caffe2/core/hip/common_miopen.h", "", CONV_INCLUDE, API_CAFFE2, 0}}, + {"caffe2/core/common_gpu.h", {"caffe2/core/hip/common_gpu.h", "", CONV_INCLUDE, API_CAFFE2, 0, UNSUPPORTED}}, + {"caffe2/core/context_gpu.h", {"caffe2/core/hip/context_gpu.h", "", CONV_INCLUDE, API_CAFFE2, 0, UNSUPPORTED}}, + {"caffe2/operators/operator_fallback_gpu.h", {"", "", CONV_INCLUDE, API_CAFFE2, 0, UNSUPPORTED}}, + {"caffe2/operators/spatial_batch_norm_op.h", {"caffe2/operators/hip/spatial_batch_norm_op_miopen.hip", "", CONV_INCLUDE, API_CAFFE2, 0}}, + {"caffe2/operators/generate_proposals_op_util_nms_gpu.h", {"", "", CONV_INCLUDE, API_CAFFE2, 0, UNSUPPORTED}}, + {"caffe2/operators/max_pool_with_index_gpu.h", {"", "", CONV_INCLUDE, API_CAFFE2, 0, UNSUPPORTED}}, + {"caffe2/operators/rnn/recurrent_network_executor_gpu.h", {"", "", CONV_INCLUDE, API_CAFFE2, 0, UNSUPPORTED}}, + {"caffe2/utils/math/reduce.cuh", {"caffe2/utils/math/hip/reduce.cuh", "", CONV_INCLUDE, API_CAFFE2, 0, UNSUPPORTED}}, + {"caffe2/operators/gather_op.cuh", {"caffe2/operators/math/gather_op.cuh", "", CONV_INCLUDE, API_CAFFE2, 0, UNSUPPORTED}}, + {"caffe2/core/common_cudnn.h", {"caffe2/core/hip/common_miopen.h", "", CONV_INCLUDE, API_CAFFE2, 0}}, // RTC includes {"nvrtc.h", {"hiprtc.h", "", CONV_INCLUDE_CUDA_MAIN_H, API_RTC, 0}}, }; diff --git a/src/CUDA2HIP_BLAS_API_functions.cpp b/src/CUDA2HIP_BLAS_API_functions.cpp index d7cc90bb..537a535a 100644 --- a/src/CUDA2HIP_BLAS_API_functions.cpp +++ b/src/CUDA2HIP_BLAS_API_functions.cpp @@ -26,7 +26,6 @@ using SEC = blas::BLAS_API_SECTIONS; // Map of all functions const std::map CUDA_BLAS_FUNCTION_MAP { - // Blas management functions {"cublasInit", {"hipblasInit", "rocblas_initialize", CONV_LIB_FUNC, API_BLAS, SEC::BLAS_HELPER, HIP_UNSUPPORTED}}, {"cublasShutdown", {"hipblasShutdown", "", CONV_LIB_FUNC, API_BLAS, SEC::BLAS_HELPER, UNSUPPORTED}}, @@ -1933,158 +1932,158 @@ const std::map HIP_BLAS_FUNCTION_VER_MAP { {"hipblasLtMatmulPreferenceSetAttribute", {HIP_5050, HIP_0, HIP_0 }}, {"hipblasLtMatmulPreferenceGetAttribute", {HIP_5050, HIP_0, HIP_0 }}, {"hipblasLtMatmulAlgoGetHeuristic", {HIP_5050, HIP_0, HIP_0 }}, - {"hipblasSgbmv_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasDgbmv_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasCgbmv_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasZgbmv_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasSgemv_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasDgemv_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasCgemv_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasZgemv_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasSgemvBatched_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasDgemvBatched_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasCgemvBatched_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasZgemvBatched_v2_64", {HIP_6020, HIP_0, HIP_0, }}, + {"hipblasSgbmv_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasDgbmv_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasCgbmv_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasZgbmv_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasSgemv_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasDgemv_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasCgemv_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasZgemv_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasSgemvBatched_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasDgemvBatched_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasCgemvBatched_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasZgemvBatched_v2_64", {HIP_6020, HIP_0, HIP_0 }}, {"hipblasSgemvStridedBatched", {HIP_3000, HIP_0, HIP_0 }}, {"hipblasDgemvStridedBatched", {HIP_3000, HIP_0, HIP_0 }}, {"hipblasSgemvBatched", {HIP_1060, HIP_0, HIP_0 }}, {"hipblasDgemvBatched", {HIP_3000, HIP_0, HIP_0 }}, - {"hipblasSgemvStridedBatched_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasDgemvStridedBatched_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasCgemvStridedBatched_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasZgemvStridedBatched_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasSger_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasDger_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasCgeru_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasCgerc_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasZgeru_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasZgerc_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasChbmv_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasZhbmv_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasChemv_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasZhemv_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasCher_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasZher_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasCher2_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasZher2_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasChpmv_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasZhpmv_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasChpr_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasZhpr_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasChpr2_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasZhpr2_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasSsbmv_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasDsbmv_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasSspmv_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasDspmv_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasSspr_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasDspr_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasSspr2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasDspr2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasSsymv_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasDsymv_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasCsymv_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasZsymv_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasSsyr_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasDsyr_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasCsyr_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasZsyr_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasSsyr2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasDsyr2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasCsyr2_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasZsyr2_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasStbmv_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasDtbmv_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasCtbmv_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasZtbmv_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasStbsv_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasDtbsv_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasCtbsv_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasZtbsv_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasStpmv_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasDtpmv_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasCtpmv_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasZtpmv_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasStpsv_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasDtpsv_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasCtpsv_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasZtpsv_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasStrmv_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasDtrmv_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasCtrmv_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasZtrmv_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasStrsv_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasDtrsv_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasCtrsv_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasZtrsv_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasAxpyEx_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasDotEx_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasDotcEx_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasNrm2Ex_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasRotEx_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasScalEx_v2_64", {HIP_6020, HIP_0, HIP_0, }}, - {"hipblasHgemm_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasSgemm_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasDgemm_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasCgemm_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasZgemm_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasHgemmBatched_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasSgemmBatched_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasDgemmBatched_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasCgemmBatched_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasZgemmBatched_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasHgemmStridedBatched_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasSgemmStridedBatched_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasDgemmStridedBatched_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasCgemmStridedBatched_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasZgemmStridedBatched_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasCherk_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasZherk_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasCherkx_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasZherkx_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasCher2k_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasZher2k_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasSsymm_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasDsymm_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasCsymm_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasZsymm_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasSsyrk_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasDsyrk_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasCsyrk_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasZsyrk_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasSsyr2k_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasDsyr2k_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasCsyr2k_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasZsyr2k_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasSsyrkx_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasDsyrkx_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasCsyrkx_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasZsyrkx_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasSgeam_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasDgeam_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasCgeam_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasZgeam_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasChemm_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasZhemm_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasStrmm_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasDtrmm_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasCtrmm_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasZtrmm_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasStrsm_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasDtrsm_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasCtrsm_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasZtrsm_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasStrsmBatched_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasDtrsmBatched_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasCtrsmBatched_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasZtrsmBatched_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasSdgmm_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasDdgmm_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasCdgmm_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasZdgmm_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasGemmEx_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasGemmBatchedEx_v2_64", {HIP_6030, HIP_0, HIP_0, }}, - {"hipblasGemmStridedBatchedEx_v2_64", {HIP_6030, HIP_0, HIP_0, }}, + {"hipblasSgemvStridedBatched_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasDgemvStridedBatched_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasCgemvStridedBatched_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasZgemvStridedBatched_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasSger_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasDger_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasCgeru_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasCgerc_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasZgeru_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasZgerc_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasChbmv_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasZhbmv_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasChemv_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasZhemv_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasCher_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasZher_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasCher2_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasZher2_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasChpmv_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasZhpmv_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasChpr_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasZhpr_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasChpr2_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasZhpr2_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasSsbmv_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasDsbmv_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasSspmv_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasDspmv_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasSspr_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasDspr_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasSspr2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasDspr2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasSsymv_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasDsymv_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasCsymv_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasZsymv_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasSsyr_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasDsyr_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasCsyr_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasZsyr_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasSsyr2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasDsyr2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasCsyr2_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasZsyr2_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasStbmv_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasDtbmv_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasCtbmv_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasZtbmv_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasStbsv_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasDtbsv_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasCtbsv_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasZtbsv_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasStpmv_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasDtpmv_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasCtpmv_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasZtpmv_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasStpsv_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasDtpsv_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasCtpsv_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasZtpsv_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasStrmv_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasDtrmv_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasCtrmv_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasZtrmv_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasStrsv_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasDtrsv_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasCtrsv_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasZtrsv_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasAxpyEx_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasDotEx_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasDotcEx_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasNrm2Ex_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasRotEx_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasScalEx_v2_64", {HIP_6020, HIP_0, HIP_0 }}, + {"hipblasHgemm_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasSgemm_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasDgemm_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasCgemm_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasZgemm_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasHgemmBatched_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasSgemmBatched_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasDgemmBatched_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasCgemmBatched_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasZgemmBatched_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasHgemmStridedBatched_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasSgemmStridedBatched_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasDgemmStridedBatched_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasCgemmStridedBatched_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasZgemmStridedBatched_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasCherk_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasZherk_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasCherkx_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasZherkx_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasCher2k_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasZher2k_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasSsymm_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasDsymm_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasCsymm_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasZsymm_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasSsyrk_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasDsyrk_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasCsyrk_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasZsyrk_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasSsyr2k_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasDsyr2k_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasCsyr2k_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasZsyr2k_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasSsyrkx_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasDsyrkx_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasCsyrkx_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasZsyrkx_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasSgeam_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasDgeam_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasCgeam_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasZgeam_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasChemm_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasZhemm_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasStrmm_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasDtrmm_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasCtrmm_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasZtrmm_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasStrsm_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasDtrsm_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasCtrsm_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasZtrsm_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasStrsmBatched_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasDtrsmBatched_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasCtrsmBatched_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasZtrsmBatched_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasSdgmm_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasDdgmm_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasCdgmm_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasZdgmm_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasGemmEx_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasGemmBatchedEx_v2_64", {HIP_6030, HIP_0, HIP_0 }}, + {"hipblasGemmStridedBatchedEx_v2_64", {HIP_6030, HIP_0, HIP_0 }}, {"rocblas_status_to_string", {HIP_3050, HIP_0, HIP_0 }}, {"rocblas_sscal", {HIP_1050, HIP_0, HIP_0 }}, @@ -2473,60 +2472,60 @@ const std::map HIP_BLAS_FUNCTION_VER_MAP { {"rocblas_dtrsm_batched_64", {HIP_6020, HIP_0, HIP_0 }}, {"rocblas_ctrsm_batched_64", {HIP_6020, HIP_0, HIP_0 }}, {"rocblas_ztrsm_batched_64", {HIP_6020, HIP_0, HIP_0 }}, - {"rocblas_hgemm_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_sgemm_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_dgemm_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_cgemm_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_zgemm_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_hgemm_batched_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_sgemm_batched_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_dgemm_batched_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_cgemm_batched_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_zgemm_batched_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_hgemm_strided_batched_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_sgemm_strided_batched_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_dgemm_strided_batched_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_cgemm_strided_batched_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_zgemm_strided_batched_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_cherk_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_zherk_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_cherkx_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_zherkx_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_cher2k_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_zher2k_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_ssymm_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_dsymm_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_csymm_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_zsymm_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_ssyrk_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_dsyrk_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_csyrk_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_zsyrk_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_ssyr2k_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_dsyr2k_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_csyr2k_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_zsyr2k_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_ssyrkx_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_dsyrkx_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_csyrkx_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_zsyrkx_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_sgeam_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_dgeam_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_cgeam_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_zgeam_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_chemm_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_zhemm_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_strmm_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_dtrmm_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_ctrmm_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_ztrmm_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_sdgmm_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_ddgmm_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_cdgmm_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_zdgmm_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_gemm_ex_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_gemm_batched_ex_64", {HIP_6030, HIP_0, HIP_0, }}, - {"rocblas_gemm_strided_batched_ex_64", {HIP_6030, HIP_0, HIP_0, }}, + {"rocblas_hgemm_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_sgemm_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_dgemm_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_cgemm_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_zgemm_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_hgemm_batched_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_sgemm_batched_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_dgemm_batched_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_cgemm_batched_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_zgemm_batched_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_hgemm_strided_batched_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_sgemm_strided_batched_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_dgemm_strided_batched_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_cgemm_strided_batched_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_zgemm_strided_batched_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_cherk_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_zherk_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_cherkx_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_zherkx_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_cher2k_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_zher2k_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_ssymm_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_dsymm_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_csymm_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_zsymm_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_ssyrk_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_dsyrk_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_csyrk_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_zsyrk_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_ssyr2k_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_dsyr2k_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_csyr2k_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_zsyr2k_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_ssyrkx_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_dsyrkx_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_csyrkx_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_zsyrkx_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_sgeam_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_dgeam_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_cgeam_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_zgeam_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_chemm_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_zhemm_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_strmm_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_dtrmm_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_ctrmm_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_ztrmm_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_sdgmm_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_ddgmm_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_cdgmm_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_zdgmm_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_gemm_ex_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_gemm_batched_ex_64", {HIP_6030, HIP_0, HIP_0 }}, + {"rocblas_gemm_strided_batched_ex_64", {HIP_6030, HIP_0, HIP_0 }}, }; const std::map HIP_BLAS_FUNCTION_CHANGED_VER_MAP { diff --git a/src/CUDA2HIP_BLAS_API_types.cpp b/src/CUDA2HIP_BLAS_API_types.cpp index 6ec55479..587ed381 100644 --- a/src/CUDA2HIP_BLAS_API_types.cpp +++ b/src/CUDA2HIP_BLAS_API_types.cpp @@ -2241,7 +2241,7 @@ const std::map HIP_BLAS_TYPE_NAME_VER_MAP { {"HIPBLASLT_MATMUL_PREF_SEARCH_MODE", {HIP_5050, HIP_0, HIP_0 }}, {"HIPBLASLT_MATMUL_PREF_MAX_WORKSPACE_BYTES", {HIP_5050, HIP_0, HIP_0 }}, {"hipblasLtMatmulHeuristicResult_t", {HIP_5050, HIP_0, HIP_0 }}, - {"HIPBLASLT_MATMUL_DESC_AMAX_D_POINTER", {HIP_6020, HIP_0, HIP_0, }}, + {"HIPBLASLT_MATMUL_DESC_AMAX_D_POINTER", {HIP_6020, HIP_0, HIP_0 }}, {"rocblas_handle", {HIP_1050, HIP_0, HIP_0 }}, {"_rocblas_handle", {HIP_1050, HIP_0, HIP_0 }}, diff --git a/src/CUDA2HIP_CAFFE2_API_types.cpp b/src/CUDA2HIP_CAFFE2_API_types.cpp index 8b81e171..df37ff9d 100644 --- a/src/CUDA2HIP_CAFFE2_API_types.cpp +++ b/src/CUDA2HIP_CAFFE2_API_types.cpp @@ -38,4 +38,3 @@ const std::map CUDA_CAFFE2_TYPE_NAME_VER_MAP { const std::map HIP_CAFFE2_TYPE_NAME_VER_MAP { }; - diff --git a/src/CUDA2HIP_DNN_API_functions.cpp b/src/CUDA2HIP_DNN_API_functions.cpp index 96c9f6d8..b3dbac0b 100644 --- a/src/CUDA2HIP_DNN_API_functions.cpp +++ b/src/CUDA2HIP_DNN_API_functions.cpp @@ -24,7 +24,6 @@ THE SOFTWARE. // Map of all functions const std::map CUDA_DNN_FUNCTION_MAP { - // NOTE: MIOPEN_EXPORT miopenStatus_t miopenGetVersion(size_t* major, size_t* minor, size_t* patch) and size_t CUDNNWINAPI cudnnGetVersion(void) have different signatures {"cudnnGetVersion", {"hipdnnGetVersion", "", CONV_LIB_FUNC, API_DNN, 2, ROC_UNSUPPORTED}}, {"cudnnGetCudartVersion", {"hipdnnGetCudartVersion", "", CONV_LIB_FUNC, API_DNN, 2, UNSUPPORTED}}, diff --git a/src/CUDA2HIP_Driver_API_functions.cpp b/src/CUDA2HIP_Driver_API_functions.cpp index 4f09c001..c327e60b 100644 --- a/src/CUDA2HIP_Driver_API_functions.cpp +++ b/src/CUDA2HIP_Driver_API_functions.cpp @@ -1655,16 +1655,16 @@ const std::map HIP_DRIVER_FUNCTION_VER_MAP { {"hipDrvGraphAddMemcpyNode", {HIP_6000, HIP_0, HIP_0 }}, {"hipDrvGraphAddMemsetNode", {HIP_6010, HIP_0, HIP_0 }}, {"hipTexRefGetBorderColor", {HIP_6010, HIP_6010, HIP_0 }}, - {"hipMemcpyAtoD", {HIP_6020, HIP_0, HIP_0, }}, - {"hipMemcpyDtoA", {HIP_6020, HIP_0, HIP_0, }}, - {"hipMemcpyAtoA", {HIP_6020, HIP_0, HIP_0, }}, - {"hipMemcpyAtoHAsync", {HIP_6020, HIP_0, HIP_0, }}, - {"hipMemcpyHtoAAsync", {HIP_6020, HIP_0, HIP_0, }}, - {"hipDrvGraphAddMemFreeNode", {HIP_6030, HIP_0, HIP_0, }}, - {"hipDrvGraphMemcpyNodeGetParams", {HIP_6030, HIP_0, HIP_0, }}, - {"hipDrvGraphMemcpyNodeSetParams", {HIP_6030, HIP_0, HIP_0, }}, - {"hipDrvGraphExecMemcpyNodeSetParams", {HIP_6030, HIP_0, HIP_0, }}, - {"hipDrvGraphExecMemsetNodeSetParams", {HIP_6030, HIP_0, HIP_0, }}, + {"hipMemcpyAtoD", {HIP_6020, HIP_0, HIP_0 }}, + {"hipMemcpyDtoA", {HIP_6020, HIP_0, HIP_0 }}, + {"hipMemcpyAtoA", {HIP_6020, HIP_0, HIP_0 }}, + {"hipMemcpyAtoHAsync", {HIP_6020, HIP_0, HIP_0 }}, + {"hipMemcpyHtoAAsync", {HIP_6020, HIP_0, HIP_0 }}, + {"hipDrvGraphAddMemFreeNode", {HIP_6030, HIP_0, HIP_0 }}, + {"hipDrvGraphMemcpyNodeGetParams", {HIP_6030, HIP_0, HIP_0 }}, + {"hipDrvGraphMemcpyNodeSetParams", {HIP_6030, HIP_0, HIP_0 }}, + {"hipDrvGraphExecMemcpyNodeSetParams", {HIP_6030, HIP_0, HIP_0 }}, + {"hipDrvGraphExecMemsetNodeSetParams", {HIP_6030, HIP_0, HIP_0 }}, {"hipStreamBatchMemOp", {HIP_6040, HIP_0, HIP_0, HIP_LATEST}}, {"hipGraphAddBatchMemOpNode", {HIP_6040, HIP_0, HIP_0, HIP_LATEST}}, {"hipGraphBatchMemOpNodeGetParams", {HIP_6040, HIP_0, HIP_0, HIP_LATEST}}, diff --git a/src/CUDA2HIP_Driver_API_types.cpp b/src/CUDA2HIP_Driver_API_types.cpp index 4fb6d8e3..978d32e2 100644 --- a/src/CUDA2HIP_Driver_API_types.cpp +++ b/src/CUDA2HIP_Driver_API_types.cpp @@ -4298,12 +4298,12 @@ const std::map HIP_DRIVER_TYPE_NAME_VER_MAP { {"hipDeviceAttributeHostRegisterSupported", {HIP_6000, HIP_0, HIP_0 }}, {"hipExternalSemaphoreSignalNodeParams", {HIP_6000, HIP_0, HIP_0 }}, {"hipExternalSemaphoreWaitNodeParams", {HIP_6000, HIP_0, HIP_0 }}, - {"hipDriverProcAddressQueryResult", {HIP_6020, HIP_0, HIP_0, }}, - {"HIP_GET_PROC_ADDRESS_SUCCESS", {HIP_6020, HIP_0, HIP_0, }}, - {"HIP_GET_PROC_ADDRESS_SYMBOL_NOT_FOUND", {HIP_6020, HIP_0, HIP_0, }}, - {"HIP_GET_PROC_ADDRESS_VERSION_NOT_SUFFICIENT", {HIP_6020, HIP_0, HIP_0, }}, + {"hipDriverProcAddressQueryResult", {HIP_6020, HIP_0, HIP_0 }}, + {"HIP_GET_PROC_ADDRESS_SUCCESS", {HIP_6020, HIP_0, HIP_0 }}, + {"HIP_GET_PROC_ADDRESS_SYMBOL_NOT_FOUND", {HIP_6020, HIP_0, HIP_0 }}, + {"HIP_GET_PROC_ADDRESS_VERSION_NOT_SUFFICIENT", {HIP_6020, HIP_0, HIP_0 }}, {"HIP_MEMSET_NODE_PARAMS", {HIP_6010, HIP_0, HIP_0 }}, - {"hipStreamLegacy", {HIP_6020, HIP_0, HIP_0, }}, + {"hipStreamLegacy", {HIP_6020, HIP_0, HIP_0 }}, {"hipStreamBatchMemOpParams_union", {HIP_6040, HIP_0, HIP_0, HIP_LATEST}}, {"hipStreamBatchMemOpParams", {HIP_6040, HIP_0, HIP_0, HIP_LATEST}}, {"hipBatchMemOpNodeParams", {HIP_6040, HIP_0, HIP_0, HIP_LATEST}}, diff --git a/src/CUDA2HIP_FFT_API_types.cpp b/src/CUDA2HIP_FFT_API_types.cpp index 9011dd23..b2b86555 100644 --- a/src/CUDA2HIP_FFT_API_types.cpp +++ b/src/CUDA2HIP_FFT_API_types.cpp @@ -24,7 +24,6 @@ THE SOFTWARE. // Map of all functions const std::map CUDA_FFT_TYPE_NAME_MAP { - // cuFFT defines {"CUFFT_FORWARD", {"HIPFFT_FORWARD", "", CONV_NUMERIC_LITERAL, API_FFT, 1}}, // -1 {"CUFFT_INVERSE", {"HIPFFT_BACKWARD", "", CONV_NUMERIC_LITERAL, API_FFT, 1}}, // 1 diff --git a/src/CUDA2HIP_RAND_API_functions.cpp b/src/CUDA2HIP_RAND_API_functions.cpp index 4d1647cb..06597805 100644 --- a/src/CUDA2HIP_RAND_API_functions.cpp +++ b/src/CUDA2HIP_RAND_API_functions.cpp @@ -87,112 +87,112 @@ const std::map CUDA_RAND_FUNCTION_MAP { }; const std::map CUDA_RAND_FUNCTION_VER_MAP { - {"curandGetProperty", {CUDA_80, CUDA_0, CUDA_0, }}, - {"__curand_umul", {CUDA_115, CUDA_0, CUDA_0, }}, + {"curandGetProperty", {CUDA_80, CUDA_0, CUDA_0 }}, + {"__curand_umul", {CUDA_115, CUDA_0, CUDA_0 }}, }; const std::map HIP_RAND_FUNCTION_VER_MAP { - {"hiprandCreateGenerator", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandCreateGeneratorHost", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandCreatePoissonDistribution", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandDestroyDistribution", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandDestroyGenerator", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandGenerate", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandGenerateLogNormal", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandGenerateLogNormalDouble", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandGenerateNormal", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandGenerateNormalDouble", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandGeneratePoisson", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandGenerateSeeds", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandGenerateUniform", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandGenerateUniformDouble", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandGetVersion", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandSetGeneratorOffset", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandSetPseudoRandomGeneratorSeed", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandSetQuasiRandomGeneratorDimensions", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandSetStream", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandMakeMTGP32Constants", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandMakeMTGP32KernelState", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprand", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprand_init", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprand_log_normal", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprand_log_normal_double", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprand_log_normal2", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprand_log_normal2_double", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprand_log_normal4", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprand_log_normal4_double", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprand_normal", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprand_normal_double", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprand_normal2", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprand_normal2_double", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprand_normal4", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprand_normal4_double", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprand_uniform", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprand_uniform_double", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprand_uniform2_double", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprand_uniform4", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprand_uniform4_double", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprand_discrete", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprand_discrete4", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprand_poisson", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprand_poisson4", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandGetDirectionVectors32", {HIP_6000, HIP_0, HIP_0, }}, - {"hiprandGetDirectionVectors64", {HIP_6000, HIP_0, HIP_0, }}, - {"hiprandGetScrambleConstants32", {HIP_6000, HIP_0, HIP_0, }}, - {"hiprandGetScrambleConstants64", {HIP_6000, HIP_0, HIP_0, }}, - {"hiprandSetGeneratorOrdering", {HIP_6020, HIP_0, HIP_0, }}, - {"hiprandGenerateLongLong", {HIP_5050, HIP_0, HIP_0, }}, + {"hiprandCreateGenerator", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandCreateGeneratorHost", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandCreatePoissonDistribution", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandDestroyDistribution", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandDestroyGenerator", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandGenerate", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandGenerateLogNormal", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandGenerateLogNormalDouble", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandGenerateNormal", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandGenerateNormalDouble", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandGeneratePoisson", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandGenerateSeeds", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandGenerateUniform", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandGenerateUniformDouble", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandGetVersion", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandSetGeneratorOffset", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandSetPseudoRandomGeneratorSeed", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandSetQuasiRandomGeneratorDimensions", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandSetStream", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandMakeMTGP32Constants", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandMakeMTGP32KernelState", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprand", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprand_init", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprand_log_normal", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprand_log_normal_double", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprand_log_normal2", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprand_log_normal2_double", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprand_log_normal4", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprand_log_normal4_double", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprand_normal", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprand_normal_double", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprand_normal2", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprand_normal2_double", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprand_normal4", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprand_normal4_double", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprand_uniform", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprand_uniform_double", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprand_uniform2_double", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprand_uniform4", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprand_uniform4_double", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprand_discrete", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprand_discrete4", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprand_poisson", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprand_poisson4", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandGetDirectionVectors32", {HIP_6000, HIP_0, HIP_0 }}, + {"hiprandGetDirectionVectors64", {HIP_6000, HIP_0, HIP_0 }}, + {"hiprandGetScrambleConstants32", {HIP_6000, HIP_0, HIP_0 }}, + {"hiprandGetScrambleConstants64", {HIP_6000, HIP_0, HIP_0 }}, + {"hiprandSetGeneratorOrdering", {HIP_6020, HIP_0, HIP_0 }}, + {"hiprandGenerateLongLong", {HIP_5050, HIP_0, HIP_0 }}, - {"rocrand_create_generator", {HIP_1050, HIP_0, HIP_0, }}, - {"rocrand_create_generator_host_blocking", {HIP_6020, HIP_0, HIP_0, }}, - {"rocrand_destroy_generator", {HIP_1050, HIP_0, HIP_0, }}, - {"rocrand_generate", {HIP_1050, HIP_0, HIP_0, }}, - {"rocrand_generate_long_long", {HIP_5040, HIP_0, HIP_0, }}, - {"rocrand_generate_uniform", {HIP_1050, HIP_0, HIP_0, }}, - {"rocrand_generate_uniform_double", {HIP_1050, HIP_0, HIP_0, }}, - {"rocrand_generate_normal", {HIP_1050, HIP_0, HIP_0, }}, - {"rocrand_generate_normal_double", {HIP_1050, HIP_0, HIP_0, }}, - {"rocrand_generate_log_normal", {HIP_1050, HIP_0, HIP_0, }}, - {"rocrand_generate_log_normal_double", {HIP_1050, HIP_0, HIP_0, }}, - {"rocrand_generate_poisson", {HIP_1050, HIP_0, HIP_0, }}, - {"rocrand_initialize_generator", {HIP_1050, HIP_0, HIP_0, }}, - {"rocrand_set_stream", {HIP_1050, HIP_0, HIP_0, }}, - {"rocrand_set_seed", {HIP_1050, HIP_0, HIP_0, }}, - {"rocrand_set_offset", {HIP_1050, HIP_0, HIP_0, }}, - {"rocrand_set_ordering", {HIP_5050, HIP_0, HIP_0, }}, - {"rocrand_set_quasi_random_generator_dimensions", {HIP_1050, HIP_0, HIP_0, }}, - {"rocrand_get_version", {HIP_1050, HIP_0, HIP_0, }}, - {"rocrand_create_poisson_distribution", {HIP_1050, HIP_0, HIP_0, }}, - {"rocrand_get_direction_vectors32", {HIP_6000, HIP_0, HIP_0, }}, - {"rocrand_get_direction_vectors64", {HIP_6000, HIP_0, HIP_0, }}, - {"rocrand_get_scramble_constants32", {HIP_6000, HIP_0, HIP_0, }}, - {"rocrand_get_scramble_constants64", {HIP_6000, HIP_0, HIP_0, }}, - {"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, }}, + {"rocrand_create_generator", {HIP_1050, HIP_0, HIP_0 }}, + {"rocrand_create_generator_host_blocking", {HIP_6020, HIP_0, HIP_0 }}, + {"rocrand_destroy_generator", {HIP_1050, HIP_0, HIP_0 }}, + {"rocrand_generate", {HIP_1050, HIP_0, HIP_0 }}, + {"rocrand_generate_long_long", {HIP_5040, HIP_0, HIP_0 }}, + {"rocrand_generate_uniform", {HIP_1050, HIP_0, HIP_0 }}, + {"rocrand_generate_uniform_double", {HIP_1050, HIP_0, HIP_0 }}, + {"rocrand_generate_normal", {HIP_1050, HIP_0, HIP_0 }}, + {"rocrand_generate_normal_double", {HIP_1050, HIP_0, HIP_0 }}, + {"rocrand_generate_log_normal", {HIP_1050, HIP_0, HIP_0 }}, + {"rocrand_generate_log_normal_double", {HIP_1050, HIP_0, HIP_0 }}, + {"rocrand_generate_poisson", {HIP_1050, HIP_0, HIP_0 }}, + {"rocrand_initialize_generator", {HIP_1050, HIP_0, HIP_0 }}, + {"rocrand_set_stream", {HIP_1050, HIP_0, HIP_0 }}, + {"rocrand_set_seed", {HIP_1050, HIP_0, HIP_0 }}, + {"rocrand_set_offset", {HIP_1050, HIP_0, HIP_0 }}, + {"rocrand_set_ordering", {HIP_5050, HIP_0, HIP_0 }}, + {"rocrand_set_quasi_random_generator_dimensions", {HIP_1050, HIP_0, HIP_0 }}, + {"rocrand_get_version", {HIP_1050, HIP_0, HIP_0 }}, + {"rocrand_create_poisson_distribution", {HIP_1050, HIP_0, HIP_0 }}, + {"rocrand_get_direction_vectors32", {HIP_6000, HIP_0, HIP_0 }}, + {"rocrand_get_direction_vectors64", {HIP_6000, HIP_0, HIP_0 }}, + {"rocrand_get_scramble_constants32", {HIP_6000, HIP_0, HIP_0 }}, + {"rocrand_get_scramble_constants64", {HIP_6000, HIP_0, HIP_0 }}, + {"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 { diff --git a/src/CUDA2HIP_RAND_API_types.cpp b/src/CUDA2HIP_RAND_API_types.cpp index b236fee1..fb39a89d 100644 --- a/src/CUDA2HIP_RAND_API_types.cpp +++ b/src/CUDA2HIP_RAND_API_types.cpp @@ -139,128 +139,128 @@ const std::map CUDA_RAND_TYPE_NAME_MAP { }; const std::map CUDA_RAND_TYPE_NAME_VER_MAP { - {"CURAND_ORDERING_PSEUDO_LEGACY", {CUDA_110, CUDA_0, CUDA_0, }}, // A: CUDA_VERSION 11001, CURAND_VERSION 10200, CURAND_VER_MAJOR 10 CURAND_VER_MINOR 2 CURAND_VER_PATCH 0 - {"CURAND_ORDERING_PSEUDO_DYNAMIC", {CUDA_115, CUDA_0, CUDA_0, }}, // A: CUDA_VERSION 11052, CURAND_VERSION 10207, CURAND_VER_MAJOR 10 CURAND_VER_MINOR 2 CURAND_VER_PATCH 7 + {"CURAND_ORDERING_PSEUDO_LEGACY", {CUDA_110, CUDA_0, CUDA_0 }}, // A: CUDA_VERSION 11001, CURAND_VERSION 10200, CURAND_VER_MAJOR 10 CURAND_VER_MINOR 2 CURAND_VER_PATCH 0 + {"CURAND_ORDERING_PSEUDO_DYNAMIC", {CUDA_115, CUDA_0, CUDA_0 }}, // A: CUDA_VERSION 11052, CURAND_VERSION 10207, CURAND_VER_MAJOR 10 CURAND_VER_MINOR 2 CURAND_VER_PATCH 7 }; const std::map HIP_RAND_TYPE_NAME_VER_MAP { - {"hiprandStatus", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandStatus_t", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandRngType_t", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandGenerator_st", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandGenerator_t", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandDiscreteDistribution_st", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandDiscreteDistribution_t", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandDirectionVectors32_t", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandStateMtgp32", {HIP_1080, HIP_0, HIP_0, }}, - {"hiprandStateMtgp32_t", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandStateSobol32", {HIP_1080, HIP_0, HIP_0, }}, - {"hiprandStateSobol32_t", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandStateMRG32k3a", {HIP_1080, HIP_0, HIP_0, }}, - {"hiprandStateMRG32k3a_t", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandStatePhilox4_32_10", {HIP_1080, HIP_0, HIP_0, }}, - {"hiprandStatePhilox4_32_10_t", {HIP_1080, HIP_0, HIP_0, }}, - {"hiprandStateXORWOW", {HIP_1080, HIP_0, HIP_0, }}, - {"hiprandStateXORWOW_t", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandState", {HIP_1080, HIP_0, HIP_0, }}, - {"hiprandState_t", {HIP_1050, HIP_0, HIP_0, }}, - {"HIPRAND_STATUS_SUCCESS", {HIP_1050, HIP_0, HIP_0, }}, - {"HIPRAND_STATUS_VERSION_MISMATCH", {HIP_1050, HIP_0, HIP_0, }}, - {"HIPRAND_STATUS_NOT_INITIALIZED", {HIP_1050, HIP_0, HIP_0, }}, - {"HIPRAND_STATUS_ALLOCATION_FAILED", {HIP_1050, HIP_0, HIP_0, }}, - {"HIPRAND_STATUS_TYPE_ERROR", {HIP_1050, HIP_0, HIP_0, }}, - {"HIPRAND_STATUS_OUT_OF_RANGE", {HIP_1050, HIP_0, HIP_0, }}, - {"HIPRAND_STATUS_LENGTH_NOT_MULTIPLE", {HIP_1050, HIP_0, HIP_0, }}, - {"HIPRAND_STATUS_DOUBLE_PRECISION_REQUIRED", {HIP_1050, HIP_0, HIP_0, }}, - {"HIPRAND_STATUS_LAUNCH_FAILURE", {HIP_1050, HIP_0, HIP_0, }}, - {"HIPRAND_STATUS_PREEXISTING_FAILURE", {HIP_1050, HIP_0, HIP_0, }}, - {"HIPRAND_STATUS_INITIALIZATION_FAILED", {HIP_1050, HIP_0, HIP_0, }}, - {"HIPRAND_STATUS_ARCH_MISMATCH", {HIP_1050, HIP_0, HIP_0, }}, - {"HIPRAND_STATUS_INTERNAL_ERROR", {HIP_1050, HIP_0, HIP_0, }}, - {"HIPRAND_RNG_TEST", {HIP_1050, HIP_0, HIP_0, }}, - {"HIPRAND_RNG_PSEUDO_DEFAULT", {HIP_1050, HIP_0, HIP_0, }}, - {"HIPRAND_RNG_PSEUDO_XORWOW", {HIP_1050, HIP_0, HIP_0, }}, - {"HIPRAND_RNG_PSEUDO_MRG32K3A", {HIP_1050, HIP_0, HIP_0, }}, - {"HIPRAND_RNG_PSEUDO_MTGP32", {HIP_1050, HIP_0, HIP_0, }}, - {"HIPRAND_RNG_PSEUDO_MT19937", {HIP_1050, HIP_0, HIP_0, }}, - {"HIPRAND_RNG_PSEUDO_PHILOX4_32_10", {HIP_1050, HIP_0, HIP_0, }}, - {"HIPRAND_RNG_QUASI_DEFAULT", {HIP_1050, HIP_0, HIP_0, }}, - {"HIPRAND_RNG_QUASI_SOBOL32", {HIP_1050, HIP_0, HIP_0, }}, - {"HIPRAND_RNG_QUASI_SCRAMBLED_SOBOL32", {HIP_1050, HIP_0, HIP_0, }}, - {"HIPRAND_RNG_QUASI_SOBOL64", {HIP_1050, HIP_0, HIP_0, }}, - {"HIPRAND_RNG_QUASI_SCRAMBLED_SOBOL64", {HIP_1050, HIP_0, HIP_0, }}, - {"hiprandDirectionVectorSet_t", {HIP_6000, HIP_0, HIP_0, }}, - {"HIPRAND_DIRECTION_VECTORS_32_JOEKUO6", {HIP_6000, HIP_0, HIP_0, }}, - {"HIPRAND_SCRAMBLED_DIRECTION_VECTORS_32_JOEKUO6", {HIP_6000, HIP_0, HIP_0, }}, - {"HIPRAND_DIRECTION_VECTORS_64_JOEKUO6", {HIP_6000, HIP_0, HIP_0, }}, - {"HIPRAND_SCRAMBLED_DIRECTION_VECTORS_64_JOEKUO6", {HIP_6000, HIP_0, HIP_0, }}, - {"hiprandDirectionVectors64_t", {HIP_6000, HIP_0, HIP_0, }}, - {"hiprandOrdering", {HIP_6020, HIP_0, HIP_0, }}, - {"hiprandOrdering_t", {HIP_6020, HIP_0, HIP_0, }}, - {"HIPRAND_ORDERING_PSEUDO_BEST", {HIP_6020, HIP_0, HIP_0, }}, - {"HIPRAND_ORDERING_PSEUDO_DEFAULT", {HIP_6020, HIP_0, HIP_0, }}, - {"HIPRAND_ORDERING_PSEUDO_SEEDED", {HIP_6020, HIP_0, HIP_0, }}, - {"HIPRAND_ORDERING_PSEUDO_LEGACY", {HIP_6020, HIP_0, HIP_0, }}, - {"HIPRAND_ORDERING_PSEUDO_DYNAMIC", {HIP_6020, HIP_0, HIP_0, }}, - {"HIPRAND_ORDERING_QUASI_DEFAULT", {HIP_6020, HIP_0, HIP_0, }}, - {"hiprandStateScrambledSobol32", {HIP_6020, HIP_0, HIP_0, }}, - {"hiprandStateScrambledSobol32_t", {HIP_6020, HIP_0, HIP_0, }}, - {"hiprandStateScrambledSobol64", {HIP_6020, HIP_0, HIP_0, }}, - {"hiprandStateScrambledSobol64_t", {HIP_6020, HIP_0, HIP_0, }}, - {"hiprandStateSobol64", {HIP_6020, HIP_0, HIP_0, }}, - {"hiprandStateSobol64_t", {HIP_6020, HIP_0, HIP_0, }}, + {"hiprandStatus", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandStatus_t", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandRngType_t", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandGenerator_st", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandGenerator_t", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandDiscreteDistribution_st", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandDiscreteDistribution_t", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandDirectionVectors32_t", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandStateMtgp32", {HIP_1080, HIP_0, HIP_0 }}, + {"hiprandStateMtgp32_t", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandStateSobol32", {HIP_1080, HIP_0, HIP_0 }}, + {"hiprandStateSobol32_t", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandStateMRG32k3a", {HIP_1080, HIP_0, HIP_0 }}, + {"hiprandStateMRG32k3a_t", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandStatePhilox4_32_10", {HIP_1080, HIP_0, HIP_0 }}, + {"hiprandStatePhilox4_32_10_t", {HIP_1080, HIP_0, HIP_0 }}, + {"hiprandStateXORWOW", {HIP_1080, HIP_0, HIP_0 }}, + {"hiprandStateXORWOW_t", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandState", {HIP_1080, HIP_0, HIP_0 }}, + {"hiprandState_t", {HIP_1050, HIP_0, HIP_0 }}, + {"HIPRAND_STATUS_SUCCESS", {HIP_1050, HIP_0, HIP_0 }}, + {"HIPRAND_STATUS_VERSION_MISMATCH", {HIP_1050, HIP_0, HIP_0 }}, + {"HIPRAND_STATUS_NOT_INITIALIZED", {HIP_1050, HIP_0, HIP_0 }}, + {"HIPRAND_STATUS_ALLOCATION_FAILED", {HIP_1050, HIP_0, HIP_0 }}, + {"HIPRAND_STATUS_TYPE_ERROR", {HIP_1050, HIP_0, HIP_0 }}, + {"HIPRAND_STATUS_OUT_OF_RANGE", {HIP_1050, HIP_0, HIP_0 }}, + {"HIPRAND_STATUS_LENGTH_NOT_MULTIPLE", {HIP_1050, HIP_0, HIP_0 }}, + {"HIPRAND_STATUS_DOUBLE_PRECISION_REQUIRED", {HIP_1050, HIP_0, HIP_0 }}, + {"HIPRAND_STATUS_LAUNCH_FAILURE", {HIP_1050, HIP_0, HIP_0 }}, + {"HIPRAND_STATUS_PREEXISTING_FAILURE", {HIP_1050, HIP_0, HIP_0 }}, + {"HIPRAND_STATUS_INITIALIZATION_FAILED", {HIP_1050, HIP_0, HIP_0 }}, + {"HIPRAND_STATUS_ARCH_MISMATCH", {HIP_1050, HIP_0, HIP_0 }}, + {"HIPRAND_STATUS_INTERNAL_ERROR", {HIP_1050, HIP_0, HIP_0 }}, + {"HIPRAND_RNG_TEST", {HIP_1050, HIP_0, HIP_0 }}, + {"HIPRAND_RNG_PSEUDO_DEFAULT", {HIP_1050, HIP_0, HIP_0 }}, + {"HIPRAND_RNG_PSEUDO_XORWOW", {HIP_1050, HIP_0, HIP_0 }}, + {"HIPRAND_RNG_PSEUDO_MRG32K3A", {HIP_1050, HIP_0, HIP_0 }}, + {"HIPRAND_RNG_PSEUDO_MTGP32", {HIP_1050, HIP_0, HIP_0 }}, + {"HIPRAND_RNG_PSEUDO_MT19937", {HIP_1050, HIP_0, HIP_0 }}, + {"HIPRAND_RNG_PSEUDO_PHILOX4_32_10", {HIP_1050, HIP_0, HIP_0 }}, + {"HIPRAND_RNG_QUASI_DEFAULT", {HIP_1050, HIP_0, HIP_0 }}, + {"HIPRAND_RNG_QUASI_SOBOL32", {HIP_1050, HIP_0, HIP_0 }}, + {"HIPRAND_RNG_QUASI_SCRAMBLED_SOBOL32", {HIP_1050, HIP_0, HIP_0 }}, + {"HIPRAND_RNG_QUASI_SOBOL64", {HIP_1050, HIP_0, HIP_0 }}, + {"HIPRAND_RNG_QUASI_SCRAMBLED_SOBOL64", {HIP_1050, HIP_0, HIP_0 }}, + {"hiprandDirectionVectorSet_t", {HIP_6000, HIP_0, HIP_0 }}, + {"HIPRAND_DIRECTION_VECTORS_32_JOEKUO6", {HIP_6000, HIP_0, HIP_0 }}, + {"HIPRAND_SCRAMBLED_DIRECTION_VECTORS_32_JOEKUO6", {HIP_6000, HIP_0, HIP_0 }}, + {"HIPRAND_DIRECTION_VECTORS_64_JOEKUO6", {HIP_6000, HIP_0, HIP_0 }}, + {"HIPRAND_SCRAMBLED_DIRECTION_VECTORS_64_JOEKUO6", {HIP_6000, HIP_0, HIP_0 }}, + {"hiprandDirectionVectors64_t", {HIP_6000, HIP_0, HIP_0 }}, + {"hiprandOrdering", {HIP_6020, HIP_0, HIP_0 }}, + {"hiprandOrdering_t", {HIP_6020, HIP_0, HIP_0 }}, + {"HIPRAND_ORDERING_PSEUDO_BEST", {HIP_6020, HIP_0, HIP_0 }}, + {"HIPRAND_ORDERING_PSEUDO_DEFAULT", {HIP_6020, HIP_0, HIP_0 }}, + {"HIPRAND_ORDERING_PSEUDO_SEEDED", {HIP_6020, HIP_0, HIP_0 }}, + {"HIPRAND_ORDERING_PSEUDO_LEGACY", {HIP_6020, HIP_0, HIP_0 }}, + {"HIPRAND_ORDERING_PSEUDO_DYNAMIC", {HIP_6020, HIP_0, HIP_0 }}, + {"HIPRAND_ORDERING_QUASI_DEFAULT", {HIP_6020, HIP_0, HIP_0 }}, + {"hiprandStateScrambledSobol32", {HIP_6020, HIP_0, HIP_0 }}, + {"hiprandStateScrambledSobol32_t", {HIP_6020, HIP_0, HIP_0 }}, + {"hiprandStateScrambledSobol64", {HIP_6020, HIP_0, HIP_0 }}, + {"hiprandStateScrambledSobol64_t", {HIP_6020, HIP_0, HIP_0 }}, + {"hiprandStateSobol64", {HIP_6020, HIP_0, HIP_0 }}, + {"hiprandStateSobol64_t", {HIP_6020, HIP_0, HIP_0 }}, - {"rocrand_status", {HIP_1050, HIP_0, HIP_0, }}, - {"ROCRAND_STATUS_SUCCESS", {HIP_1050, HIP_0, HIP_0, }}, - {"ROCRAND_STATUS_VERSION_MISMATCH", {HIP_1050, HIP_0, HIP_0, }}, - {"ROCRAND_STATUS_NOT_CREATED", {HIP_1050, HIP_0, HIP_0, }}, - {"ROCRAND_STATUS_ALLOCATION_FAILED", {HIP_1050, HIP_0, HIP_0, }}, - {"ROCRAND_STATUS_TYPE_ERROR", {HIP_1050, HIP_0, HIP_0, }}, - {"ROCRAND_STATUS_OUT_OF_RANGE", {HIP_1050, HIP_0, HIP_0, }}, - {"ROCRAND_STATUS_LENGTH_NOT_MULTIPLE", {HIP_1050, HIP_0, HIP_0, }}, - {"ROCRAND_STATUS_DOUBLE_PRECISION_REQUIRED", {HIP_1050, HIP_0, HIP_0, }}, - {"ROCRAND_STATUS_LAUNCH_FAILURE", {HIP_1050, HIP_0, HIP_0, }}, - {"ROCRAND_STATUS_INTERNAL_ERROR", {HIP_1050, HIP_0, HIP_0, }}, - {"rocrand_rng_type", {HIP_1050, HIP_0, HIP_0, }}, - {"ROCRAND_RNG_PSEUDO_DEFAULT", {HIP_1050, HIP_0, HIP_0, }}, - {"ROCRAND_RNG_PSEUDO_XORWOW", {HIP_1050, HIP_0, HIP_0, }}, - {"ROCRAND_RNG_PSEUDO_MRG32K3A", {HIP_1050, HIP_0, HIP_0, }}, - {"ROCRAND_RNG_PSEUDO_MTGP32", {HIP_1050, HIP_0, HIP_0, }}, - {"ROCRAND_RNG_PSEUDO_MT19937", {HIP_5050, HIP_0, HIP_0, }}, - {"ROCRAND_RNG_PSEUDO_PHILOX4_32_10", {HIP_1050, HIP_0, HIP_0, }}, - {"ROCRAND_RNG_QUASI_DEFAULT", {HIP_1050, HIP_0, HIP_0, }}, - {"ROCRAND_RNG_QUASI_SOBOL32", {HIP_1050, HIP_0, HIP_0, }}, - {"ROCRAND_RNG_QUASI_SCRAMBLED_SOBOL32", {HIP_5040, HIP_0, HIP_0, }}, - {"ROCRAND_RNG_QUASI_SOBOL64", {HIP_4050, HIP_0, HIP_0, }}, - {"ROCRAND_RNG_QUASI_SCRAMBLED_SOBOL64", {HIP_5040, HIP_0, HIP_0, }}, - {"rocrand_ordering", {HIP_5050, HIP_0, HIP_0, }}, - {"ROCRAND_ORDERING_PSEUDO_BEST", {HIP_5050, HIP_0, HIP_0, }}, - {"ROCRAND_ORDERING_PSEUDO_DEFAULT", {HIP_5050, HIP_0, HIP_0, }}, - {"ROCRAND_ORDERING_PSEUDO_SEEDED", {HIP_5050, HIP_0, HIP_0, }}, - {"ROCRAND_ORDERING_PSEUDO_LEGACY", {HIP_5050, HIP_0, HIP_0, }}, - {"ROCRAND_ORDERING_PSEUDO_DYNAMIC", {HIP_5050, HIP_0, HIP_0, }}, - {"ROCRAND_ORDERING_QUASI_DEFAULT", {HIP_5050, HIP_0, HIP_0, }}, - {"rocrand_direction_vector_set", {HIP_6000, HIP_0, HIP_0, }}, - {"ROCRAND_DIRECTION_VECTORS_32_JOEKUO6", {HIP_6000, HIP_0, HIP_0, }}, - {"ROCRAND_SCRAMBLED_DIRECTION_VECTORS_32_JOEKUO6", {HIP_6000, HIP_0, HIP_0, }}, - {"ROCRAND_DIRECTION_VECTORS_64_JOEKUO6", {HIP_6000, HIP_0, HIP_0, }}, - {"ROCRAND_SCRAMBLED_DIRECTION_VECTORS_64_JOEKUO6", {HIP_6000, HIP_0, HIP_0, }}, - {"rocrand_generator_base_type", {HIP_1050, HIP_0, HIP_0, }}, - {"rocrand_generator", {HIP_1050, HIP_0, HIP_0, }}, - {"rocrand_discrete_distribution_st", {HIP_1050, HIP_0, HIP_0, }}, - {"rocrand_discrete_distribution", {HIP_1050, HIP_0, HIP_0, }}, - {"rocrand_device::philox4x32_10_engine", {HIP_1050, HIP_0, HIP_0, }}, - {"rocrand_state_philox4x32_10", {HIP_1050, HIP_0, HIP_0, }}, - {"rocrand_device::mtgp32_engine", {HIP_1050, HIP_0, HIP_0, }}, - {"rocrand_state_mtgp32", {HIP_1050, HIP_0, HIP_0, }}, - {"rocrand_device::scrambled_sobol32_engine", {HIP_5040, HIP_0, HIP_0, }}, - {"rocrand_state_scrambled_sobol32", {HIP_5040, HIP_0, HIP_0, }}, - {"rocrand_device::scrambled_sobol64_engine", {HIP_5040, HIP_0, HIP_0, }}, - {"rocrand_state_scrambled_sobol64", {HIP_5040, HIP_0, HIP_0, }}, - {"rocrand_device::sobol32_engine", {HIP_1050, HIP_0, HIP_0, }}, - {"rocrand_state_sobol32", {HIP_1050, HIP_0, HIP_0, }}, - {"rocrand_device::sobol64_engine", {HIP_4050, HIP_0, HIP_0, }}, - {"rocrand_state_sobol64", {HIP_4050, HIP_0, HIP_0, }}, - {"rocrand_device::mrg32k3a_engine", {HIP_1050, HIP_0, HIP_0, }}, - {"rocrand_state_mrg32k3a", {HIP_1050, HIP_0, HIP_0, }}, + {"rocrand_status", {HIP_1050, HIP_0, HIP_0 }}, + {"ROCRAND_STATUS_SUCCESS", {HIP_1050, HIP_0, HIP_0 }}, + {"ROCRAND_STATUS_VERSION_MISMATCH", {HIP_1050, HIP_0, HIP_0 }}, + {"ROCRAND_STATUS_NOT_CREATED", {HIP_1050, HIP_0, HIP_0 }}, + {"ROCRAND_STATUS_ALLOCATION_FAILED", {HIP_1050, HIP_0, HIP_0 }}, + {"ROCRAND_STATUS_TYPE_ERROR", {HIP_1050, HIP_0, HIP_0 }}, + {"ROCRAND_STATUS_OUT_OF_RANGE", {HIP_1050, HIP_0, HIP_0 }}, + {"ROCRAND_STATUS_LENGTH_NOT_MULTIPLE", {HIP_1050, HIP_0, HIP_0 }}, + {"ROCRAND_STATUS_DOUBLE_PRECISION_REQUIRED", {HIP_1050, HIP_0, HIP_0 }}, + {"ROCRAND_STATUS_LAUNCH_FAILURE", {HIP_1050, HIP_0, HIP_0 }}, + {"ROCRAND_STATUS_INTERNAL_ERROR", {HIP_1050, HIP_0, HIP_0 }}, + {"rocrand_rng_type", {HIP_1050, HIP_0, HIP_0 }}, + {"ROCRAND_RNG_PSEUDO_DEFAULT", {HIP_1050, HIP_0, HIP_0 }}, + {"ROCRAND_RNG_PSEUDO_XORWOW", {HIP_1050, HIP_0, HIP_0 }}, + {"ROCRAND_RNG_PSEUDO_MRG32K3A", {HIP_1050, HIP_0, HIP_0 }}, + {"ROCRAND_RNG_PSEUDO_MTGP32", {HIP_1050, HIP_0, HIP_0 }}, + {"ROCRAND_RNG_PSEUDO_MT19937", {HIP_5050, HIP_0, HIP_0 }}, + {"ROCRAND_RNG_PSEUDO_PHILOX4_32_10", {HIP_1050, HIP_0, HIP_0 }}, + {"ROCRAND_RNG_QUASI_DEFAULT", {HIP_1050, HIP_0, HIP_0 }}, + {"ROCRAND_RNG_QUASI_SOBOL32", {HIP_1050, HIP_0, HIP_0 }}, + {"ROCRAND_RNG_QUASI_SCRAMBLED_SOBOL32", {HIP_5040, HIP_0, HIP_0 }}, + {"ROCRAND_RNG_QUASI_SOBOL64", {HIP_4050, HIP_0, HIP_0 }}, + {"ROCRAND_RNG_QUASI_SCRAMBLED_SOBOL64", {HIP_5040, HIP_0, HIP_0 }}, + {"rocrand_ordering", {HIP_5050, HIP_0, HIP_0 }}, + {"ROCRAND_ORDERING_PSEUDO_BEST", {HIP_5050, HIP_0, HIP_0 }}, + {"ROCRAND_ORDERING_PSEUDO_DEFAULT", {HIP_5050, HIP_0, HIP_0 }}, + {"ROCRAND_ORDERING_PSEUDO_SEEDED", {HIP_5050, HIP_0, HIP_0 }}, + {"ROCRAND_ORDERING_PSEUDO_LEGACY", {HIP_5050, HIP_0, HIP_0 }}, + {"ROCRAND_ORDERING_PSEUDO_DYNAMIC", {HIP_5050, HIP_0, HIP_0 }}, + {"ROCRAND_ORDERING_QUASI_DEFAULT", {HIP_5050, HIP_0, HIP_0 }}, + {"rocrand_direction_vector_set", {HIP_6000, HIP_0, HIP_0 }}, + {"ROCRAND_DIRECTION_VECTORS_32_JOEKUO6", {HIP_6000, HIP_0, HIP_0 }}, + {"ROCRAND_SCRAMBLED_DIRECTION_VECTORS_32_JOEKUO6", {HIP_6000, HIP_0, HIP_0 }}, + {"ROCRAND_DIRECTION_VECTORS_64_JOEKUO6", {HIP_6000, HIP_0, HIP_0 }}, + {"ROCRAND_SCRAMBLED_DIRECTION_VECTORS_64_JOEKUO6", {HIP_6000, HIP_0, HIP_0 }}, + {"rocrand_generator_base_type", {HIP_1050, HIP_0, HIP_0 }}, + {"rocrand_generator", {HIP_1050, HIP_0, HIP_0 }}, + {"rocrand_discrete_distribution_st", {HIP_1050, HIP_0, HIP_0 }}, + {"rocrand_discrete_distribution", {HIP_1050, HIP_0, HIP_0 }}, + {"rocrand_device::philox4x32_10_engine", {HIP_1050, HIP_0, HIP_0 }}, + {"rocrand_state_philox4x32_10", {HIP_1050, HIP_0, HIP_0 }}, + {"rocrand_device::mtgp32_engine", {HIP_1050, HIP_0, HIP_0 }}, + {"rocrand_state_mtgp32", {HIP_1050, HIP_0, HIP_0 }}, + {"rocrand_device::scrambled_sobol32_engine", {HIP_5040, HIP_0, HIP_0 }}, + {"rocrand_state_scrambled_sobol32", {HIP_5040, HIP_0, HIP_0 }}, + {"rocrand_device::scrambled_sobol64_engine", {HIP_5040, HIP_0, HIP_0 }}, + {"rocrand_state_scrambled_sobol64", {HIP_5040, HIP_0, HIP_0 }}, + {"rocrand_device::sobol32_engine", {HIP_1050, HIP_0, HIP_0 }}, + {"rocrand_state_sobol32", {HIP_1050, HIP_0, HIP_0 }}, + {"rocrand_device::sobol64_engine", {HIP_4050, HIP_0, HIP_0 }}, + {"rocrand_state_sobol64", {HIP_4050, HIP_0, HIP_0 }}, + {"rocrand_device::mrg32k3a_engine", {HIP_1050, HIP_0, HIP_0 }}, + {"rocrand_state_mrg32k3a", {HIP_1050, HIP_0, HIP_0 }}, }; diff --git a/src/CUDA2HIP_Runtime_API_functions.cpp b/src/CUDA2HIP_Runtime_API_functions.cpp index 6550e309..17cf7a19 100644 --- a/src/CUDA2HIP_Runtime_API_functions.cpp +++ b/src/CUDA2HIP_Runtime_API_functions.cpp @@ -1427,16 +1427,16 @@ const std::map HIP_RUNTIME_FUNCTION_VER_MAP { {"hipGraphExternalSemaphoresWaitNodeSetParams", {HIP_5070, HIP_0, HIP_0 }}, {"hipGraphExecExternalSemaphoresSignalNodeSetParams", {HIP_5070, HIP_0, HIP_0 }}, {"hipGraphExecExternalSemaphoresWaitNodeSetParams", {HIP_5070, HIP_0, HIP_0 }}, - {"hipGraphInstantiateWithParams", {HIP_6020, HIP_0, HIP_0, }}, - {"hipGraphAddNode", {HIP_6020, HIP_0, HIP_0, }}, - {"hipGetProcAddress", {HIP_6020, HIP_0, HIP_0, }}, - {"hipGetFuncBySymbol", {HIP_6020, HIP_0, HIP_0, }}, - {"hipStreamBeginCaptureToGraph", {HIP_6020, HIP_0, HIP_0, }}, - {"hipSetValidDevices", {HIP_6020, HIP_0, HIP_0, }}, - {"hipMemcpy2DArrayToArray", {HIP_6020, HIP_0, HIP_0, }}, - {"hipGraphExecGetFlags", {HIP_6030, HIP_0, HIP_0, }}, - {"hipGraphNodeSetParams", {HIP_6030, HIP_0, HIP_0, }}, - {"hipGraphExecNodeSetParams", {HIP_6030, HIP_0, HIP_0, }}, + {"hipGraphInstantiateWithParams", {HIP_6020, HIP_0, HIP_0 }}, + {"hipGraphAddNode", {HIP_6020, HIP_0, HIP_0 }}, + {"hipGetProcAddress", {HIP_6020, HIP_0, HIP_0 }}, + {"hipGetFuncBySymbol", {HIP_6020, HIP_0, HIP_0 }}, + {"hipStreamBeginCaptureToGraph", {HIP_6020, HIP_0, HIP_0 }}, + {"hipSetValidDevices", {HIP_6020, HIP_0, HIP_0 }}, + {"hipMemcpy2DArrayToArray", {HIP_6020, HIP_0, HIP_0 }}, + {"hipGraphExecGetFlags", {HIP_6030, HIP_0, HIP_0 }}, + {"hipGraphNodeSetParams", {HIP_6030, HIP_0, HIP_0 }}, + {"hipGraphExecNodeSetParams", {HIP_6030, HIP_0, HIP_0 }}, }; const std::map CUDA_RUNTIME_FUNCTION_CHANGED_VER_MAP { diff --git a/src/CUDA2HIP_Runtime_API_types.cpp b/src/CUDA2HIP_Runtime_API_types.cpp index bf2c801f..e76af61b 100644 --- a/src/CUDA2HIP_Runtime_API_types.cpp +++ b/src/CUDA2HIP_Runtime_API_types.cpp @@ -26,7 +26,6 @@ using SEC = runtime::CUDA_RUNTIME_API_SECTIONS; // Maps the names of CUDA RUNTIME API types to the corresponding HIP types const std::map CUDA_RUNTIME_TYPE_NAME_MAP { - // 1. Structs // no analogue @@ -3081,32 +3080,32 @@ const std::map HIP_RUNTIME_TYPE_NAME_VER_MAP { {"hipGPUDirectRDMAWritesOrderingNone", {HIP_6010, HIP_0, HIP_0 }}, {"hipGPUDirectRDMAWritesOrderingOwner", {HIP_6010, HIP_0, HIP_0 }}, {"hipGPUDirectRDMAWritesOrderingAllDevices", {HIP_6010, HIP_0, HIP_0 }}, - {"hipGraphInstantiateResult", {HIP_6020, HIP_0, HIP_0, }}, - {"hipGraphInstantiateSuccess", {HIP_6020, HIP_0, HIP_0, }}, - {"hipGraphInstantiateError", {HIP_6020, HIP_0, HIP_0, }}, - {"hipGraphInstantiateInvalidStructure", {HIP_6020, HIP_0, HIP_0, }}, - {"hipGraphInstantiateNodeOperationNotSupported", {HIP_6020, HIP_0, HIP_0, }}, - {"hipGraphInstantiateMultipleDevicesNotSupported", {HIP_6020, HIP_0, HIP_0, }}, - {"hipGraphInstantiateParams", {HIP_6020, HIP_0, HIP_0, }}, + {"hipGraphInstantiateResult", {HIP_6020, HIP_0, HIP_0 }}, + {"hipGraphInstantiateSuccess", {HIP_6020, HIP_0, HIP_0 }}, + {"hipGraphInstantiateError", {HIP_6020, HIP_0, HIP_0 }}, + {"hipGraphInstantiateInvalidStructure", {HIP_6020, HIP_0, HIP_0 }}, + {"hipGraphInstantiateNodeOperationNotSupported", {HIP_6020, HIP_0, HIP_0 }}, + {"hipGraphInstantiateMultipleDevicesNotSupported", {HIP_6020, HIP_0, HIP_0 }}, + {"hipGraphInstantiateParams", {HIP_6020, HIP_0, HIP_0 }}, {"hipMemcpyNodeParams", {HIP_6010, HIP_0, HIP_0 }}, {"hipChildGraphNodeParams", {HIP_6010, HIP_0, HIP_0 }}, {"hipEventWaitNodeParams", {HIP_6010, HIP_0, HIP_0 }}, {"hipEventRecordNodeParams", {HIP_6010, HIP_0, HIP_0 }}, {"hipMemFreeNodeParams", {HIP_6010, HIP_0, HIP_0 }}, {"hipGraphNodeParams", {HIP_6010, HIP_0, HIP_0 }}, - {"hipLaunchAttributeID", {HIP_6020, HIP_0, HIP_0, }}, - {"hipLaunchAttributeAccessPolicyWindow", {HIP_6020, HIP_0, HIP_0, }}, - {"hipLaunchAttributeCooperative", {HIP_6020, HIP_0, HIP_0, }}, - {"hipLaunchAttributePriority", {HIP_6020, HIP_0, HIP_0, }}, - {"hipLaunchAttributeValue", {HIP_6020, HIP_0, HIP_0, }}, - {"hipKernelNodeAttributePriority", {HIP_6020, HIP_0, HIP_0, }}, - {"hipGraphKernelNodePortDefault", {HIP_6020, HIP_0, HIP_0, }}, - {"hipGraphKernelNodePortLaunchCompletion", {HIP_6020, HIP_0, HIP_0, }}, - {"hipGraphKernelNodePortProgrammatic", {HIP_6020, HIP_0, HIP_0, }}, - {"hipGraphDependencyType", {HIP_6020, HIP_0, HIP_0, }}, - {"hipGraphDependencyTypeDefault", {HIP_6020, HIP_0, HIP_0, }}, - {"hipGraphDependencyTypeProgrammatic", {HIP_6020, HIP_0, HIP_0, }}, - {"hipGraphEdgeData", {HIP_6020, HIP_0, HIP_0, }}, + {"hipLaunchAttributeID", {HIP_6020, HIP_0, HIP_0 }}, + {"hipLaunchAttributeAccessPolicyWindow", {HIP_6020, HIP_0, HIP_0 }}, + {"hipLaunchAttributeCooperative", {HIP_6020, HIP_0, HIP_0 }}, + {"hipLaunchAttributePriority", {HIP_6020, HIP_0, HIP_0 }}, + {"hipLaunchAttributeValue", {HIP_6020, HIP_0, HIP_0 }}, + {"hipKernelNodeAttributePriority", {HIP_6020, HIP_0, HIP_0 }}, + {"hipGraphKernelNodePortDefault", {HIP_6020, HIP_0, HIP_0 }}, + {"hipGraphKernelNodePortLaunchCompletion", {HIP_6020, HIP_0, HIP_0 }}, + {"hipGraphKernelNodePortProgrammatic", {HIP_6020, HIP_0, HIP_0 }}, + {"hipGraphDependencyType", {HIP_6020, HIP_0, HIP_0 }}, + {"hipGraphDependencyTypeDefault", {HIP_6020, HIP_0, HIP_0 }}, + {"hipGraphDependencyTypeProgrammatic", {HIP_6020, HIP_0, HIP_0 }}, + {"hipGraphEdgeData", {HIP_6020, HIP_0, HIP_0 }}, {"HIP_INF_F", {HIP_5030, HIP_0, HIP_0 }}, {"HIP_NAN_F", {HIP_5030, HIP_0, HIP_0 }}, {"HIP_MIN_DENORM_F", {HIP_5030, HIP_0, HIP_0 }}, diff --git a/src/CUDA2HIP_SOLVER_API_functions.cpp b/src/CUDA2HIP_SOLVER_API_functions.cpp index 4de55ef1..f873fb0e 100644 --- a/src/CUDA2HIP_SOLVER_API_functions.cpp +++ b/src/CUDA2HIP_SOLVER_API_functions.cpp @@ -1438,19 +1438,19 @@ const std::map HIP_SOLVER_FUNCTION_VER_MAP { {"hipsolverSpDcsrlsvchol", {HIP_6010, HIP_0, HIP_0 }}, {"hipsolverSpScsrlsvcholHost", {HIP_6010, HIP_0, HIP_0 }}, {"hipsolverSpDcsrlsvcholHost", {HIP_6010, HIP_0, HIP_0 }}, - {"hipsolverDnCreateParams", {HIP_6020, HIP_0, HIP_0, }}, - {"hipsolverDnDestroyParams", {HIP_6020, HIP_0, HIP_0, }}, - {"hipsolverDnSetAdvOptions", {HIP_6020, HIP_0, HIP_0, }}, - {"hipsolverDnXgetrf", {HIP_6020, HIP_0, HIP_0, }}, - {"hipsolverDnXgetrf_bufferSize", {HIP_6020, HIP_0, HIP_0, }}, - {"hipsolverDnXgetrs", {HIP_6020, HIP_0, HIP_0, }}, - {"hipsolverDnSetDeterministicMode", {HIP_6030, HIP_0, HIP_0, }}, - {"hipsolverDnGetDeterministicMode", {HIP_6030, HIP_0, HIP_0, }}, - {"hipsolverDnXgeqrf_bufferSize", {HIP_6030, HIP_0, HIP_0, }}, - {"hipsolverDnXgeqrf", {HIP_6030, HIP_0, HIP_0, }}, - {"hipsolverDnXpotrf_bufferSize", {HIP_6030, HIP_0, HIP_0, }}, - {"hipsolverDnXpotrf", {HIP_6030, HIP_0, HIP_0, }}, - {"hipsolverDnXpotrs", {HIP_6030, HIP_0, HIP_0, }}, + {"hipsolverDnCreateParams", {HIP_6020, HIP_0, HIP_0 }}, + {"hipsolverDnDestroyParams", {HIP_6020, HIP_0, HIP_0 }}, + {"hipsolverDnSetAdvOptions", {HIP_6020, HIP_0, HIP_0 }}, + {"hipsolverDnXgetrf", {HIP_6020, HIP_0, HIP_0 }}, + {"hipsolverDnXgetrf_bufferSize", {HIP_6020, HIP_0, HIP_0 }}, + {"hipsolverDnXgetrs", {HIP_6020, HIP_0, HIP_0 }}, + {"hipsolverDnSetDeterministicMode", {HIP_6030, HIP_0, HIP_0 }}, + {"hipsolverDnGetDeterministicMode", {HIP_6030, HIP_0, HIP_0 }}, + {"hipsolverDnXgeqrf_bufferSize", {HIP_6030, HIP_0, HIP_0 }}, + {"hipsolverDnXgeqrf", {HIP_6030, HIP_0, HIP_0 }}, + {"hipsolverDnXpotrf_bufferSize", {HIP_6030, HIP_0, HIP_0 }}, + {"hipsolverDnXpotrf", {HIP_6030, HIP_0, HIP_0 }}, + {"hipsolverDnXpotrs", {HIP_6030, HIP_0, HIP_0 }}, {"rocsolver_spotrf", {HIP_3020, HIP_0, HIP_0 }}, {"rocsolver_dpotrf", {HIP_3020, HIP_0, HIP_0 }}, diff --git a/src/CUDA2HIP_SOLVER_API_types.cpp b/src/CUDA2HIP_SOLVER_API_types.cpp index 87001718..5e6023f2 100644 --- a/src/CUDA2HIP_SOLVER_API_types.cpp +++ b/src/CUDA2HIP_SOLVER_API_types.cpp @@ -323,15 +323,15 @@ const std::map HIP_SOLVER_TYPE_NAME_VER_MAP { {"hipsolverRfHandle_t", {HIP_5060, HIP_0, HIP_0 }}, {"HIPSOLVER_STATUS_MATRIX_TYPE_NOT_SUPPORTED", {HIP_6010, HIP_0, HIP_0 }}, {"hipsolverSpHandle_t", {HIP_6010, HIP_0, HIP_0 }}, - {"hipsolverDnParams_t", {HIP_6020, HIP_0, HIP_0, }}, - {"hipsolverAlgMode_t", {HIP_6020, HIP_0, HIP_0, }}, - {"HIPSOLVER_ALG_0", {HIP_6020, HIP_0, HIP_0, }}, - {"HIPSOLVER_ALG_1", {HIP_6020, HIP_0, HIP_0, }}, - {"hipsolverDnFunction_t", {HIP_6020, HIP_0, HIP_0, }}, - {"HIPSOLVERDN_GETRF", {HIP_6020, HIP_0, HIP_0, }}, - {"hipsolverDeterministicMode_t", {HIP_6030, HIP_0, HIP_0, }}, - {"HIPSOLVER_DETERMINISTIC_RESULTS", {HIP_6030, HIP_0, HIP_0, }}, - {"HIPSOLVER_ALLOW_NON_DETERMINISTIC_RESULTS", {HIP_6030, HIP_0, HIP_0, }}, + {"hipsolverDnParams_t", {HIP_6020, HIP_0, HIP_0 }}, + {"hipsolverAlgMode_t", {HIP_6020, HIP_0, HIP_0 }}, + {"HIPSOLVER_ALG_0", {HIP_6020, HIP_0, HIP_0 }}, + {"HIPSOLVER_ALG_1", {HIP_6020, HIP_0, HIP_0 }}, + {"hipsolverDnFunction_t", {HIP_6020, HIP_0, HIP_0 }}, + {"HIPSOLVERDN_GETRF", {HIP_6020, HIP_0, HIP_0 }}, + {"hipsolverDeterministicMode_t", {HIP_6030, HIP_0, HIP_0 }}, + {"HIPSOLVER_DETERMINISTIC_RESULTS", {HIP_6030, HIP_0, HIP_0 }}, + {"HIPSOLVER_ALLOW_NON_DETERMINISTIC_RESULTS", {HIP_6030, HIP_0, HIP_0 }}, {"rocblas_int", {HIP_3000, HIP_0, HIP_0 }}, {"rocblas_status", {HIP_3000, HIP_0, HIP_0 }}, diff --git a/src/StringUtils.cpp b/src/StringUtils.cpp index 29f7e5fb..01d47c35 100644 --- a/src/StringUtils.cpp +++ b/src/StringUtils.cpp @@ -88,4 +88,3 @@ std::string getAbsoluteDirectoryPath(const std::string &sDir, std::error_code &E } return dirAbsPath.c_str(); } -