diff --git a/projects/hip/bin/hipcc b/projects/hip/bin/hipcc
index 7f7dfd31da..9df3459fd1 100755
--- a/projects/hip/bin/hipcc
+++ b/projects/hip/bin/hipcc
@@ -241,11 +241,11 @@ if ($HIP_PLATFORM eq "clang") {
}
} elsif ($HIP_PLATFORM eq "nvcc") {
+ $CUDA_PATH=$ENV{'CUDA_PATH'} // '/usr/local/cuda';
$HIP_INCLUDE_PATH = "$HIP_PATH/include";
if ($verbose & 0x2) {
print ("CUDA_PATH=$CUDA_PATH\n");
}
- $CUDA_PATH=$ENV{'CUDA_PATH'} // '/usr/local/cuda';
$HIPCC="$CUDA_PATH/bin/nvcc";
$HIPCXXFLAGS .= " -Wno-deprecated-gpu-targets ";
diff --git a/projects/hip/cmake/FindHIP.cmake b/projects/hip/cmake/FindHIP.cmake
index 9a1a285921..afa92de097 100644
--- a/projects/hip/cmake/FindHIP.cmake
+++ b/projects/hip/cmake/FindHIP.cmake
@@ -33,7 +33,7 @@ set(CMAKE_HIP_ARCHIVE_FINISH ${CMAKE_CXX_ARCHIVE_FINISH})
set(CMAKE_SHARED_LIBRARY_SONAME_HIP_FLAG ${CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG})
set(CMAKE_SHARED_LIBRARY_CREATE_HIP_FLAGS ${CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS})
set(CMAKE_SHARED_LIBRARY_HIP_FLAGS ${CMAKE_SHARED_LIBRARY_CXX_FLAGS})
-set(CMAKE_SHARED_LIBRARY_LINK_HIP_FLAGS ${CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS})
+#set(CMAKE_SHARED_LIBRARY_LINK_HIP_FLAGS ${CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS})
set(CMAKE_SHARED_LIBRARY_RUNTIME_HIP_FLAG ${CMAKE_SHARED_LIBRARY_RUNTIME_CXX_FLAG})
set(CMAKE_SHARED_LIBRARY_RUNTIME_HIP_FLAG_SEP ${CMAKE_SHARED_LIBRARY_RUNTIME_CXX_FLAG_SEP})
set(CMAKE_SHARED_LIBRARY_LINK_STATIC_HIP_FLAGS ${CMAKE_SHARED_LIBRARY_LINK_STATIC_CXX_FLAGS})
@@ -380,7 +380,7 @@ endmacro()
###############################################################################
macro(HIP_PREPARE_TARGET_COMMANDS _target _format _generated_files _source_files)
set(_hip_flags "")
- set(_hip_build_configuration "${CMAKE_BUILD_TYPE}")
+ string(TOUPPER _hip_build_configuration "${CMAKE_BUILD_TYPE}")
if(HIP_HOST_COMPILATION_CPP)
set(HIP_C_OR_CXX CXX)
else()
diff --git a/projects/hip/docs/markdown/CUBLAS_API_supported_by_HIP.md b/projects/hip/docs/markdown/CUBLAS_API_supported_by_HIP.md
new file mode 100644
index 0000000000..932092612b
--- /dev/null
+++ b/projects/hip/docs/markdown/CUBLAS_API_supported_by_HIP.md
@@ -0,0 +1,516 @@
+# CUBLAS API supported by HIP
+
+## **1. CUBLAS Data types**
+
+| **type** | **CUDA** | **HIP** |**HIP value** (if differs) |
+|-------------:|---------------------------------------------------------------|------------------------------------------------------------|---------------------------|
+| enum |***`cublasStatus`*** |***`hipblasStatus_t`*** |
+| enum |***`cublasStatus_t`*** |***`hipblasStatus_t`*** |
+| 0 |*`CUBLAS_STATUS_SUCCESS`* |*`HIPBLAS_STATUS_SUCCESS`* |
+| 1 |*`CUBLAS_STATUS_NOT_INITIALIZED`* |*`HIPBLAS_STATUS_NOT_INITIALIZED`* |
+| 3 |*`CUBLAS_STATUS_ALLOC_FAILED`* |*`HIPBLAS_STATUS_ALLOC_FAILED`* | 2 |
+| 7 |*`CUBLAS_STATUS_INVALID_VALUE`* |*`HIPBLAS_STATUS_INVALID_VALUE`* | 3 |
+| 8 |*`CUBLAS_STATUS_ARCH_MISMATCH`* |*`HIPBLAS_STATUS_ARCH_MISMATCH`* | |
+| 11 |*`CUBLAS_STATUS_MAPPING_ERROR`* |*`HIPBLAS_STATUS_MAPPING_ERROR`* | 4 |
+| 13 |*`CUBLAS_STATUS_EXECUTION_FAILED`* |*`HIPBLAS_STATUS_EXECUTION_FAILED`* | 5 |
+| 14 |*`CUBLAS_STATUS_INTERNAL_ERROR`* |*`HIPBLAS_STATUS_INTERNAL_ERROR`* | 6 |
+| 15 |*`CUBLAS_STATUS_NOT_SUPPORTED`* |*`HIPBLAS_STATUS_NOT_SUPPORTED`* | 7 |
+| 16 |*`CUBLAS_STATUS_LICENSE_ERROR`* | |
+| enum |***`cublasOperation_t`*** |***`hipblasOperation_t`*** |
+| 0 |*`CUBLAS_OP_N`* |*`HIPBLAS_OP_N`* | 111 |
+| 1 |*`CUBLAS_OP_T`* |*`HIPBLAS_OP_T`* | 112 |
+| 2 |*`CUBLAS_OP_C`* |*`HIPBLAS_OP_C`* | 113 |
+| enum |***`cublasFillMode_t`*** |***`hipblasFillMode_t`*** |
+| 0 |*`CUBLAS_FILL_MODE_LOWER`* |*`HIPBLAS_FILL_MODE_LOWER`* | 121 |
+| 1 |*`CUBLAS_FILL_MODE_UPPER`* |*`HIPBLAS_FILL_MODE_UPPER`* | 122 |
+| enum |***`cublasDiagType_t`*** |***`hipblasDiagType_t`*** |
+| 0 |*`CUBLAS_DIAG_NON_UNIT`* |*`HIPBLAS_DIAG_NON_UNIT`* | 131 |
+| 1 |*`CUBLAS_DIAG_UNIT`* |*`HIPBLAS_DIAG_UNIT`* | 132 |
+| enum |***`cublasSideMode_t`*** |***`hipblasSideMode_t`*** |
+| 0 |*`CUBLAS_SIDE_LEFT`* |*`HIPBLAS_SIDE_LEFT`* | 141 |
+| 1 |*`CUBLAS_SIDE_RIGHT`* |*`HIPBLAS_SIDE_RIGHT`* | 142 |
+| enum |***`cublasPointerMode_t`*** |***`hipblasPointerMode_t`*** |
+| 0 |*`CUBLAS_POINTER_MODE_HOST`* |*`HIPBLAS_POINTER_MODE_HOST`* |
+| 1 |*`CUBLAS_POINTER_MODE_DEVICE`* |*`HIPBLAS_POINTER_MODE_DEVICE`* |
+| enum |***`cublasAtomicsMode_t`*** | |
+| 0 |*`CUBLAS_ATOMICS_NOT_ALLOWED`* | |
+| 1 |*`CUBLAS_ATOMICS_ALLOWED`* | |
+| enum |***`cublasAtomicsMode_t`*** | |
+| -1 |*`CUBLAS_GEMM_DFALT`* | |
+| -1 |*`CUBLAS_GEMM_DEFAULT`* | |
+| 0 |*`CUBLAS_GEMM_ALGO0`* | |
+| 1 |*`CUBLAS_GEMM_ALGO1`* | |
+| 2 |*`CUBLAS_GEMM_ALGO2`* | |
+| 3 |*`CUBLAS_GEMM_ALGO3`* | |
+| 4 |*`CUBLAS_GEMM_ALGO4`* | |
+| 5 |*`CUBLAS_GEMM_ALGO5`* | |
+| 6 |*`CUBLAS_GEMM_ALGO6`* | |
+| 7 |*`CUBLAS_GEMM_ALGO7`* | |
+| 8 |*`CUBLAS_GEMM_ALGO8`* | |
+| 9 |*`CUBLAS_GEMM_ALGO9`* | |
+| 10 |*`CUBLAS_GEMM_ALGO10`* | |
+| 11 |*`CUBLAS_GEMM_ALGO11`* | |
+| 12 |*`CUBLAS_GEMM_ALGO12`* | |
+| 13 |*`CUBLAS_GEMM_ALGO13`* | |
+| 14 |*`CUBLAS_GEMM_ALGO14`* | |
+| 15 |*`CUBLAS_GEMM_ALGO15`* | |
+| 16 |*`CUBLAS_GEMM_ALGO16`* | |
+| 17 |*`CUBLAS_GEMM_ALGO17`* | |
+| 18 |*`CUBLAS_GEMM_ALGO18`* | |
+| 19 |*`CUBLAS_GEMM_ALGO19`* | |
+| 20 |*`CUBLAS_GEMM_ALGO20`* | |
+| 21 |*`CUBLAS_GEMM_ALGO21`* | |
+| 22 |*`CUBLAS_GEMM_ALGO22`* | |
+| 23 |*`CUBLAS_GEMM_ALGO23`* | |
+| 99 |*`CUBLAS_GEMM_DEFAULT_TENSOR_OP`* | |
+| 99 |*`CUBLAS_GEMM_DFALT_TENSOR_OP`* | |
+| 100 |*`CUBLAS_GEMM_ALGO0_TENSOR_OP`* | |
+| 101 |*`CUBLAS_GEMM_ALGO1_TENSOR_OP`* | |
+| 102 |*`CUBLAS_GEMM_ALGO2_TENSOR_OP`* | |
+| 103 |*`CUBLAS_GEMM_ALGO3_TENSOR_OP`* | |
+| 104 |*`CUBLAS_GEMM_ALGO4_TENSOR_OP`* | |
+| 105 |*`CUBLAS_GEMM_ALGO5_TENSOR_OP`* | |
+| 106 |*`CUBLAS_GEMM_ALGO6_TENSOR_OP`* | |
+| 107 |*`CUBLAS_GEMM_ALGO7_TENSOR_OP`* | |
+| 108 |*`CUBLAS_GEMM_ALGO8_TENSOR_OP`* | |
+| 109 |*`CUBLAS_GEMM_ALGO9_TENSOR_OP`* | |
+| 110 |*`CUBLAS_GEMM_ALGO10_TENSOR_OP`* | |
+| 111 |*`CUBLAS_GEMM_ALGO11_TENSOR_OP`* | |
+| 112 |*`CUBLAS_GEMM_ALGO12_TENSOR_OP`* | |
+| 113 |*`CUBLAS_GEMM_ALGO13_TENSOR_OP`* | |
+| 114 |*`CUBLAS_GEMM_ALGO14_TENSOR_OP`* | |
+| 115 |*`CUBLAS_GEMM_ALGO15_TENSOR_OP`* | |
+| enum |***`cublasMath_t`*** | |
+| 0 |*`CUBLAS_DEFAULT_MATH`* | |
+| 1 |*`CUBLAS_TENSOR_OP_MATH`* | |
+| enum* |`cublasDataType_t` | |
+| struct |`cublasContext` | |
+| struct* |`cublasHandle_t` |`hipblasHandle_t` |
+
+## **2. CUBLAS API functions**
+
+| **CUDA** | **HIP** |
+|-----------------------------------------------------------|-------------------------------------------------|
+|`cublasCreate` |`hipblasCreate` |
+|`cublasCreate_v2` |`hipblasCreate` |
+|`cublasDestroy` |`hipblasDestroy` |
+|`cublasDestroy_v2` |`hipblasDestroy` |
+|`cublasGetVersion` | |
+|`cublasGetVersion_v2` | |
+|`cublasGetProperty` | |
+|`cublasGetStream` |`hipblasGetStream` |
+|`cublasGetStream_v2` |`hipblasGetStream_v2` |
+|`cublasSetStream` |`hipblasSetStream` |
+|`cublasSetStream_v2` |`hipblasSetStream_v2` |
+|`cublasGetPointerMode` |`hipblasGetPointerMode` |
+|`cublasGetPointerMode_v2` |`hipblasGetPointerMode_v2` |
+|`cublasSetPointerMode` |`hipblasSetPointerMode` |
+|`cublasSetPointerMode_v2` |`hipblasSetPointerMode_v2` |
+|`cublasGetAtomicsMode` | |
+|`cublasSetAtomicsMode` | |
+|`cublasGetMathMode` | |
+|`cublasSetMathMode` | |
+|`cublasLogCallback` | |
+|`cublasLoggerConfigure` | |
+|`cublasSetLoggerCallback` | |
+|`cublasGetLoggerCallback` | |
+|`cublasSetVector` |`hipblasSetVector` |
+|`cublasGetVector` |`hipblasGetVector` |
+|`cublasSetMatrix` |`hipblasSetMatrix` |
+|`cublasGetMatrix` |`hipblasGetMatrix` |
+|`cublasSetVectorAsync` | |
+|`cublasGetVectorAsync` | |
+|`cublasSetMatrixAsync` | |
+|`cublasGetMatrixAsync` | |
+|`cublasXerbla` | |
+|`cublasNrm2Ex` | |
+|`cublasSnrm2` |`hipblasSnrm2` |
+|`cublasSnrm2_v2` |`hipblasSnrm2` |
+|`cublasDnrm2` |`hipblasDnrm2` |
+|`cublasDnrm2_v2` |`hipblasDnrm2` |
+|`cublasScnrm2` | |
+|`cublasScnrm2_v2` | |
+|`cublasDznrm2` | |
+|`cublasDznrm2_v2` | |
+|`cublasDotEx` | |
+|`cublasDotcEx` | |
+|`cublasSdot` |`hipblasSdot` |
+|`cublasSdot_v2` |`hipblasSdot` |
+|`cublasDdot` |`hipblasDdot` |
+|`cublasDdot_v2` |`hipblasDdot` |
+|`cublasCdotu` | |
+|`cublasCdotu_v2` | |
+|`cublasCdotc` | |
+|`cublasCdotc_v2` | |
+|`cublasZdotu` | |
+|`cublasZdotu_v2` | |
+|`cublasZdotc` | |
+|`cublasZdotc_v2` | |
+|`cublasScalEx` | |
+|`cublasSscal` |`hipblasSscal` |
+|`cublasSscal_v2` |`hipblasSscal` |
+|`cublasDscal` |`hipblasDscal` |
+|`cublasDscal_v2` |`hipblasDscal` |
+|`cublasCscal` | |
+|`cublasCscal_v2` | |
+|`cublasCsscal` | |
+|`cublasCsscal_v2` | |
+|`cublasZscal` | |
+|`cublasZscal_v2` | |
+|`cublasZdscal` | |
+|`cublasZdscal_v2` | |
+|`cublasAxpyEx` | |
+|`cublasSaxpy` |`hipblasSaxpy` |
+|`cublasSaxpy_v2` |`hipblasSaxpy` |
+|`cublasDaxpy` |`hipblasDaxpy` |
+|`cublasDaxpy_v2` |`hipblasDaxpy` |
+|`cublasCaxpy` | |
+|`cublasCaxpy_v2` | |
+|`cublasZaxpy` | |
+|`cublasZaxpy_v2` | |
+|`cublasScopy` |`hipblasScopy` |
+|`cublasScopy_v2` |`hipblasScopy` |
+|`cublasDcopy` |`hipblasDcopy` |
+|`cublasDcopy_v2` |`hipblasDcopy` |
+|`cublasCcopy` | |
+|`cublasCcopy_v2` | |
+|`cublasZcopy` | |
+|`cublasZcopy_v2` | |
+|`cublasSswap` | |
+|`cublasSswap_v2` | |
+|`cublasDswap` | |
+|`cublasDswap_v2` | |
+|`cublasCswap` | |
+|`cublasCswap_v2` | |
+|`cublasZswap` | |
+|`cublasZswap_v2` | |
+|`cublasIsamax` |`hipblasIsamax` |
+|`cublasIsamax_v2` |`hipblasIsamax` |
+|`cublasIdamax` |`hipblasIdamax` |
+|`cublasIdamax_v2` |`hipblasIdamax` |
+|`cublasIcamax` | |
+|`cublasIcamax_v2` | |
+|`cublasIzamax` | |
+|`cublasIzamax_v2` | |
+|`cublasIsamin` | |
+|`cublasIsamin_v2` | |
+|`cublasIdamin` | |
+|`cublasIdamin_v2` | |
+|`cublasIcamin` | |
+|`cublasIcamin_v2` | |
+|`cublasIzamin` | |
+|`cublasIzamin_v2` | |
+|`cublasSasum` |`hipblasSasum` |
+|`cublasSasum_v2` |`hipblasSasum` |
+|`cublasDasum` |`hipblasDasum` |
+|`cublasDasum_v2` |`hipblasDasum` |
+|`cublasScasum` | |
+|`cublasScasum_v2` | |
+|`cublasDzasum` | |
+|`cublasDzasum_v2` | |
+|`cublasSrot` | |
+|`cublasSrot_v2` | |
+|`cublasDrot` | |
+|`cublasDrot_v2` | |
+|`cublasCrot` | |
+|`cublasCrot_v2` | |
+|`cublasZrot` | |
+|`cublasZrot_v2` | |
+|`cublasZdrot` | |
+|`cublasZdrot_v2` | |
+|`cublasSrotg` | |
+|`cublasSrotg_v2` | |
+|`cublasDrotg` | |
+|`cublasDrotg_v2` | |
+|`cublasCrotg` | |
+|`cublasCrotg_v2` | |
+|`cublasZrotg` | |
+|`cublasZrotg_v2` | |
+|`cublasSrotm` | |
+|`cublasSrotm_v2` | |
+|`cublasDrotm` | |
+|`cublasDrotm_v2` | |
+|`cublasSrotmg` | |
+|`cublasSrotmg_v2` | |
+|`cublasDrotmg` | |
+|`cublasDrotmg_v2` | |
+|`cublasSgemv` |`hipblasSgemv` |
+|`cublasSgemv_v2` |`hipblasSgemv` |
+|`cublasDgemv` |`hipblasDgemv` |
+|`cublasDgemv_v2` |`hipblasDgemv` |
+|`cublasCgemv` | |
+|`cublasCgemv_v2` | |
+|`cublasZgemv` | |
+|`cublasZgemv_v2` | |
+|`cublasSgbmv` | |
+|`cublasSgbmv_v2` | |
+|`cublasDgbmv` | |
+|`cublasDgbmv_v2` | |
+|`cublasCgbmv` | |
+|`cublasCgbmv_v2` | |
+|`cublasZgbmv` | |
+|`cublasZgbmv_v2` | |
+|`cublasStrmv` | |
+|`cublasStrmv_v2` | |
+|`cublasDtrmv` | |
+|`cublasDtrmv_v2` | |
+|`cublasCtrmv` | |
+|`cublasCtrmv_v2` | |
+|`cublasZtrmv` | |
+|`cublasZtrmv_v2` | |
+|`cublasStbmv` | |
+|`cublasStbmv_v2` | |
+|`cublasDtbmv` | |
+|`cublasDtbmv_v2` | |
+|`cublasCtbmv` | |
+|`cublasCtbmv_v2` | |
+|`cublasZtbmv` | |
+|`cublasZtbmv_v2` | |
+|`cublasStpmv` | |
+|`cublasStpmv_v2` | |
+|`cublasDtpmv` | |
+|`cublasDtpmv_v2` | |
+|`cublasCtpmv` | |
+|`cublasCtpmv_v2` | |
+|`cublasZtpmv` | |
+|`cublasZtpmv_v2` | |
+|`cublasStrsv` | |
+|`cublasStrsv_v2` | |
+|`cublasDtrsv` | |
+|`cublasDtrsv_v2` | |
+|`cublasCtrsv` | |
+|`cublasCtrsv_v2` | |
+|`cublasZtrsv` | |
+|`cublasZtrsv_v2` | |
+|`cublasStpsv` | |
+|`cublasStpsv_v2` | |
+|`cublasDtpsv` | |
+|`cublasDtpsv_v2` | |
+|`cublasCtpsv` | |
+|`cublasCtpsv_v2` | |
+|`cublasZtpsv` | |
+|`cublasZtpsv_v2` | |
+|`cublasStbsv` | |
+|`cublasStbsv_v2` | |
+|`cublasDtbsv` | |
+|`cublasDtbsv_v2` | |
+|`cublasCtbsv` | |
+|`cublasCtbsv_v2` | |
+|`cublasZtbsv` | |
+|`cublasZtbsv_v2` | |
+|`cublasSsymv` | |
+|`cublasSsymv_v2` | |
+|`cublasDsymv` | |
+|`cublasDsymv_v2` | |
+|`cublasCsymv` | |
+|`cublasCsymv_v2` | |
+|`cublasZsymv` | |
+|`cublasZsymv_v2` | |
+|`cublasChemv` | |
+|`cublasChemv_v2` | |
+|`cublasZhemv` | |
+|`cublasZhemv_v2` | |
+|`cublasSsbmv` | |
+|`cublasSsbmv_v2` | |
+|`cublasDsbmv` | |
+|`cublasDsbmv_v2` | |
+|`cublasChbmv` | |
+|`cublasChbmv_v2` | |
+|`cublasZhbmv` | |
+|`cublasZhbmv_v2` | |
+|`cublasSspmv` | |
+|`cublasSspmv_v2` | |
+|`cublasDspmv` | |
+|`cublasDspmv_v2` | |
+|`cublasChpmv` | |
+|`cublasChpmv_v2` | |
+|`cublasZhpmv` | |
+|`cublasZhpmv_v2` | |
+|`cublasSger` |`hipblasSger` |
+|`cublasSger_v2` |`hipblasSger` |
+|`cublasDger` |`hipblasDger` |
+|`cublasDger_v2` |`hipblasDger` |
+|`cublasCgeru` | |
+|`cublasCgeru_v2` | |
+|`cublasCgerc` | |
+|`cublasCgerc_v2` | |
+|`cublasZgeru` | |
+|`cublasZgeru_v2` | |
+|`cublasZgerc` | |
+|`cublasZgerc_v2` | |
+|`cublasSsyr` | |
+|`cublasSsyr_v2` | |
+|`cublasDsyr` | |
+|`cublasDsyr_v2` | |
+|`cublasCsyr` | |
+|`cublasCsyr_v2` | |
+|`cublasZsyr` | |
+|`cublasZsyr_v2` | |
+|`cublasCher` | |
+|`cublasCher_v2` | |
+|`cublasZher` | |
+|`cublasZher_v2` | |
+|`cublasSspr` | |
+|`cublasSspr_v2` | |
+|`cublasDspr` | |
+|`cublasDspr_v2` | |
+|`cublasChpr` | |
+|`cublasChpr_v2` | |
+|`cublasZhpr` | |
+|`cublasZhpr_v2` | |
+|`cublasSsyr2` | |
+|`cublasSsyr2_v2` | |
+|`cublasDsyr2` | |
+|`cublasDsyr2_v2` | |
+|`cublasCsyr2` | |
+|`cublasCsyr2_v2` | |
+|`cublasZsyr2` | |
+|`cublasZsyr2_v2` | |
+|`cublasCher2` | |
+|`cublasCher2_v2` | |
+|`cublasZher2` | |
+|`cublasZher2_v2` | |
+|`cublasSspr2` | |
+|`cublasSspr2_v2` | |
+|`cublasDspr2` | |
+|`cublasDspr2_v2` | |
+|`cublasChpr2` | |
+|`cublasChpr2_v2` | |
+|`cublasZhpr2` | |
+|`cublasZhpr2_v2` | |
+|`cublasSgemm` |`hipblasSgemm` |
+|`cublasSgemm_v2` |`hipblasSgemm` |
+|`cublasDgemm` |`hipblasDgemm` |
+|`cublasDgemm_v2` |`hipblasDgemm` |
+|`cublasCgemm` |`hipblasCgemm` |
+|`cublasCgemm_v2` |`hipblasCgemm` |
+|`cublasCgemm3m` | |
+|`cublasCgemm3mEx` | |
+|`cublasZgemm` | |
+|`cublasZgemm_v2` | |
+|`cublasZgemm3m` | |
+|`cublasHgemm` |`hipblasHgemm` |
+|`cublasSgemmEx` | |
+|`cublasGemmEx` | |
+|`cublasCgemmEx` | |
+|`cublasUint8gemmBias` | |
+|`cublasSsyrk` | |
+|`cublasSsyrk_v2` | |
+|`cublasDsyrk` | |
+|`cublasDsyrk_v2` | |
+|`cublasCsyrk` | |
+|`cublasCsyrk_v2` | |
+|`cublasZsyrk` | |
+|`cublasZsyrk_v2` | |
+|`cublasCsyrkEx` | |
+|`cublasCsyrk3mEx` | |
+|`cublasCherk` | |
+|`cublasCherk_v2` | |
+|`cublasZherk` | |
+|`cublasZherk_v2` | |
+|`cublasCherkEx` | |
+|`cublasCherk3mEx` | |
+|`cublasSsyr2k` | |
+|`cublasSsyr2k_v2` | |
+|`cublasDsyr2k` | |
+|`cublasDsyr2k_v2` | |
+|`cublasCsyr2k` | |
+|`cublasCsyr2k_v2` | |
+|`cublasZsyr2k` | |
+|`cublasZsyr2k_v2` | |
+|`cublasCher2k` | |
+|`cublasCher2k_v2` | |
+|`cublasZher2k` | |
+|`cublasZher2k_v2` | |
+|`cublasSsyrkx` | |
+|`cublasDsyrkx` | |
+|`cublasCsyrkx` | |
+|`cublasZsyrkx` | |
+|`cublasCherkx` | |
+|`cublasZherkx` | |
+|`cublasSsymm` | |
+|`cublasSsymm_v2` | |
+|`cublasDsymm` | |
+|`cublasDsymm_v2` | |
+|`cublasCsymm` | |
+|`cublasCsymm_v2` | |
+|`cublasZsymm` | |
+|`cublasZsymm_v2` | |
+|`cublasChemm` | |
+|`cublasChemm_v2` | |
+|`cublasZhemm` | |
+|`cublasZhemm_v2` | |
+|`cublasStrsm` |`hipblasStrsm` |
+|`cublasStrsm_v2` |`hipblasStrsm` |
+|`cublasDtrsm` |`hipblasDtrsm` |
+|`cublasDtrsm_v2` |`hipblasDtrsm` |
+|`cublasCtrsm` | |
+|`cublasCtrsm_v2` | |
+|`cublasZtrsm` | |
+|`cublasZtrsm_v2` | |
+|`cublasStrmm` | |
+|`cublasStrmm_v2` | |
+|`cublasDtrmm` | |
+|`cublasDtrmm_v2` | |
+|`cublasCtrmm` | |
+|`cublasCtrmm_v2` | |
+|`cublasZtrmm` | |
+|`cublasZtrmm_v2` | |
+|`cublasHgemmBatched` | |
+|`cublasSgemmBatched` |`hipblasSgemmBatched` |
+|`cublasDgemmBatched` |`hipblasDgemmBatched` |
+|`cublasCgemmBatched` | |
+|`cublasCgemm3mBatched` | |
+|`cublasZgemmBatched` | |
+|`cublasGemmBatchedEx` | |
+|`cublasGemmStridedBatchedEx` | |
+|`cublasSgemmStridedBatched` | |
+|`cublasDgemmStridedBatched` | |
+|`cublasCgemmStridedBatched` | |
+|`cublasCgemm3mStridedBatched` | |
+|`cublasZgemmStridedBatched` | |
+|`cublasHgemmStridedBatched` | |
+|`cublasSgeam` |`hipblasSgeam` |
+|`cublasDgeam` |`hipblasDgeam` |
+|`cublasCgeam` | |
+|`cublasZgeam` | |
+|`cublasSgetrfBatched` | |
+|`cublasDgetrfBatched` | |
+|`cublasCgetrfBatched` | |
+|`cublasZgetrfBatched` | |
+|`cublasSgetriBatched` | |
+|`cublasDgetriBatched` | |
+|`cublasCgetriBatched` | |
+|`cublasZgetriBatched` | |
+|`cublasSgetrsBatched` | |
+|`cublasDgetrsBatched` | |
+|`cublasCgetrsBatched` | |
+|`cublasZgetrsBatched` | |
+|`cublasStrsmBatched` | |
+|`cublasDtrsmBatched` | |
+|`cublasCtrsmBatched` | |
+|`cublasZtrsmBatched` | |
+|`cublasSmatinvBatched` | |
+|`cublasDmatinvBatched` | |
+|`cublasCmatinvBatched` | |
+|`cublasZmatinvBatched` | |
+|`cublasSgeqrfBatched` | |
+|`cublasDgeqrfBatched` | |
+|`cublasCgeqrfBatched` | |
+|`cublasZgeqrfBatched` | |
+|`cublasSgelsBatched` | |
+|`cublasDgelsBatched` | |
+|`cublasCgelsBatched` | |
+|`cublasZgelsBatched` | |
+|`cublasSdgmm` | |
+|`cublasDdgmm` | |
+|`cublasCdgmm` | |
+|`cublasZdgmm` | |
+|`cublasStpttr` | |
+|`cublasDtpttr` | |
+|`cublasCtpttr` | |
+|`cublasZtpttr` | |
+|`cublasStrttp` | |
+|`cublasDtrttp` | |
+|`cublasCtrttp` | |
+|`cublasZtrttp` | |
diff --git a/projects/hip/docs/markdown/CUFFT_API_supported_by_HIP.md b/projects/hip/docs/markdown/CUFFT_API_supported_by_HIP.md
new file mode 100644
index 0000000000..57a9d414b7
--- /dev/null
+++ b/projects/hip/docs/markdown/CUFFT_API_supported_by_HIP.md
@@ -0,0 +1,81 @@
+# CUFFT API supported by HIP
+
+## **1. CUFFT Data types**
+
+| **type** | **CUDA** | **HIP** |**HIP value** (if differs) |
+|-------------:|---------------------------------------------------------------|------------------------------------------------------------|---------------------------|
+| enum |***`cufftResult_t`*** |***`hipfftResult_t`*** |
+| enum |***`cufftResult`*** |***`hipfftResult`*** |
+| 0x0 |*`CUFFT_SUCCESS`* |*`HIPFFT_SUCCESS`* | 0 |
+| 0x1 |*`CUFFT_INVALID_PLAN`* |*`HIPFFT_INVALID_PLAN`* | 1 |
+| 0x2 |*`CUFFT_ALLOC_FAILED`* |*`HIPFFT_ALLOC_FAILED`* | 2 |
+| 0x3 |*`CUFFT_INVALID_TYPE`* |*`HIPFFT_INVALID_TYPE`* | 3 |
+| 0x4 |*`CUFFT_INVALID_VALUE`* |*`HIPFFT_INVALID_VALUE`* | 4 |
+| 0x5 |*`CUFFT_INTERNAL_ERROR`* |*`HIPFFT_INTERNAL_ERROR`* | 5 |
+| 0x6 |*`CUFFT_EXEC_FAILED`* |*`HIPFFT_EXEC_FAILED`* | 6 |
+| 0x7 |*`CUFFT_SETUP_FAILED`* |*`HIPFFT_SETUP_FAILED`* | 7 |
+| 0x8 |*`CUFFT_I;NVALID_SIZE`* |*`HIPFFT_INVALID_SIZE`* | 8 |
+| 0x9 |*`CUFFT_UNALIGNED_DATA`* |*`HIPFFT_UNALIGNED_DATA`* | 9 |
+| 0xA |*`CUFFT_INCOMPLETE_PARAMETER_LIST`* |*`HIPFFT_INCOMPLETE_PARAMETER_LIST`* | 10 |
+| 0xB |*`CUFFT_INVALID_DEVICE`* |*`HIPFFT_INVALID_DEVICE`* | 11 |
+| 0xC |*`CUFFT_PARSE_ERROR`* |*`HIPFFT_PARSE_ERROR`* | 12 |
+| 0xD |*`CUFFT_NO_WORKSPACE`* |*`HIPFFT_NO_WORKSPACE`* | 13 |
+| 0xE |*`CUFFT_NOT_IMPLEMENTED`* |*`HIPFFT_NOT_IMPLEMENTED`* | 14 |
+| 0xF |*`CUFFT_LICENSE_ERROR`* | |
+| 0x10 |*`CUFFT_NOT_SUPPORTED`* |*`HIPFFT_NOT_SUPPORTED`* | 16 |
+| float |***`cufftReal`*** |***`hipfftReal`*** |
+| double |***`cufftDoubleReal`*** |***`hipfftDoubleReal`*** |
+| float2 |***`cufftComplex`*** |***`hipfftComplex`*** |
+| double2 |***`cufftDoubleComplex`*** |***`hipfftDoubleComplex`*** |
+| define |`CUFFT_FORWARD` |`HIPFFT_FORWARD` |
+| define |`CUFFT_INVERSE` |`HIPFFT_BACKWARD` |
+| enum |***`cufftType_t`*** |***`hipfftType_t`*** |
+| enum |***`cufftType`*** |***`hipfftType`*** |
+| 0x2a |*`CUFFT_R2C`* |*`HIPFFT_R2C`* |
+| 0x2c |*`CUFFT_C2R`* |*`HIPFFT_C2R`* |
+| 0x29 |*`CUFFT_C2C`* |*`HIPFFT_C2C`* |
+| 0x6a |*`CUFFT_D2Z`* |*`HIPFFT_D2Z`* |
+| 0x6c |*`CUFFT_Z2D`* |*`HIPFFT_Z2D`* |
+| 0x69 |*`CUFFT_Z2Z`* |*`HIPFFT_Z2Z`* |
+| enum |***`cufftCompatibility_t`*** | |
+| enum |***`cufftCompatibility`*** | |
+| 0x01 |*`CUFFT_COMPATIBILITY_FFTW_PADDING`* | |
+| define |`CUFFT_COMPATIBILITY_DEFAULT` | |
+| int |***`cufftHandle`*** |***`hipfftHandle`*** |
+
+## **2. CUFFT API functions**
+
+| **CUDA** | **HIP** |
+|-----------------------------------------------------------|-------------------------------------------------|
+|`cufftPlan1d` |`hipfftPlan1d` |
+|`cufftPlan2d` |`hipfftPlan2d` |
+|`cufftPlan3d` |`hipfftPlan3d` |
+|`cufftPlanMany` |`hipfftPlanMany` |
+|`cufftMakePlan1d` |`hipfftMakePlan1d` |
+|`cufftMakePlan2d` |`hipfftMakePlan2d` |
+|`cufftMakePlan3d` |`hipfftMakePlan3d` |
+|`cufftMakePlanMany` |`hipfftMakePlanMany` |
+|`cufftMakePlanMany64` |`hipfftMakePlanMany64` |
+|`cufftGetSizeMany64` |`hipfftGetSizeMany64` |
+|`cufftEstimate1d` |`hipfftEstimate1d` |
+|`cufftEstimate2d` |`hipfftEstimate2d` |
+|`cufftEstimate3d` |`hipfftEstimate3d` |
+|`cufftEstimateMany` |`hipfftEstimateMany` |
+|`cufftCreate` |`hipfftCreate` |
+|`cufftGetSize1d` |`hipfftGetSize1d` |
+|`cufftGetSize2d` |`hipfftGetSize2d` |
+|`cufftGetSize3d` |`hipfftGetSize3d` |
+|`cufftGetSizeMany` |`hipfftGetSizeMany` |
+|`cufftGetSize` |`hipfftGetSize` |
+|`cufftSetWorkArea` |`hipfftSetWorkArea` |
+|`cufftSetAutoAllocation` |`hipfftSetAutoAllocation` |
+|`cufftExecC2C` |`hipfftExecC2C` |
+|`cufftExecR2C` |`hipfftExecR2C` |
+|`cufftExecC2R` |`hipfftExecC2R` |
+|`cufftExecZ2Z` |`hipfftExecZ2Z` |
+|`cufftExecD2Z` |`hipfftExecD2Z` |
+|`cufftExecZ2D` |`hipfftExecZ2D` |
+|`cufftSetStream` |`hipfftSetStream` |
+|`cufftDestroy` |`hipfftDestroy` |
+|`cufftGetVersion` |`hipfftGetVersion` |
+|`cufftGetProperty` | |
diff --git a/projects/hip/hipify-clang/README.md b/projects/hip/hipify-clang/README.md
index e099085ca6..d5a825033d 100644
--- a/projects/hip/hipify-clang/README.md
+++ b/projects/hip/hipify-clang/README.md
@@ -6,19 +6,30 @@
-- [Using hipify-clang](#using-hipify-clang)
- * [Build and install](#build-and-install)
- * [Running and using hipify-clang](#running-and-using-hipify-clang)
+- [Supported CUDA APIs](#cuda-apis)
+- [Dependencies](#dependencies)
+- [Build and install](#build-and-install)
+ * [Building](#building)
+ * [Testing](#testing)
+ * [Windows](#windows)
+- [Running and using hipify-clang](#running-and-using-hipify-clang)
- [Disclaimer](#disclaimer)
-## Build and install
+## Supported CUDA APIs
-### Dependencies
+- [Runtime API](../docs/markdown/CUDA_Runtime_API_functions_supported_by_HIP.md)
+- [Driver API](../docs/markdown/CUDA_Driver_API_functions_supported_by_HIP.md)
+- [cuBLAS](../docs/markdown/CUBLAS_API_supported_by_HIP.md)
+- [cuRAND](../docs/markdown/CURAND_API_supported_by_HIP.md)
+- [cuDNN](../docs/markdown/CUDNN_API_supported_by_HIP.md)
+- [cuFFT](../docs/markdown/CUFFT_API_supported_by_HIP.md)
+
+## Dependencies
`hipify-clang` requires:
-1. LLVM+CLANG of at least version 3.8.0, latest stable release is 6.0.0.
+1. LLVM+CLANG of at least version 3.8.0, latest stable and recommended release is 6.0.1.
2. CUDA at least version 7.5, latest supported release is 9.0.
| **LLVM release version** | **CUDA latest supported version** |
@@ -38,10 +49,11 @@
In most cases, you can get a suitable version of LLVM+CLANG with your package manager.
Failing that or having multiple versions of LLVM, you can [download a release archive](http://releases.llvm.org/), build or install it, and set
-[CMAKE_PREFIX_PATH](https://cmake.org/cmake/help/v3.0/variable/CMAKE_PREFIX_PATH.html) so `cmake` can find it; for instance: `-DCMAKE_PREFIX_PATH=f:\LLVM\6.0.0\dist`
+[CMAKE_PREFIX_PATH](https://cmake.org/cmake/help/v3.10/variable/CMAKE_PREFIX_PATH.html) so `cmake` can find it; for instance: `-DCMAKE_PREFIX_PATH=f:\LLVM\6.0.1\dist`
-### Build
+## Build and install
+### Build
Assuming this repository is at `./HIP`:
@@ -64,14 +76,14 @@ Debug build type `-DCMAKE_BUILD_TYPE=Debug` is also supported and tested, `LLVM+
The binary can then be found at `./dist/bin/hipify-clang`.
-### Test
+### Test
`hipify-clang` has unit tests using LLVM [`lit`](https://llvm.org/docs/CommandGuide/lit.html)/[`FileCheck`](https://llvm.org/docs/CommandGuide/FileCheck.html).
**LLVM+CLANG should be built from sources, Pre-Built Binaries are not exhaustive for testing.**
To run it:
-1. Download [`LLVM`](http://releases.llvm.org/6.0.0/llvm-6.0.0.src.tar.xz)+[`CLANG`](http://releases.llvm.org/6.0.0/cfe-6.0.0.src.tar.xz) sources.
+1. Download [`LLVM`](http://releases.llvm.org/6.0.1/llvm-6.0.1.src.tar.xz)+[`CLANG`](http://releases.llvm.org/6.0.1/cfe-6.0.1.src.tar.xz) sources.
2. Build [`LLVM+CLANG`](http://llvm.org/docs/CMake.html).
For instance:
```shell
@@ -110,21 +122,21 @@ To run it:
6. Ensure `lit` and `FileCheck` are installed - these are distributed with LLVM.
* installing `lit` into `python` might be required:
- `python f:/LLVM/6.0.0/llvm/utils/lit/setup.py install`,
+ `python f:/LLVM/6.0.1/llvm/utils/lit/setup.py install`,
- where `f:/LLVM/6.0.0/llvm` is LLVM sources root directory.
+ where `f:/LLVM/6.0.1/llvm` is LLVM sources root directory.
- * Starting with LLVM 6.0.0 path to llvm-lit.py script should be specified by the `LLVM_EXTERNAL_LIT` option:
+ * Starting with LLVM 6.0.1 path to llvm-lit.py script should be specified by the `LLVM_EXTERNAL_LIT` option:
- `-DLLVM_EXTERNAL_LIT=f:/LLVM/6.0.0/build/Release/bin/llvm-lit.py`,
+ `-DLLVM_EXTERNAL_LIT=f:/LLVM/6.0.1/build/Release/bin/llvm-lit.py`,
- where `f:/LLVM/6.0.0/build/Release` is LLVM build directory.
+ where `f:/LLVM/6.0.1/build/Release` is LLVM build directory.
7. Build with the `HIPIFY_CLANG_TESTS` option turned on: -DHIPIFY_CLANG_TESTS=1.
8. `make test-hipify`
On Windows after `cmake` the project `test-hipify` in the generated `hipify-clang.sln` should be built by `Visual Studio 15 2017` instead of `make test-hipify`.
-### Windows
+### Windows
On Windows the following configurations are tested:
@@ -144,30 +156,30 @@ cmake
-DHIPIFY_CLANG_TESTS=1 \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=../dist \
- -DCMAKE_PREFIX_PATH=f:/LLVM/6.0.0/dist \
+ -DCMAKE_PREFIX_PATH=f:/LLVM/6.0.1/dist \
-DCUDA_TOOLKIT_ROOT_DIR="c:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.0" \
-DCUDA_SDK_ROOT_DIR="c:/ProgramData/NVIDIA Corporation/CUDA Samples/v9.0" \
-DCUDA_DNN_ROOT_DIR=f:/CUDNN/cudnn-9.0-windows10-x64-v7.1 \
- -DLLVM_EXTERNAL_LIT=f:/LLVM/6.0.0/build/Release/bin/llvm-lit.py \
+ -DLLVM_EXTERNAL_LIT=f:/LLVM/6.0.1/build/Release/bin/llvm-lit.py \
-Thost=x64
..
```
A corresponding successful output:
```shell
--- Found LLVM 6.0.0:
--- - CMake module path: F:/LLVM/6.0.0/dist/lib/cmake/llvm
--- - Include path : F:/LLVM/6.0.0/dist/include
--- - Binary path : F:/LLVM/6.0.0/dist/bin
+-- Found LLVM 6.0.1:
+-- - CMake module path: F:/LLVM/6.0.1/dist/lib/cmake/llvm
+-- - Include path : F:/LLVM/6.0.1/dist/include
+-- - Binary path : F:/LLVM/6.0.1/dist/bin
-- Found PythonInterp: C:/Program Files/Python36/python.exe (found suitable version "3.6.4", minimum required is "2.7")
-- Found lit: C:/Program Files/Python36/Scripts/lit.exe
--- Found FileCheck: F:/LLVM/6.0.0/dist/bin/FileCheck.exe
+-- Found FileCheck: F:/LLVM/6.0.1/dist/bin/FileCheck.exe
-- Found CUDA: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.0 (found version "9.0")
-- Configuring done
-- Generating done
-- Build files have been written to: f:/HIP/hipify-clang/build
```
-## Running and using hipify-clang
+## Running and using hipify-clang
To process a file, `hipify-clang` needs access to the same headers that would be needed to compile it with clang.
@@ -188,7 +200,7 @@ may be useful.
For a list of `hipify-clang` options, run `hipify-clang --help`.
-## Disclaimer
+## Disclaimer
The information contained herein is for informational purposes only, and is subject to change without notice. While every precaution has been taken in the preparation of this document, it may contain technical inaccuracies, omissions and typographical errors, and AMD is under no obligation to update or otherwise correct this information. Advanced Micro Devices, Inc. makes no representations or warranties with respect to the accuracy or completeness of the contents of this document, and assumes no liability of any kind, including the implied warranties of noninfringement, merchantability or fitness for particular purposes, with respect to the operation or use of AMD hardware, software or other products described herein. No license, including implied or arising by estoppel, to any intellectual property rights is granted by this document. Terms and limitations applicable to the purchase or use of AMD's products are as set forth in a signed agreement between the parties or in AMD's Standard Terms and Conditions of Sale.
diff --git a/projects/hip/hipify-clang/src/CUDA2HipMap.cpp b/projects/hip/hipify-clang/src/CUDA2HipMap.cpp
index 9939e8d913..ca53738abb 100644
--- a/projects/hip/hipify-clang/src/CUDA2HipMap.cpp
+++ b/projects/hip/hipify-clang/src/CUDA2HipMap.cpp
@@ -395,7 +395,10 @@ const std::map CUDA_INCLUDE_MAP{
{"curand_uniform.h", {"hiprand_kernel.h", CONV_INCLUDE, API_RAND}},
// CUDNN includes
- {"cudnn.h", {"hipDNN.h", CONV_INCLUDE_CUDA_MAIN_H, API_RAND}},
+ {"cudnn.h", {"hipDNN.h", CONV_INCLUDE_CUDA_MAIN_H, API_DNN}},
+
+ // CUDNN includes
+ {"cufft.h", {"hipfft.h", CONV_INCLUDE_CUDA_MAIN_H, API_FFT}},
// HIP includes
// TODO: uncomment this when hip/cudacommon.h will be renamed to hip/hipcommon.h
@@ -2064,18 +2067,7 @@ const std::map CUDA_IDENTIFIER_MAP{
{"cudaGraphicsResourceGetMappedEglFrame", {"hipGraphicsResourceGetMappedEglFrame", CONV_EGL, API_RUNTIME, HIP_UNSUPPORTED}}, // API_Driver ANALOGUE (cuGraphicsResourceGetMappedEglFrame)
///////////////////////////// cuBLAS /////////////////////////////
- // Blas management functions
- {"cublasInit", {"hipblasInit", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasShutdown", {"hipblasShutdown", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasGetVersion", {"hipblasGetVersion", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasGetError", {"hipblasGetError", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasAlloc", {"hipblasAlloc", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasFree", {"hipblasFree", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasSetKernelStream", {"hipblasSetKernelStream", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasGetAtomicsMode", {"hipblasGetAtomicsMode", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasSetAtomicsMode", {"hipblasSetAtomicsMode", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasGetMathMode", {"hipblasGetMathMode", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasSetMathMode", {"hipblasSetMathMode", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ // Blas Data Types
// Blas operations
{"cublasOperation_t", {"hipblasOperation_t", CONV_TYPE, API_BLAS}},
@@ -2084,6 +2076,7 @@ const std::map CUDA_IDENTIFIER_MAP{
{"CUBLAS_OP_C", {"HIPBLAS_OP_C", CONV_NUMERIC_LITERAL, API_BLAS}},
// Blas statuses
+ {"cublasStatus", {"hipblasStatus_t", CONV_TYPE, API_BLAS}},
{"cublasStatus_t", {"hipblasStatus_t", CONV_TYPE, API_BLAS}},
{"CUBLAS_STATUS_SUCCESS", {"HIPBLAS_STATUS_SUCCESS", CONV_NUMERIC_LITERAL, API_BLAS}},
{"CUBLAS_STATUS_NOT_INITIALIZED", {"HIPBLAS_STATUS_NOT_INITIALIZED", CONV_NUMERIC_LITERAL, API_BLAS}},
@@ -2094,6 +2087,7 @@ const std::map CUDA_IDENTIFIER_MAP{
{"CUBLAS_STATUS_INTERNAL_ERROR", {"HIPBLAS_STATUS_INTERNAL_ERROR", CONV_NUMERIC_LITERAL, API_BLAS}},
{"CUBLAS_STATUS_NOT_SUPPORTED", {"HIPBLAS_STATUS_NOT_SUPPORTED", CONV_NUMERIC_LITERAL, API_BLAS}},
{"CUBLAS_STATUS_ARCH_MISMATCH", {"HIPBLAS_STATUS_ARCH_MISMATCH", CONV_NUMERIC_LITERAL, API_BLAS}},
+ {"CUBLAS_STATUS_LICENSE_ERROR", {"HIPBLAS_STATUS_LICENSE_ERROR", CONV_NUMERIC_LITERAL, API_BLAS, HIP_UNSUPPORTED}},
// Blas Fill Modes
{"cublasFillMode_t", {"hipblasFillMode_t", CONV_TYPE, API_BLAS}},
@@ -2154,6 +2148,12 @@ const std::map CUDA_IDENTIFIER_MAP{
{"CUBLAS_GEMM_ALGO15", {"HIPBLAS_GEMM_ALGO15", CONV_NUMERIC_LITERAL, API_BLAS, HIP_UNSUPPORTED}}, // 15
{"CUBLAS_GEMM_ALGO16", {"HIPBLAS_GEMM_ALGO16", CONV_NUMERIC_LITERAL, API_BLAS, HIP_UNSUPPORTED}}, // 16
{"CUBLAS_GEMM_ALGO17", {"HIPBLAS_GEMM_ALGO17", CONV_NUMERIC_LITERAL, API_BLAS, HIP_UNSUPPORTED}}, // 17
+ {"CUBLAS_GEMM_ALGO18", {"HIPBLAS_GEMM_ALGO18", CONV_NUMERIC_LITERAL, API_BLAS, HIP_UNSUPPORTED}}, // 18
+ {"CUBLAS_GEMM_ALGO19", {"HIPBLAS_GEMM_ALGO19", CONV_NUMERIC_LITERAL, API_BLAS, HIP_UNSUPPORTED}}, // 19
+ {"CUBLAS_GEMM_ALGO20", {"HIPBLAS_GEMM_ALGO20", CONV_NUMERIC_LITERAL, API_BLAS, HIP_UNSUPPORTED}}, // 20
+ {"CUBLAS_GEMM_ALGO21", {"HIPBLAS_GEMM_ALGO21", CONV_NUMERIC_LITERAL, API_BLAS, HIP_UNSUPPORTED}}, // 21
+ {"CUBLAS_GEMM_ALGO22", {"HIPBLAS_GEMM_ALGO22", CONV_NUMERIC_LITERAL, API_BLAS, HIP_UNSUPPORTED}}, // 22
+ {"CUBLAS_GEMM_ALGO23", {"HIPBLAS_GEMM_ALGO23", CONV_NUMERIC_LITERAL, API_BLAS, HIP_UNSUPPORTED}}, // 23
{"CUBLAS_GEMM_DEFAULT_TENSOR_OP", {"HIPBLAS_GEMM_DEFAULT_TENSOR_OP", CONV_NUMERIC_LITERAL, API_BLAS, HIP_UNSUPPORTED}}, // 99
{"CUBLAS_GEMM_DFALT_TENSOR_OP", {"HIPBLAS_GEMM_DFALT_TENSOR_OP", CONV_NUMERIC_LITERAL, API_BLAS, HIP_UNSUPPORTED}}, // 99
{"CUBLAS_GEMM_ALGO0_TENSOR_OP", {"HIPBLAS_GEMM_ALGO0_TENSOR_OP", CONV_NUMERIC_LITERAL, API_BLAS, HIP_UNSUPPORTED}}, // 100
@@ -2161,647 +2161,675 @@ const std::map CUDA_IDENTIFIER_MAP{
{"CUBLAS_GEMM_ALGO2_TENSOR_OP", {"HIPBLAS_GEMM_ALGO2_TENSOR_OP", CONV_NUMERIC_LITERAL, API_BLAS, HIP_UNSUPPORTED}}, // 102
{"CUBLAS_GEMM_ALGO3_TENSOR_OP", {"HIPBLAS_GEMM_ALGO3_TENSOR_OP", CONV_NUMERIC_LITERAL, API_BLAS, HIP_UNSUPPORTED}}, // 103
{"CUBLAS_GEMM_ALGO4_TENSOR_OP", {"HIPBLAS_GEMM_ALGO4_TENSOR_OP", CONV_NUMERIC_LITERAL, API_BLAS, HIP_UNSUPPORTED}}, // 104
+ {"CUBLAS_GEMM_ALGO5_TENSOR_OP", {"HIPBLAS_GEMM_ALGO5_TENSOR_OP", CONV_NUMERIC_LITERAL, API_BLAS, HIP_UNSUPPORTED}}, // 105
+ {"CUBLAS_GEMM_ALGO6_TENSOR_OP", {"HIPBLAS_GEMM_ALGO6_TENSOR_OP", CONV_NUMERIC_LITERAL, API_BLAS, HIP_UNSUPPORTED}}, // 106
+ {"CUBLAS_GEMM_ALGO7_TENSOR_OP", {"HIPBLAS_GEMM_ALGO7_TENSOR_OP", CONV_NUMERIC_LITERAL, API_BLAS, HIP_UNSUPPORTED}}, // 107
+ {"CUBLAS_GEMM_ALGO8_TENSOR_OP", {"HIPBLAS_GEMM_ALGO8_TENSOR_OP", CONV_NUMERIC_LITERAL, API_BLAS, HIP_UNSUPPORTED}}, // 108
+ {"CUBLAS_GEMM_ALGO9_TENSOR_OP", {"HIPBLAS_GEMM_ALGO9_TENSOR_OP", CONV_NUMERIC_LITERAL, API_BLAS, HIP_UNSUPPORTED}}, // 109
+ {"CUBLAS_GEMM_ALGO10_TENSOR_OP", {"HIPBLAS_GEMM_ALGO10_TENSOR_OP", CONV_NUMERIC_LITERAL, API_BLAS, HIP_UNSUPPORTED}}, // 110
+ {"CUBLAS_GEMM_ALGO11_TENSOR_OP", {"HIPBLAS_GEMM_ALGO11_TENSOR_OP", CONV_NUMERIC_LITERAL, API_BLAS, HIP_UNSUPPORTED}}, // 111
+ {"CUBLAS_GEMM_ALGO12_TENSOR_OP", {"HIPBLAS_GEMM_ALGO12_TENSOR_OP", CONV_NUMERIC_LITERAL, API_BLAS, HIP_UNSUPPORTED}}, // 112
+ {"CUBLAS_GEMM_ALGO13_TENSOR_OP", {"HIPBLAS_GEMM_ALGO13_TENSOR_OP", CONV_NUMERIC_LITERAL, API_BLAS, HIP_UNSUPPORTED}}, // 113
+ {"CUBLAS_GEMM_ALGO14_TENSOR_OP", {"HIPBLAS_GEMM_ALGO14_TENSOR_OP", CONV_NUMERIC_LITERAL, API_BLAS, HIP_UNSUPPORTED}}, // 114
+ {"CUBLAS_GEMM_ALGO15_TENSOR_OP", {"HIPBLAS_GEMM_ALGO15_TENSOR_OP", CONV_NUMERIC_LITERAL, API_BLAS, HIP_UNSUPPORTED}}, // 115
+
+ ///////////////////////////// cuBLAS functions /////////////////////////////
+ // Blas management functions
+ {"cublasInit", {"hipblasInit", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasShutdown", {"hipblasShutdown", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasGetVersion", {"hipblasGetVersion", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasGetError", {"hipblasGetError", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasAlloc", {"hipblasAlloc", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasFree", {"hipblasFree", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSetKernelStream", {"hipblasSetKernelStream", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasGetAtomicsMode", {"hipblasGetAtomicsMode", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSetAtomicsMode", {"hipblasSetAtomicsMode", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasGetMathMode", {"hipblasGetMathMode", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSetMathMode", {"hipblasSetMathMode", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+
+ // Blas logging
+ {"cublasLogCallback", {"hipblasLogCallback", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasLoggerConfigure", {"hipblasLoggerConfigure", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSetLoggerCallback", {"hipblasSetLoggerCallback", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasGetLoggerCallback", {"hipblasGetLoggerCallback", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// Blas1 (v1) Routines
- {"cublasCreate", {"hipblasCreate", CONV_MATH_FUNC, API_BLAS}},
- {"cublasDestroy", {"hipblasDestroy", CONV_MATH_FUNC, API_BLAS}},
-
- {"cublasSetVector", {"hipblasSetVector", CONV_MATH_FUNC, API_BLAS}},
- {"cublasGetVector", {"hipblasGetVector", CONV_MATH_FUNC, API_BLAS}},
- {"cublasSetVectorAsync", {"hipblasSetVectorAsync", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasGetVectorAsync", {"hipblasGetVectorAsync", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
-
- {"cublasSetMatrix", {"hipblasSetMatrix", CONV_MATH_FUNC, API_BLAS}},
- {"cublasGetMatrix", {"hipblasGetMatrix", CONV_MATH_FUNC, API_BLAS}},
- {"cublasGetMatrixAsync", {"hipblasGetMatrixAsync", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasSetMatrixAsync", {"hipblasSetMatrixAsync", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
-
- {"cublasXerbla", {"hipblasXerbla", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCreate", {"hipblasCreate", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasDestroy", {"hipblasDestroy", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasSetStream", {"hipblasSetStream", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasGetStream", {"hipblasGetStream", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasGetPointerMode", {"hipblasGetPointerMode", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasSetPointerMode", {"hipblasSetPointerMode", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasSetVector", {"hipblasSetVector", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasGetVector", {"hipblasGetVector", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasSetVectorAsync", {"hipblasSetVectorAsync", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasGetVectorAsync", {"hipblasGetVectorAsync", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSetMatrix", {"hipblasSetMatrix", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasGetMatrix", {"hipblasGetMatrix", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasGetMatrixAsync", {"hipblasGetMatrixAsync", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSetMatrixAsync", {"hipblasSetMatrixAsync", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasXerbla", {"hipblasXerbla", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// NRM2
- {"cublasSnrm2", {"hipblasSnrm2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDnrm2", {"hipblasDnrm2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasScnrm2", {"hipblasScnrm2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDznrm2", {"hipblasDznrm2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
-
- {"cublasNrm2Ex", {"hipblasNrm2Ex", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSnrm2", {"hipblasSnrm2", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasDnrm2", {"hipblasDnrm2", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasScnrm2", {"hipblasScnrm2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDznrm2", {"hipblasDznrm2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasNrm2Ex", {"hipblasNrm2Ex", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// DOT
- {"cublasSdot", {"hipblasSdot", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasSdot", {"hipblasSdot", CONV_MATH_FUNC, API_BLAS}},
// there is no such a function in CUDA
- {"cublasSdotBatched", {"hipblasSdotBatched", CONV_MATH_FUNC, API_BLAS}},
- {"cublasDdot", {"hipblasDdot", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasSdotBatched", {"hipblasSdotBatched", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasDdot", {"hipblasDdot", CONV_MATH_FUNC, API_BLAS}},
// there is no such a function in CUDA
- {"cublasDdotBatched", {"hipblasDdotBatched", CONV_MATH_FUNC, API_BLAS}},
- {"cublasCdotu", {"hipblasCdotu", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCdotc", {"hipblasCdotc", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZdotu", {"hipblasZdotu", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZdotc", {"hipblasZdotc", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDdotBatched", {"hipblasDdotBatched", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasCdotu", {"hipblasCdotu", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCdotc", {"hipblasCdotc", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZdotu", {"hipblasZdotu", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZdotc", {"hipblasZdotc", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// SCAL
- {"cublasSscal", {"hipblasSscal", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasSscal", {"hipblasSscal", CONV_MATH_FUNC, API_BLAS}},
// there is no such a function in CUDA
- {"cublasSscalBatched", {"hipblasSscalBatched", CONV_MATH_FUNC, API_BLAS}},
- {"cublasDscal", {"hipblasDscal", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasSscalBatched", {"hipblasSscalBatched", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasDscal", {"hipblasDscal", CONV_MATH_FUNC, API_BLAS}},
// there is no such a function in CUDA
- {"cublasDscalBatched", {"hipblasDscalBatched", CONV_MATH_FUNC, API_BLAS}},
- {"cublasCscal", {"hipblasCscal", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCsscal", {"hipblasCsscal", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZscal", {"hipblasZscal", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZdscal", {"hipblasZdscal", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDscalBatched", {"hipblasDscalBatched", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasCscal", {"hipblasCscal", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCsscal", {"hipblasCsscal", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZscal", {"hipblasZscal", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZdscal", {"hipblasZdscal", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// AXPY
- {"cublasSaxpy", {"hipblasSaxpy", CONV_MATH_FUNC, API_BLAS}},
- {"cublasSaxpyBatched", {"hipblasSaxpyBatched", CONV_MATH_FUNC, API_BLAS}},
- {"cublasDaxpy", {"hipblasDaxpy", CONV_MATH_FUNC, API_BLAS}},
- {"cublasCaxpy", {"hipblasCaxpy", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZaxpy", {"hipblasZaxpy", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSaxpy", {"hipblasSaxpy", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasSaxpyBatched", {"hipblasSaxpyBatched", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasDaxpy", {"hipblasDaxpy", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasCaxpy", {"hipblasCaxpy", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZaxpy", {"hipblasZaxpy", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// COPY
- {"cublasScopy", {"hipblasScopy", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasScopy", {"hipblasScopy", CONV_MATH_FUNC, API_BLAS}},
// there is no such a function in CUDA
- {"cublasScopyBatched", {"hipblasScopyBatched", CONV_MATH_FUNC, API_BLAS}},
- {"cublasDcopy", {"hipblasDcopy", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasScopyBatched", {"hipblasScopyBatched", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasDcopy", {"hipblasDcopy", CONV_MATH_FUNC, API_BLAS}},
// there is no such a function in CUDA
- {"cublasDcopyBatched", {"hipblasDcopyBatched", CONV_MATH_FUNC, API_BLAS}},
- {"cublasCcopy", {"hipblasCcopy", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZcopy", {"hipblasZcopy", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDcopyBatched", {"hipblasDcopyBatched", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasCcopy", {"hipblasCcopy", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZcopy", {"hipblasZcopy", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// SWAP
- {"cublasSswap", {"hipblasSswap", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDswap", {"hipblasDswap", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCswap", {"hipblasCswap", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZswap", {"hipblasZswap", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSswap", {"hipblasSswap", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDswap", {"hipblasDswap", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCswap", {"hipblasCswap", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZswap", {"hipblasZswap", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// AMAX
- {"cublasIsamax", {"hipblasIsamax", CONV_MATH_FUNC, API_BLAS}},
- {"cublasIdamax", {"hipblasIdamax", CONV_MATH_FUNC, API_BLAS}},
- {"cublasIcamax", {"hipblasIcamax", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasIzamax", {"hipblasIzamax", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasIsamax", {"hipblasIsamax", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasIdamax", {"hipblasIdamax", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasIcamax", {"hipblasIcamax", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasIzamax", {"hipblasIzamax", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// AMIN
- {"cublasIsamin", {"hipblasIsamin", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasIdamin", {"hipblasIdamin", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasIcamin", {"hipblasIcamin", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasIzamin", {"hipblasIzamin", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasIsamin", {"hipblasIsamin", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasIdamin", {"hipblasIdamin", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasIcamin", {"hipblasIcamin", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasIzamin", {"hipblasIzamin", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// ASUM
- {"cublasSasum", {"hipblasSasum", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasSasum", {"hipblasSasum", CONV_MATH_FUNC, API_BLAS}},
// there is no such a function in CUDA
- {"cublasSasumBatched", {"hipblasSasumBatched", CONV_MATH_FUNC, API_BLAS}},
- {"cublasDasum", {"hipblasDasum", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasSasumBatched", {"hipblasSasumBatched", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasDasum", {"hipblasDasum", CONV_MATH_FUNC, API_BLAS}},
// there is no such a function in CUDA
- {"cublasDasumBatched", {"hipblasDasumBatched", CONV_MATH_FUNC, API_BLAS}},
- {"cublasScasum", {"hipblasScasum", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDzasum", {"hipblasDzasum", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDasumBatched", {"hipblasDasumBatched", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasScasum", {"hipblasScasum", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDzasum", {"hipblasDzasum", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// ROT
- {"cublasSrot", {"hipblasSrot", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDrot", {"hipblasDrot", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCrot", {"hipblasCrot", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCsrot", {"hipblasCsrot", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZrot", {"hipblasZrot", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZdrot", {"hipblasZdrot", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSrot", {"hipblasSrot", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDrot", {"hipblasDrot", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCrot", {"hipblasCrot", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCsrot", {"hipblasCsrot", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZrot", {"hipblasZrot", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZdrot", {"hipblasZdrot", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// ROTG
- {"cublasSrotg", {"hipblasSrotg", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDrotg", {"hipblasDrotg", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCrotg", {"hipblasCrotg", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZrotg", {"hipblasZrotg", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSrotg", {"hipblasSrotg", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDrotg", {"hipblasDrotg", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCrotg", {"hipblasCrotg", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZrotg", {"hipblasZrotg", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// ROTM
- {"cublasSrotm", {"hipblasSrotm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDrotm", {"hipblasDrotm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSrotm", {"hipblasSrotm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDrotm", {"hipblasDrotm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// ROTMG
- {"cublasSrotmg", {"hipblasSrotmg", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDrotmg", {"hipblasDrotmg", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSrotmg", {"hipblasSrotmg", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDrotmg", {"hipblasDrotmg", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// GEMV
- {"cublasSgemv", {"hipblasSgemv", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasSgemv", {"hipblasSgemv", CONV_MATH_FUNC, API_BLAS}},
// there is no such a function in CUDA
- {"cublasSgemvBatched", {"hipblasSgemvBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDgemv", {"hipblasDgemv", CONV_MATH_FUNC, API_BLAS}},
- {"cublasCgemv", {"hipblasCgemv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZgemv", {"hipblasZgemv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSgemvBatched", {"hipblasSgemvBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDgemv", {"hipblasDgemv", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasCgemv", {"hipblasCgemv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZgemv", {"hipblasZgemv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// GBMV
- {"cublasSgbmv", {"hipblasSgbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDgbmv", {"hipblasDgbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCgbmv", {"hipblasCgbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZgbmv", {"hipblasZgbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSgbmv", {"hipblasSgbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDgbmv", {"hipblasDgbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCgbmv", {"hipblasCgbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZgbmv", {"hipblasZgbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// TRMV
- {"cublasStrmv", {"hipblasStrmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDtrmv", {"hipblasDtrmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCtrmv", {"hipblasCtrmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZtrmv", {"hipblasZtrmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasStrmv", {"hipblasStrmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDtrmv", {"hipblasDtrmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCtrmv", {"hipblasCtrmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZtrmv", {"hipblasZtrmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// TBMV
- {"cublasStbmv", {"hipblasStbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDtbmv", {"hipblasDtbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCtbmv", {"hipblasCtbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZtbmv", {"hipblasZtbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasStbmv", {"hipblasStbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDtbmv", {"hipblasDtbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCtbmv", {"hipblasCtbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZtbmv", {"hipblasZtbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// TPMV
- {"cublasStpmv", {"hipblasStpmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDtpmv", {"hipblasDtpmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCtpmv", {"hipblasCtpmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZtpmv", {"hipblasZtpmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasStpmv", {"hipblasStpmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDtpmv", {"hipblasDtpmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCtpmv", {"hipblasCtpmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZtpmv", {"hipblasZtpmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// TRSV
- {"cublasStrsv", {"hipblasStrsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDtrsv", {"hipblasDtrsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCtrsv", {"hipblasCtrsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZtrsv", {"hipblasZtrsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasStrsv", {"hipblasStrsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDtrsv", {"hipblasDtrsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCtrsv", {"hipblasCtrsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZtrsv", {"hipblasZtrsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// TPSV
- {"cublasStpsv", {"hipblasStpsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDtpsv", {"hipblasDtpsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCtpsv", {"hipblasCtpsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZtpsv", {"hipblasZtpsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasStpsv", {"hipblasStpsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDtpsv", {"hipblasDtpsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCtpsv", {"hipblasCtpsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZtpsv", {"hipblasZtpsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// TBSV
- {"cublasStbsv", {"hipblasStbsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDtbsv", {"hipblasDtbsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCtbsv", {"hipblasCtbsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZtbsv", {"hipblasZtbsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasStbsv", {"hipblasStbsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDtbsv", {"hipblasDtbsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCtbsv", {"hipblasCtbsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZtbsv", {"hipblasZtbsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// SYMV/HEMV
- {"cublasSsymv", {"hipblasSsymv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDsymv", {"hipblasDsymv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCsymv", {"hipblasCsymv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZsymv", {"hipblasZsymv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasChemv", {"hipblasChemv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZhemv", {"hipblasZhemv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSsymv", {"hipblasSsymv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDsymv", {"hipblasDsymv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCsymv", {"hipblasCsymv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZsymv", {"hipblasZsymv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasChemv", {"hipblasChemv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZhemv", {"hipblasZhemv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// SBMV/HBMV
- {"cublasSsbmv", {"hipblasSsbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDsbmv", {"hpiblasDsbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasChbmv", {"hipblasChbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZhbmv", {"hipblasZhbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSsbmv", {"hipblasSsbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDsbmv", {"hpiblasDsbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasChbmv", {"hipblasChbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZhbmv", {"hipblasZhbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// SPMV/HPMV
- {"cublasSspmv", {"hipblasSspmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDspmv", {"hipblasDspmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasChpmv", {"hipblasChpmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZhpmv", {"hipblasZhpmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSspmv", {"hipblasSspmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDspmv", {"hipblasDspmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasChpmv", {"hipblasChpmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZhpmv", {"hipblasZhpmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// GER
- {"cublasSger", {"hipblasSger", CONV_MATH_FUNC, API_BLAS}},
- {"cublasDger", {"hipblasDger", CONV_MATH_FUNC, API_BLAS}},
- {"cublasCgeru", {"hipblasCgeru", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCgerc", {"hipblasCgerc", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZgeru", {"hipblasZgeru", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZgerc", {"hipblasZgerc", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSger", {"hipblasSger", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasDger", {"hipblasDger", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasCgeru", {"hipblasCgeru", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCgerc", {"hipblasCgerc", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZgeru", {"hipblasZgeru", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZgerc", {"hipblasZgerc", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// SYR/HER
- {"cublasSsyr", {"hipblasSsyr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDsyr", {"hipblasDsyr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCher", {"hipblasCher", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZher", {"hipblasZher", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSsyr", {"hipblasSsyr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDsyr", {"hipblasDsyr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCsyr", {"hipblasCsyr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZsyr", {"hipblasZsyr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCher", {"hipblasCher", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZher", {"hipblasZher", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// SPR/HPR
- {"cublasSspr", {"hipblasSspr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDspr", {"hipblasDspr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasChpr", {"hipblasChpr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZhpr", {"hipblasZhpr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSspr", {"hipblasSspr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDspr", {"hipblasDspr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasChpr", {"hipblasChpr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZhpr", {"hipblasZhpr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// SYR2/HER2
- {"cublasSsyr2", {"hipblasSsyr2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDsyr2", {"hipblasDsyr2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCher2", {"hipblasCher2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZher2", {"hipblasZher2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSsyr2", {"hipblasSsyr2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDsyr2", {"hipblasDsyr2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCsyr2", {"hipblasCsyr2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZsyr2", {"hipblasZsyr2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCher2", {"hipblasCher2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZher2", {"hipblasZher2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// SPR2/HPR2
- {"cublasSspr2", {"hipblasSspr2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDspr2", {"hipblasDspr2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasChpr2", {"hipblasChpr2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZhpr2", {"hipblasZhpr2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSspr2", {"hipblasSspr2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDspr2", {"hipblasDspr2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasChpr2", {"hipblasChpr2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZhpr2", {"hipblasZhpr2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// Blas3 (v1) Routines
// GEMM
- {"cublasSgemm", {"hipblasSgemm", CONV_MATH_FUNC, API_BLAS}},
- {"cublasDgemm", {"hipblasDgemm", CONV_MATH_FUNC, API_BLAS}},
-
- {"cublasCgemm", {"hipblasCgemm", CONV_MATH_FUNC, API_BLAS}},
- {"cublasZgemm", {"hipblasZgemm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasHgemm", {"hipblasHgemm", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasSgemm", {"hipblasSgemm", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasDgemm", {"hipblasDgemm", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasCgemm", {"hipblasCgemm", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasZgemm", {"hipblasZgemm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasHgemm", {"hipblasHgemm", CONV_MATH_FUNC, API_BLAS}},
// BATCH GEMM
- {"cublasSgemmBatched", {"hipblasSgemmBatched", CONV_MATH_FUNC, API_BLAS}},
- {"cublasDgemmBatched", {"hipblasDgemmBatched", CONV_MATH_FUNC, API_BLAS}},
- {"cublasHgemmBatched", {"hipblasHgemmBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
-
- {"cublasSgemmStridedBatched", {"hipblasSgemmStridedBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDgemmStridedBatched", {"hipblasDgemmStridedBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
-
- {"cublasCgemmBatched", {"hipblasCgemmBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCgemm3mBatched", {"hipblasCgemm3mBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZgemmBatched", {"hipblasZgemmBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
-
- {"cublasCgemmStridedBatched", {"hipblasCgemmStridedBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCgemm3mStridedBatched", {"hipblasCgemm3mStridedBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZgemmStridedBatched", {"hipblasZgemmStridedBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasHgemmStridedBatched", {"hipblasHgemmStridedBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSgemmBatched", {"hipblasSgemmBatched", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasDgemmBatched", {"hipblasDgemmBatched", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasHgemmBatched", {"hipblasHgemmBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSgemmStridedBatched", {"hipblasSgemmStridedBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDgemmStridedBatched", {"hipblasDgemmStridedBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCgemmBatched", {"hipblasCgemmBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCgemm3mBatched", {"hipblasCgemm3mBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZgemmBatched", {"hipblasZgemmBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCgemmStridedBatched", {"hipblasCgemmStridedBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCgemm3mStridedBatched", {"hipblasCgemm3mStridedBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZgemmStridedBatched", {"hipblasZgemmStridedBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasHgemmStridedBatched", {"hipblasHgemmStridedBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// SYRK
- {"cublasSsyrk", {"hipblasSsyrk", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDsyrk", {"hipblasDsyrk", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCsyrk", {"hipblasCsyrk", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZsyrk", {"hipblasZsyrk", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSsyrk", {"hipblasSsyrk", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDsyrk", {"hipblasDsyrk", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCsyrk", {"hipblasCsyrk", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZsyrk", {"hipblasZsyrk", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// HERK
- {"cublasCherk", {"hipblasCherk", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZherk", {"hipblasZherk", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCherk", {"hipblasCherk", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZherk", {"hipblasZherk", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// SYR2K
- {"cublasSsyr2k", {"hipblasSsyr2k", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDsyr2k", {"hipblasDsyr2k", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCsyr2k", {"hipblasCsyr2k", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZsyr2k", {"hipblasZsyr2k", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSsyr2k", {"hipblasSsyr2k", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDsyr2k", {"hipblasDsyr2k", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCsyr2k", {"hipblasCsyr2k", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZsyr2k", {"hipblasZsyr2k", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// SYRKX - eXtended SYRK
- {"cublasSsyrkx", {"hipblasSsyrkx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDsyrkx", {"hipblasDsyrkx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCsyrkx", {"hipblasCsyrkx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZsyrkx", {"hipblasZsyrkx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSsyrkx", {"hipblasSsyrkx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDsyrkx", {"hipblasDsyrkx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCsyrkx", {"hipblasCsyrkx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZsyrkx", {"hipblasZsyrkx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// HER2K
- {"cublasCher2k", {"hipblasCher2k", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZher2k", {"hipblasZher2k", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCher2k", {"hipblasCher2k", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZher2k", {"hipblasZher2k", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// HERKX - eXtended HERK
- {"cublasCherkx", {"hipblasCherkx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZherkx", {"hipblasZherkx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCherkx", {"hipblasCherkx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZherkx", {"hipblasZherkx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// SYMM
- {"cublasSsymm", {"hipblasSsymm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDsymm", {"hipblasDsymm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCsymm", {"hipblasCsymm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZsymm", {"hipblasZsymm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSsymm", {"hipblasSsymm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDsymm", {"hipblasDsymm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCsymm", {"hipblasCsymm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZsymm", {"hipblasZsymm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// HEMM
- {"cublasChemm", {"hipblasChemm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZhemm", {"hipblasZhemm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasChemm", {"hipblasChemm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZhemm", {"hipblasZhemm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// TRSM
- {"cublasStrsm", {"hipblasStrsm", CONV_MATH_FUNC, API_BLAS}},
- {"cublasDtrsm", {"hipblasDtrsm", CONV_MATH_FUNC, API_BLAS}},
- {"cublasCtrsm", {"hipblasCtrsm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZtrsm", {"hipblasZtrsm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasStrsm", {"hipblasStrsm", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasDtrsm", {"hipblasDtrsm", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasCtrsm", {"hipblasCtrsm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZtrsm", {"hipblasZtrsm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// TRSM - Batched Triangular Solver
- {"cublasStrsmBatched", {"hipblasStrsmBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDtrsmBatched", {"hipblasDtrsmBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCtrsmBatched", {"hipblasCtrsmBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZtrsmBatched", {"hipblasZtrsmBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasStrsmBatched", {"hipblasStrsmBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDtrsmBatched", {"hipblasDtrsmBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCtrsmBatched", {"hipblasCtrsmBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZtrsmBatched", {"hipblasZtrsmBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// TRMM
- {"cublasStrmm", {"hipblasStrmm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDtrmm", {"hipblasDtrmm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCtrmm", {"hipblasCtrmm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZtrmm", {"hipblasZtrmm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasStrmm", {"hipblasStrmm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDtrmm", {"hipblasDtrmm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCtrmm", {"hipblasCtrmm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZtrmm", {"hipblasZtrmm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// ------------------------ CUBLAS BLAS - like extension (cublas_api.h)
// GEAM
- {"cublasSgeam", {"hipblasSgeam", CONV_MATH_FUNC, API_BLAS}},
- {"cublasDgeam", {"hipblasDgeam", CONV_MATH_FUNC, API_BLAS}},
- {"cublasCgeam", {"hipblasCgeam", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZgeam", {"hipblasZgeam", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSgeam", {"hipblasSgeam", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasDgeam", {"hipblasDgeam", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasCgeam", {"hipblasCgeam", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZgeam", {"hipblasZgeam", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// GETRF - Batched LU
- {"cublasSgetrfBatched", {"hipblasSgetrfBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDgetrfBatched", {"hipblasDgetrfBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCgetrfBatched", {"hipblasCgetrfBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZgetrfBatched", {"hipblasZgetrfBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSgetrfBatched", {"hipblasSgetrfBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDgetrfBatched", {"hipblasDgetrfBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCgetrfBatched", {"hipblasCgetrfBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZgetrfBatched", {"hipblasZgetrfBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// Batched inversion based on LU factorization from getrf
- {"cublasSgetriBatched", {"hipblasSgetriBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDgetriBatched", {"hipblasDgetriBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCgetriBatched", {"hipblasCgetriBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZgetriBatched", {"hipblasZgetriBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSgetriBatched", {"hipblasSgetriBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDgetriBatched", {"hipblasDgetriBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCgetriBatched", {"hipblasCgetriBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZgetriBatched", {"hipblasZgetriBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// Batched solver based on LU factorization from getrf
- {"cublasSgetrsBatched", {"hipblasSgetrsBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDgetrsBatched", {"hipblasDgetrsBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCgetrsBatched", {"hipblasCgetrsBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZgetrsBatched", {"hipblasZgetrsBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSgetrsBatched", {"hipblasSgetrsBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDgetrsBatched", {"hipblasDgetrsBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCgetrsBatched", {"hipblasCgetrsBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZgetrsBatched", {"hipblasZgetrsBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// TRSM - Batched Triangular Solver
- {"cublasStrsmBatched", {"hipblasStrsmBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDtrsmBatched", {"hipblasDtrsmBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCtrsmBatched", {"hipblasCtrsmBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZtrsmBatched", {"hipblasZtrsmBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasStrsmBatched", {"hipblasStrsmBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDtrsmBatched", {"hipblasDtrsmBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCtrsmBatched", {"hipblasCtrsmBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZtrsmBatched", {"hipblasZtrsmBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// MATINV - Batched
- {"cublasSmatinvBatched", {"hipblasSmatinvBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDmatinvBatched", {"hipblasDmatinvBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCmatinvBatched", {"hipblasCmatinvBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZmatinvBatched", {"hipblasZmatinvBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSmatinvBatched", {"hipblasSmatinvBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDmatinvBatched", {"hipblasDmatinvBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCmatinvBatched", {"hipblasCmatinvBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZmatinvBatched", {"hipblasZmatinvBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// Batch QR Factorization
- {"cublasSgeqrfBatched", {"hipblasSgeqrfBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDgeqrfBatched", {"hipblasDgeqrfBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCgeqrfBatched", {"hipblasCgeqrfBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZgeqrfBatched", {"hipblasZgeqrfBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSgeqrfBatched", {"hipblasSgeqrfBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDgeqrfBatched", {"hipblasDgeqrfBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCgeqrfBatched", {"hipblasCgeqrfBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZgeqrfBatched", {"hipblasZgeqrfBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// Least Square Min only m >= n and Non-transpose supported
- {"cublasSgelsBatched", {"hipblasSgelsBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDgelsBatched", {"hipblasDgelsBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCgelsBatched", {"hipblasCgelsBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZgelsBatched", {"hipblasZgelsBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSgelsBatched", {"hipblasSgelsBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDgelsBatched", {"hipblasDgelsBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCgelsBatched", {"hipblasCgelsBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZgelsBatched", {"hipblasZgelsBatched", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// DGMM
- {"cublasSdgmm", {"hipblasSdgmm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDdgmm", {"hipblasDdgmm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCdgmm", {"hipblasCdgmm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZdgmm", {"hipblasZdgmm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSdgmm", {"hipblasSdgmm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDdgmm", {"hipblasDdgmm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCdgmm", {"hipblasCdgmm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZdgmm", {"hipblasZdgmm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// TPTTR - Triangular Pack format to Triangular format
- {"cublasStpttr", {"hipblasStpttr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDtpttr", {"hipblasDtpttr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCtpttr", {"hipblasCtpttr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZtpttr", {"hipblasZtpttr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasStpttr", {"hipblasStpttr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDtpttr", {"hipblasDtpttr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCtpttr", {"hipblasCtpttr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZtpttr", {"hipblasZtpttr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// TRTTP - Triangular format to Triangular Pack format
- {"cublasStrttp", {"hipblasStrttp", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDtrttp", {"hipblasDtrttp", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCtrttp", {"hipblasCtrttp", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZtrttp", {"hipblasZtrttp", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasStrttp", {"hipblasStrttp", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDtrttp", {"hipblasDtrttp", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCtrttp", {"hipblasCtrttp", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZtrttp", {"hipblasZtrttp", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// Blas2 (v2) Routines
- {"cublasCreate_v2", {"hipblasCreate", CONV_MATH_FUNC, API_BLAS}},
- {"cublasDestroy_v2", {"hipblasDestroy", CONV_MATH_FUNC, API_BLAS}},
-
- {"cublasGetVersion_v2", {"hipblasGetVersion", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasSetStream_v2", {"hipblasSetStream", CONV_MATH_FUNC, API_BLAS}},
- {"cublasGetStream_v2", {"hipblasGetStream", CONV_MATH_FUNC, API_BLAS}},
- {"cublasGetPointerMode_v2", {"hipblasGetPointerMode", CONV_MATH_FUNC, API_BLAS}},
- {"cublasSetPointerMode_v2", {"hipblasSetPointerMode", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasCreate_v2", {"hipblasCreate", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasDestroy_v2", {"hipblasDestroy", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasGetVersion_v2", {"hipblasGetVersion", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasGetProperty", {"hipblasGetProperty", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSetStream_v2", {"hipblasSetStream", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasGetStream_v2", {"hipblasGetStream", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasGetPointerMode_v2", {"hipblasGetPointerMode", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasSetPointerMode_v2", {"hipblasSetPointerMode", CONV_MATH_FUNC, API_BLAS}},
// GEMV
- {"cublasSgemv_v2", {"hipblasSgemv", CONV_MATH_FUNC, API_BLAS}},
- {"cublasDgemv_v2", {"hipblasDgemv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCgemv_v2", {"hipblasCgemv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZgemv_v2", {"hipblasZgemv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSgemv_v2", {"hipblasSgemv", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasDgemv_v2", {"hipblasDgemv", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasCgemv_v2", {"hipblasCgemv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZgemv_v2", {"hipblasZgemv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// GBMV
- {"cublasSgbmv_v2", {"hipblasSgbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDgbmv_v2", {"hipblasDgbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCgbmv_v2", {"hipblasCgbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZgbmv_v2", {"hipblasZgbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSgbmv_v2", {"hipblasSgbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDgbmv_v2", {"hipblasDgbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCgbmv_v2", {"hipblasCgbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZgbmv_v2", {"hipblasZgbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// TRMV
- {"cublasStrmv_v2", {"hipblasStrmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDtrmv_v2", {"hipblasDtrmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCtrmv_v2", {"hipblasCtrmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZtrmv_v2", {"hipblasZtrmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasStrmv_v2", {"hipblasStrmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDtrmv_v2", {"hipblasDtrmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCtrmv_v2", {"hipblasCtrmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZtrmv_v2", {"hipblasZtrmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// TBMV
- {"cublasStbmv_v2", {"hipblasStbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDtbmv_v2", {"hipblasDtbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCtbmv_v2", {"hipblasCtbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZtbmv_v2", {"hipblasZtbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasStbmv_v2", {"hipblasStbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDtbmv_v2", {"hipblasDtbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCtbmv_v2", {"hipblasCtbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZtbmv_v2", {"hipblasZtbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// TPMV
- {"cublasStpmv_v2", {"hipblasStpmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDtpmv_v2", {"hipblasDtpmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCtpmv_v2", {"hipblasCtpmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZtpmv_v2", {"hipblasZtpmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasStpmv_v2", {"hipblasStpmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDtpmv_v2", {"hipblasDtpmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCtpmv_v2", {"hipblasCtpmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZtpmv_v2", {"hipblasZtpmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// TRSV
- {"cublasStrsv_v2", {"hipblasStrsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDtrsv_v2", {"hipblasDtrsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCtrsv_v2", {"hipblasCtrsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZtrsv_v2", {"hipblasZtrsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasStrsv_v2", {"hipblasStrsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDtrsv_v2", {"hipblasDtrsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCtrsv_v2", {"hipblasCtrsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZtrsv_v2", {"hipblasZtrsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// TPSV
- {"cublasStpsv_v2", {"hipblasStpsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDtpsv_v2", {"hipblasDtpsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCtpsv_v2", {"hipblasCtpsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZtpsv_v2", {"hipblasZtpsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasStpsv_v2", {"hipblasStpsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDtpsv_v2", {"hipblasDtpsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCtpsv_v2", {"hipblasCtpsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZtpsv_v2", {"hipblasZtpsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// TBSV
- {"cublasStbsv_v2", {"hipblasStbsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDtbsv_v2", {"hipblasDtbsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCtbsv_v2", {"hipblasCtbsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZtbsv_v2", {"hipblasZtbsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasStbsv_v2", {"hipblasStbsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDtbsv_v2", {"hipblasDtbsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCtbsv_v2", {"hipblasCtbsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZtbsv_v2", {"hipblasZtbsv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// SYMV/HEMV
- {"cublasSsymv_v2", {"hipblasSsymv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDsymv_v2", {"hipblasDsymv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCsymv_v2", {"hipblasCsymv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZsymv_v2", {"hipblasZsymv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasChemv_v2", {"hipblasChemv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZhemv_v2", {"hipblasZhemv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSsymv_v2", {"hipblasSsymv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDsymv_v2", {"hipblasDsymv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCsymv_v2", {"hipblasCsymv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZsymv_v2", {"hipblasZsymv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasChemv_v2", {"hipblasChemv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZhemv_v2", {"hipblasZhemv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// SBMV/HBMV
- {"cublasSsbmv_v2", {"hipblasSsbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDsbmv_v2", {"hpiblasDsbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasChbmv_v2", {"hipblasChbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZhbmv_v2", {"hipblasZhbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSsbmv_v2", {"hipblasSsbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDsbmv_v2", {"hpiblasDsbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasChbmv_v2", {"hipblasChbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZhbmv_v2", {"hipblasZhbmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// SPMV/HPMV
- {"cublasSspmv_v2", {"hipblasSspmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDspmv_v2", {"hipblasDspmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasChpmv_v2", {"hipblasChpmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZhpmv_v2", {"hipblasZhpmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSspmv_v2", {"hipblasSspmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDspmv_v2", {"hipblasDspmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasChpmv_v2", {"hipblasChpmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZhpmv_v2", {"hipblasZhpmv", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// GER
- {"cublasSger_v2", {"hipblasSger", CONV_MATH_FUNC, API_BLAS}},
- {"cublasDger_v2", {"hipblasDger", CONV_MATH_FUNC, API_BLAS}},
- {"cublasCgeru_v2", {"hipblasCgeru", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCgerc_v2", {"hipblasCgerc", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZgeru_v2", {"hipblasZgeru", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZgerc_v2", {"hipblasZgerc", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSger_v2", {"hipblasSger", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasDger_v2", {"hipblasDger", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasCgeru_v2", {"hipblasCgeru", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCgerc_v2", {"hipblasCgerc", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZgeru_v2", {"hipblasZgeru", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZgerc_v2", {"hipblasZgerc", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// SYR/HER
- {"cublasSsyr_v2", {"hipblasSsyr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDsyr_v2", {"hipblasDsyr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCsyr_v2", {"hipblasCsyr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZsyr_v2", {"hipblasZsyr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCher_v2", {"hipblasCher", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZher_v2", {"hipblasZher", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSsyr_v2", {"hipblasSsyr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDsyr_v2", {"hipblasDsyr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCsyr_v2", {"hipblasCsyr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZsyr_v2", {"hipblasZsyr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCher_v2", {"hipblasCher", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZher_v2", {"hipblasZher", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// SPR/HPR
- {"cublasSspr_v2", {"hipblasSspr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDspr_v2", {"hipblasDspr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasChpr_v2", {"hipblasChpr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZhpr_v2", {"hipblasZhpr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSspr_v2", {"hipblasSspr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDspr_v2", {"hipblasDspr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasChpr_v2", {"hipblasChpr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZhpr_v2", {"hipblasZhpr", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// SYR2/HER2
- {"cublasSsyr2_v2", {"hipblasSsyr2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDsyr2_v2", {"hipblasDsyr2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCsyr2_v2", {"hipblasCsyr2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZsyr2_v2", {"hipblasZsyr2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCher2_v2", {"hipblasCher2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZher2_v2", {"hipblasZher2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSsyr2_v2", {"hipblasSsyr2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDsyr2_v2", {"hipblasDsyr2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCsyr2_v2", {"hipblasCsyr2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZsyr2_v2", {"hipblasZsyr2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCher2_v2", {"hipblasCher2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZher2_v2", {"hipblasZher2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// SPR2/HPR2
- {"cublasSspr2_v2", {"hipblasSspr2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDspr2_v2", {"hipblasDspr2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasChpr2_v2", {"hipblasChpr2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZhpr2_v2", {"hipblasZhpr2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSspr2_v2", {"hipblasSspr2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDspr2_v2", {"hipblasDspr2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasChpr2_v2", {"hipblasChpr2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZhpr2_v2", {"hipblasZhpr2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// Blas3 (v2) Routines
// GEMM
- {"cublasSgemm_v2", {"hipblasSgemm", CONV_MATH_FUNC, API_BLAS}},
- {"cublasDgemm_v2", {"hipblasDgemm", CONV_MATH_FUNC, API_BLAS}},
-
- {"cublasCgemm_v2", {"hipblasCgemm", CONV_MATH_FUNC, API_BLAS}},
- {"cublasCgemm3m", {"hipblasCgemm3m", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCgemm3mEx", {"hipblasCgemm3mEx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
-
- {"cublasZgemm_v2", {"hipblasZgemm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZgemm3m", {"hipblasZgemm3m", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSgemm_v2", {"hipblasSgemm", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasDgemm_v2", {"hipblasDgemm", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasCgemm_v2", {"hipblasCgemm", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasCgemm3m", {"hipblasCgemm3m", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCgemm3mEx", {"hipblasCgemm3mEx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZgemm_v2", {"hipblasZgemm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZgemm3m", {"hipblasZgemm3m", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
//IO in FP16 / FP32, computation in float
- {"cublasSgemmEx", {"hipblasSgemmEx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasGemmEx", {"hipblasGemmEx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasGemmBatchedEx", {"hipblasGemmBatchedEx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasGemmStridedBatchedEx", {"hipblasGemmStridedBatchedEx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSgemmEx", {"hipblasSgemmEx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasGemmEx", {"hipblasGemmEx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasGemmBatchedEx", {"hipblasGemmBatchedEx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasGemmStridedBatchedEx", {"hipblasGemmStridedBatchedEx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// IO in Int8 complex/cuComplex, computation in cuComplex
- {"cublasCgemmEx", {"hipblasCgemmEx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
-
- {"cublasUint8gemmBias", {"hipblasUint8gemmBias", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCgemmEx", {"hipblasCgemmEx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasUint8gemmBias", {"hipblasUint8gemmBias", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// SYRK
- {"cublasSsyrk_v2", {"hipblasSsyrk", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDsyrk_v2", {"hipblasDsyrk", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCsyrk_v2", {"hipblasCsyrk", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZsyrk_v2", {"hipblasZsyrk", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSsyrk_v2", {"hipblasSsyrk", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDsyrk_v2", {"hipblasDsyrk", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCsyrk_v2", {"hipblasCsyrk", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZsyrk_v2", {"hipblasZsyrk", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// IO in Int8 complex/cuComplex, computation in cuComplex
- {"cublasCsyrkEx", {"hipblasCsyrkEx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCsyrkEx", {"hipblasCsyrkEx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// IO in Int8 complex/cuComplex, computation in cuComplex, Gaussian math
- {"cublasCsyrk3mEx", {"hipblasCsyrk3mEx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCsyrk3mEx", {"hipblasCsyrk3mEx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// HERK
- {"cublasCherk_v2", {"hipblasCherk", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCherk_v2", {"hipblasCherk", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// IO in Int8 complex/cuComplex, computation in cuComplex
- {"cublasCherkEx", {"hipblasCherkEx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCherkEx", {"hipblasCherkEx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// IO in Int8 complex/cuComplex, computation in cuComplex, Gaussian math
- {"cublasCherk3mEx", {"hipblasCherk3mEx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZherk_v2", {"hipblasZherk", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCherk3mEx", {"hipblasCherk3mEx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZherk_v2", {"hipblasZherk", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// SYR2K
- {"cublasSsyr2k_v2", {"hipblasSsyr2k", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDsyr2k_v2", {"hipblasDsyr2k", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCsyr2k_v2", {"hipblasCsyr2k", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZsyr2k_v2", {"hipblasZsyr2k", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSsyr2k_v2", {"hipblasSsyr2k", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDsyr2k_v2", {"hipblasDsyr2k", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCsyr2k_v2", {"hipblasCsyr2k", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZsyr2k_v2", {"hipblasZsyr2k", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// HER2K
- {"cublasCher2k_v2", {"hipblasCher2k", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZher2k_v2", {"hipblasZher2k", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCher2k_v2", {"hipblasCher2k", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZher2k_v2", {"hipblasZher2k", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// SYMM
- {"cublasSsymm_v2", {"hipblasSsymm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDsymm_v2", {"hipblasDsymm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCsymm_v2", {"hipblasCsymm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZsymm_v2", {"hipblasZsymm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSsymm_v2", {"hipblasSsymm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDsymm_v2", {"hipblasDsymm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCsymm_v2", {"hipblasCsymm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZsymm_v2", {"hipblasZsymm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// HEMM
- {"cublasChemm_v2", {"hipblasChemm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZhemm_v2", {"hipblasZhemm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasChemm_v2", {"hipblasChemm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZhemm_v2", {"hipblasZhemm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// TRSM
- {"cublasStrsm_v2", {"hipblasStrsm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDtrsm_v2", {"hipblasDtrsm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCtrsm_v2", {"hipblasCtrsm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZtrsm_v2", {"hipblasZtrsm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasStrsm_v2", {"hipblasStrsm", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasDtrsm_v2", {"hipblasDtrsm", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasCtrsm_v2", {"hipblasCtrsm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZtrsm_v2", {"hipblasZtrsm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// TRMM
- {"cublasStrmm_v2", {"hipblasStrmm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDtrmm_v2", {"hipblasDtrmm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCtrmm_v2", {"hipblasCtrmm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZtrmm_v2", {"hipblasZtrmm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasStrmm_v2", {"hipblasStrmm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDtrmm_v2", {"hipblasDtrmm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCtrmm_v2", {"hipblasCtrmm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZtrmm_v2", {"hipblasZtrmm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// NRM2
- {"cublasSnrm2_v2", {"hipblasSnrm2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDnrm2_v2", {"hipblasDnrm2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasScnrm2_v2", {"hipblasScnrm2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDznrm2_v2", {"hipblasDznrm2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSnrm2_v2", {"hipblasSnrm2", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasDnrm2_v2", {"hipblasDnrm2", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasScnrm2_v2", {"hipblasScnrm2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDznrm2_v2", {"hipblasDznrm2", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// DOT
- {"cublasDotEx", {"hipblasDotEx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDotcEx", {"hipblasDotcEx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDotEx", {"hipblasDotEx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDotcEx", {"hipblasDotcEx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasSdot_v2", {"hipblasSdot", CONV_MATH_FUNC, API_BLAS}},
- {"cublasDdot_v2", {"hipblasDdot", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasSdot_v2", {"hipblasSdot", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasDdot_v2", {"hipblasDdot", CONV_MATH_FUNC, API_BLAS}},
- {"cublasCdotu_v2", {"hipblasCdotu", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCdotc_v2", {"hipblasCdotc", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZdotu_v2", {"hipblasZdotu", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZdotc_v2", {"hipblasZdotc", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCdotu_v2", {"hipblasCdotu", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCdotc_v2", {"hipblasCdotc", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZdotu_v2", {"hipblasZdotu", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZdotc_v2", {"hipblasZdotc", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// SCAL
- {"cublasScalEx", {"hipblasScalEx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasSscal_v2", {"hipblasSscal", CONV_MATH_FUNC, API_BLAS}},
- {"cublasDscal_v2", {"hipblasDscal", CONV_MATH_FUNC, API_BLAS}},
- {"cublasCscal_v2", {"hipblasCscal", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCsscal_v2", {"hipblasCsscal", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZscal_v2", {"hipblasZscal", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZdscal_v2", {"hipblasZdscal", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasScalEx", {"hipblasScalEx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSscal_v2", {"hipblasSscal", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasDscal_v2", {"hipblasDscal", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasCscal_v2", {"hipblasCscal", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCsscal_v2", {"hipblasCsscal", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZscal_v2", {"hipblasZscal", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZdscal_v2", {"hipblasZdscal", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// AXPY
- {"cublasAxpyEx", {"hipblasAxpyEx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasSaxpy_v2", {"hipblasSaxpy", CONV_MATH_FUNC, API_BLAS}},
- {"cublasDaxpy_v2", {"hipblasDaxpy", CONV_MATH_FUNC, API_BLAS}},
- {"cublasCaxpy_v2", {"hipblasCaxpy", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZaxpy_v2", {"hipblasZaxpy", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasAxpyEx", {"hipblasAxpyEx", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSaxpy_v2", {"hipblasSaxpy", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasDaxpy_v2", {"hipblasDaxpy", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasCaxpy_v2", {"hipblasCaxpy", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZaxpy_v2", {"hipblasZaxpy", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// COPY
- {"cublasScopy_v2", {"hipblasScopy", CONV_MATH_FUNC, API_BLAS}},
- {"cublasDcopy_v2", {"hipblasDcopy", CONV_MATH_FUNC, API_BLAS}},
- {"cublasCcopy_v2", {"hipblasCcopy", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZcopy_v2", {"hipblasZcopy", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasScopy_v2", {"hipblasScopy", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasDcopy_v2", {"hipblasDcopy", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasCcopy_v2", {"hipblasCcopy", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZcopy_v2", {"hipblasZcopy", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// SWAP
- {"cublasSswap_v2", {"hipblasSswap", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDswap_v2", {"hipblasDswap", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCswap_v2", {"hipblasCswap", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZswap_v2", {"hipblasZswap", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSswap_v2", {"hipblasSswap", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDswap_v2", {"hipblasDswap", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCswap_v2", {"hipblasCswap", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZswap_v2", {"hipblasZswap", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// AMAX
- {"cublasIsamax_v2", {"hipblasIsamax", CONV_MATH_FUNC, API_BLAS}},
- {"cublasIdamax_v2", {"hipblasIdamax", CONV_MATH_FUNC, API_BLAS}},
- {"cublasIcamax_v2", {"hipblasIcamax", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasIzamax_v2", {"hipblasIzamax", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasIsamax_v2", {"hipblasIsamax", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasIdamax_v2", {"hipblasIdamax", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasIcamax_v2", {"hipblasIcamax", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasIzamax_v2", {"hipblasIzamax", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// AMIN
- {"cublasIsamin_v2", {"hipblasIsamin", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasIdamin_v2", {"hipblasIdamin", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasIcamin_v2", {"hipblasIcamin", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasIzamin_v2", {"hipblasIzamin", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasIsamin_v2", {"hipblasIsamin", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasIdamin_v2", {"hipblasIdamin", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasIcamin_v2", {"hipblasIcamin", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasIzamin_v2", {"hipblasIzamin", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// ASUM
- {"cublasSasum_v2", {"hipblasSasum", CONV_MATH_FUNC, API_BLAS}},
- {"cublasDasum_v2", {"hipblasDasum", CONV_MATH_FUNC, API_BLAS}},
- {"cublasScasum_v2", {"hipblasScasum", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDzasum_v2", {"hipblasDzasum", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSasum_v2", {"hipblasSasum", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasDasum_v2", {"hipblasDasum", CONV_MATH_FUNC, API_BLAS}},
+ {"cublasScasum_v2", {"hipblasScasum", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDzasum_v2", {"hipblasDzasum", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// ROT
- {"cublasSrot_v2", {"hipblasSrot", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDrot_v2", {"hipblasDrot", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCrot_v2", {"hipblasCrot", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCsrot_v2", {"hipblasCsrot", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZrot_v2", {"hipblasZrot", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZdrot_v2", {"hipblasZdrot", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSrot_v2", {"hipblasSrot", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDrot_v2", {"hipblasDrot", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCrot_v2", {"hipblasCrot", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCsrot_v2", {"hipblasCsrot", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZrot_v2", {"hipblasZrot", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZdrot_v2", {"hipblasZdrot", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// ROTG
- {"cublasSrotg_v2", {"hipblasSrotg", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDrotg_v2", {"hipblasDrotg", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasCrotg_v2", {"hipblasCrotg", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasZrotg_v2", {"hipblasZrotg", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSrotg_v2", {"hipblasSrotg", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDrotg_v2", {"hipblasDrotg", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasCrotg_v2", {"hipblasCrotg", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasZrotg_v2", {"hipblasZrotg", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// ROTM
- {"cublasSrotm_v2", {"hipblasSrotm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDrotm_v2", {"hipblasDrotm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSrotm_v2", {"hipblasSrotm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDrotm_v2", {"hipblasDrotm", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
// ROTMG
- {"cublasSrotmg_v2", {"hipblasSrotmg", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
- {"cublasDrotmg_v2", {"hipblasDrotmg", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasSrotmg_v2", {"hipblasSrotmg", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
+ {"cublasDrotmg_v2", {"hipblasDrotmg", CONV_MATH_FUNC, API_BLAS, HIP_UNSUPPORTED}},
///////////////////////////// cuRAND /////////////////////////////
// RAND function call status types (enum curandStatus)
@@ -3136,7 +3164,7 @@ const std::map CUDA_IDENTIFIER_MAP{
{"cudnnDebug_t", {"hipdnnDebug_t", CONV_TYPE, API_DNN, HIP_UNSUPPORTED}},
{"cudnnCallback_t", {"hipdnnCallback_t", CONV_TYPE, API_DNN, HIP_UNSUPPORTED}},
- ///////////////////////////// cuDNN functions /////////////////////////////
+ ///////////////////////////// cuDNN functions /////////////////////////////
{"cudnnGetVersion", {"hipdnnGetVersion", CONV_VERSION, API_DNN}},
{"cudnnGetCudartVersion", {"hipdnnGetCudartVersion", CONV_VERSION, API_DNN, HIP_UNSUPPORTED}},
{"cudnnQueryRuntimeError", {"hipdnnQueryRuntimeError", CONV_VERSION, API_DNN, HIP_UNSUPPORTED}},
@@ -3168,7 +3196,7 @@ const std::map CUDA_IDENTIFIER_MAP{
{"cudnnDestroyOpTensorDescriptor", {"hipdnnDestroyOpTensorDescriptor", CONV_MATH_FUNC, API_DNN}},
{"cudnnOpTensor", {"hipdnnOpTensor", CONV_MATH_FUNC, API_DNN}},
- // cuDNN Reduce Tensor functions
+ // cuDNN Reduce Tensor functions
{"cudnnCreateReduceTensorDescriptor", {"hipdnnCreateReduceTensorDescriptor", CONV_MATH_FUNC, API_DNN}},
{"cudnnSetReduceTensorDescriptor", {"hipdnnSetReduceTensorDescriptor", CONV_MATH_FUNC, API_DNN}},
{"cudnnGetReduceTensorDescriptor", {"hipdnnGetReduceTensorDescriptor", CONV_MATH_FUNC, API_DNN}},
@@ -3181,7 +3209,7 @@ const std::map CUDA_IDENTIFIER_MAP{
// cuDNN Filter functions
{"cudnnCreateFilterDescriptor", {"hipdnnCreateFilterDescriptor", CONV_MATH_FUNC, API_DNN}},
- {"cudnnSetFilter4dDescriptor", {"hipdnnSetFilter4dDescriptor", CONV_MATH_FUNC, API_DNN, HIP_UNSUPPORTED}},
+ {"cudnnSetFilter4dDescriptor", {"hipdnnSetFilter4dDescriptor", CONV_MATH_FUNC, API_DNN}},
{"cudnnGetFilter4dDescriptor", {"hipdnnGetFilter4dDescriptor", CONV_MATH_FUNC, API_DNN, HIP_UNSUPPORTED}},
{"cudnnSetFilterNdDescriptor", {"hipdnnSetFilterNdDescriptor", CONV_MATH_FUNC, API_DNN}},
{"cudnnGetFilterNdDescriptor", {"hipdnnGetFilterNdDescriptor", CONV_MATH_FUNC, API_DNN}},
@@ -3340,6 +3368,85 @@ const std::map CUDA_IDENTIFIER_MAP{
{"cudnnGetAlgorithmSpaceSize", {"hipdnnGetAlgorithmSpaceSize", CONV_MATH_FUNC, API_DNN, HIP_UNSUPPORTED}},
{"cudnnSaveAlgorithm", {"hipdnnSaveAlgorithm", CONV_MATH_FUNC, API_DNN, HIP_UNSUPPORTED}},
{"cudnnRestoreAlgorithm", {"hipdnnRestoreAlgorithm", CONV_MATH_FUNC, API_DNN, HIP_UNSUPPORTED}},
+
+ ///////////////////////////// cuFFT /////////////////////////////
+ // cuFFT defines
+ {"CUFFT_FORWARD", {"HIPFFT_FORWARD", CONV_NUMERIC_LITERAL, API_DNN}}, // -1
+ {"CUFFT_INVERSE", {"HIPFFT_BACKWARD", CONV_NUMERIC_LITERAL, API_DNN}}, // 1
+ {"CUFFT_COMPATIBILITY_DEFAULT", {"HIPFFT_COMPATIBILITY_DEFAULT", CONV_NUMERIC_LITERAL, API_DNN, HIP_UNSUPPORTED}}, // CUFFT_COMPATIBILITY_FFTW_PADDING
+
+ // cuFFT enums
+ {"cufftResult_t", {"hipfftResult_t", CONV_TYPE, API_FFT}},
+ {"cufftResult", {"hipfftResult", CONV_TYPE, API_FFT}},
+ {"CUFFT_SUCCESS", {"HIPFFT_SUCCESS", CONV_NUMERIC_LITERAL, API_FFT}}, // 0x0 0
+ {"CUFFT_INVALID_PLAN", {"HIPFFT_INVALID_PLAN", CONV_NUMERIC_LITERAL, API_FFT}}, // 0x1 1
+ {"CUFFT_ALLOC_FAILED", {"HIPFFT_ALLOC_FAILED", CONV_NUMERIC_LITERAL, API_FFT}}, // 0x2 2
+ {"CUFFT_INVALID_TYPE", {"HIPFFT_INVALID_TYPE", CONV_NUMERIC_LITERAL, API_FFT}}, // 0x3 3
+ {"CUFFT_INVALID_VALUE", {"HIPFFT_INVALID_VALUE", CONV_NUMERIC_LITERAL, API_FFT}}, // 0x4 4
+ {"CUFFT_INTERNAL_ERROR", {"HIPFFT_INTERNAL_ERROR", CONV_NUMERIC_LITERAL, API_FFT}}, // 0x5 5
+ {"CUFFT_EXEC_FAILED", {"HIPFFT_EXEC_FAILED", CONV_NUMERIC_LITERAL, API_FFT}}, // 0x6 6
+ {"CUFFT_SETUP_FAILED", {"HIPFFT_SETUP_FAILED", CONV_NUMERIC_LITERAL, API_FFT}}, // 0x7 7
+ {"CUFFT_INVALID_SIZE", {"HIPFFT_INVALID_SIZE", CONV_NUMERIC_LITERAL, API_FFT}}, // 0x8 8
+ {"CUFFT_UNALIGNED_DATA", {"HIPFFT_UNALIGNED_DATA", CONV_NUMERIC_LITERAL, API_FFT}}, // 0x9 9
+ {"CUFFT_INCOMPLETE_PARAMETER_LIST", {"HIPFFT_INCOMPLETE_PARAMETER_LIST", CONV_NUMERIC_LITERAL, API_FFT}}, // 0xA 10
+ {"CUFFT_INVALID_DEVICE", {"HIPFFT_INVALID_DEVICE", CONV_NUMERIC_LITERAL, API_FFT}}, // 0xB 11
+ {"CUFFT_PARSE_ERROR", {"HIPFFT_PARSE_ERROR", CONV_NUMERIC_LITERAL, API_FFT}}, // 0xC 12
+ {"CUFFT_NO_WORKSPACE", {"HIPFFT_NO_WORKSPACE", CONV_NUMERIC_LITERAL, API_FFT}}, // 0xD 13
+ {"CUFFT_NOT_IMPLEMENTED", {"HIPFFT_NOT_IMPLEMENTED", CONV_NUMERIC_LITERAL, API_FFT}}, // 0xE 14
+ {"CUFFT_LICENSE_ERROR", {"HIPFFT_LICENSE_ERROR", CONV_NUMERIC_LITERAL, API_FFT, HIP_UNSUPPORTED}},
+ {"CUFFT_NOT_SUPPORTED", {"HIPFFT_NOT_SUPPORTED", CONV_NUMERIC_LITERAL, API_FFT}}, // 0x10 16
+ {"cufftType_t", {"hipfftType_t", CONV_TYPE, API_FFT}},
+ {"cufftType", {"hipfftType", CONV_TYPE, API_FFT}},
+ {"CUFFT_R2C", {"HIPFFT_R2C", CONV_NUMERIC_LITERAL, API_FFT}}, // 0x2a
+ {"CUFFT_C2R", {"HIPFFT_C2R", CONV_NUMERIC_LITERAL, API_FFT}}, // 0x2c
+ {"CUFFT_C2C", {"HIPFFT_C2C", CONV_NUMERIC_LITERAL, API_FFT}}, // 0x29
+ {"CUFFT_D2Z", {"HIPFFT_D2Z", CONV_NUMERIC_LITERAL, API_FFT}}, // 0x6a
+ {"CUFFT_Z2D", {"HIPFFT_Z2D", CONV_NUMERIC_LITERAL, API_FFT}}, // 0x6c
+ {"CUFFT_Z2Z", {"HIPFFT_Z2Z", CONV_NUMERIC_LITERAL, API_FFT}}, // 0x69
+ {"cufftCompatibility_t", {"hipfftCompatibility_t", CONV_TYPE, API_FFT, HIP_UNSUPPORTED}},
+ {"cufftCompatibility", {"hipfftCompatibility", CONV_TYPE, API_FFT, HIP_UNSUPPORTED}},
+ {"CUFFT_COMPATIBILITY_FFTW_PADDING", {"HIPFFT_COMPATIBILITY_FFTW_PADDING", CONV_NUMERIC_LITERAL, API_FFT, HIP_UNSUPPORTED}}, // 0x01
+
+ // cuFFT types
+ {"cufftReal", {"hipfftReal", CONV_TYPE, API_FFT}},
+ {"cufftDoubleReal", {"hipfftDoubleReal", CONV_TYPE, API_FFT}},
+ {"cufftComplex", {"hipfftComplex", CONV_TYPE, API_FFT}},
+ {"cufftDoubleComplex", {"hipfftDoubleComplex", CONV_TYPE, API_FFT}},
+ {"cufftHandle", {"hipfftHandle", CONV_TYPE, API_FFT}},
+
+ ///////////////////////////// cuFFT functions /////////////////////////////
+ {"cufftPlan1d", {"hipfftPlan1d", CONV_MATH_FUNC, API_FFT}},
+ {"cufftPlan2d", {"hipfftPlan2d", CONV_MATH_FUNC, API_FFT}},
+ {"cufftPlan3d", {"hipfftPlan3d", CONV_MATH_FUNC, API_FFT}},
+ {"cufftPlanMany", {"hipfftPlanMany", CONV_MATH_FUNC, API_FFT}},
+ {"cufftMakePlan1d", {"hipfftMakePlan1d", CONV_MATH_FUNC, API_FFT}},
+ {"cufftMakePlan2d", {"hipfftMakePlan2d", CONV_MATH_FUNC, API_FFT}},
+ {"cufftMakePlan3d", {"hipfftMakePlan3d", CONV_MATH_FUNC, API_FFT}},
+ {"cufftMakePlanMany", {"hipfftMakePlanMany", CONV_MATH_FUNC, API_FFT}},
+ {"cufftMakePlanMany64", {"hipfftMakePlanMany64", CONV_MATH_FUNC, API_FFT}},
+ {"cufftGetSizeMany64", {"hipfftGetSizeMany64", CONV_MATH_FUNC, API_FFT}},
+ {"cufftEstimate1d", {"hipfftEstimate1d", CONV_MATH_FUNC, API_FFT}},
+ {"cufftEstimate2d", {"hipfftEstimate2d", CONV_MATH_FUNC, API_FFT}},
+ {"cufftEstimate3d", {"hipfftEstimate3d", CONV_MATH_FUNC, API_FFT}},
+ {"cufftEstimateMany", {"hipfftEstimateMany", CONV_MATH_FUNC, API_FFT}},
+ {"cufftCreate", {"hipfftCreate", CONV_MATH_FUNC, API_FFT}},
+ {"cufftGetSize1d", {"hipfftGetSize1d", CONV_MATH_FUNC, API_FFT}},
+ {"cufftGetSize2d", {"hipfftGetSize2d", CONV_MATH_FUNC, API_FFT}},
+ {"cufftGetSize3d", {"hipfftGetSize3d", CONV_MATH_FUNC, API_FFT}},
+ {"cufftGetSizeMany", {"hipfftGetSizeMany", CONV_MATH_FUNC, API_FFT}},
+ {"cufftGetSize", {"hipfftGetSize", CONV_MATH_FUNC, API_FFT}},
+ {"cufftSetWorkArea", {"hipfftSetWorkArea", CONV_MATH_FUNC, API_FFT}},
+ {"cufftSetAutoAllocation", {"hipfftSetAutoAllocation", CONV_MATH_FUNC, API_FFT}},
+ {"cufftExecC2C", {"hipfftExecC2C", CONV_MATH_FUNC, API_FFT}},
+ {"cufftExecR2C", {"hipfftExecR2C", CONV_MATH_FUNC, API_FFT}},
+ {"cufftExecC2R", {"hipfftExecC2R", CONV_MATH_FUNC, API_FFT}},
+ {"cufftExecZ2Z", {"hipfftExecZ2Z", CONV_MATH_FUNC, API_FFT}},
+ {"cufftExecD2Z", {"hipfftExecD2Z", CONV_MATH_FUNC, API_FFT}},
+ {"cufftExecZ2D", {"hipfftExecZ2D", CONV_MATH_FUNC, API_FFT}},
+ {"cufftSetStream", {"hipfftSetStream", CONV_MATH_FUNC, API_FFT}},
+ {"cufftDestroy", {"hipfftDestroy", CONV_MATH_FUNC, API_FFT}},
+ {"cufftGetVersion", {"hipfftGetVersion", CONV_MATH_FUNC, API_FFT}},
+ {"cufftGetProperty", {"hipfftGetProperty", CONV_MATH_FUNC, API_FFT, HIP_UNSUPPORTED}},
};
const std::map& CUDA_RENAMES_MAP() {
diff --git a/projects/hip/hipify-clang/src/HipifyAction.cpp b/projects/hip/hipify-clang/src/HipifyAction.cpp
index 21b16e0699..20bc9dcc2c 100644
--- a/projects/hip/hipify-clang/src/HipifyAction.cpp
+++ b/projects/hip/hipify-clang/src/HipifyAction.cpp
@@ -164,6 +164,10 @@ bool HipifyAction::Exclude(const hipCounter & hipToken) {
if (insertedDNNHeader) { return true; }
insertedDNNHeader = true;
return false;
+ case API_FFT:
+ if (insertedFFTHeader) { return true; }
+ insertedFFTHeader = true;
+ return false;
default:
return false;
}
diff --git a/projects/hip/hipify-clang/src/HipifyAction.h b/projects/hip/hipify-clang/src/HipifyAction.h
index af75f93063..ad987c921e 100644
--- a/projects/hip/hipify-clang/src/HipifyAction.h
+++ b/projects/hip/hipify-clang/src/HipifyAction.h
@@ -28,6 +28,7 @@ private:
bool insertedRANDHeader = false;
bool insertedRAND_kernelHeader = false;
bool insertedDNNHeader = false;
+ bool insertedFFTHeader = false;
bool firstHeader = false;
bool pragmaOnce = false;
clang::SourceLocation firstHeaderLoc;
diff --git a/projects/hip/hipify-clang/src/Statistics.cpp b/projects/hip/hipify-clang/src/Statistics.cpp
index 13d4c3effc..595f243857 100644
--- a/projects/hip/hipify-clang/src/Statistics.cpp
+++ b/projects/hip/hipify-clang/src/Statistics.cpp
@@ -14,7 +14,7 @@ const char *counterNames[NUM_CONV_TYPES] = {
};
const char *apiNames[NUM_API_TYPES] = {
- "CUDA Driver API", "CUDA RT API", "CUBLAS API", "CURAND API", "CUDNN API"
+ "CUDA Driver API", "CUDA RT API", "CUBLAS API", "CURAND API", "CUDNN API", "CUFFT API"
};
namespace {
diff --git a/projects/hip/hipify-clang/src/Statistics.h b/projects/hip/hipify-clang/src/Statistics.h
index 77bf9b0518..00ecce3eda 100644
--- a/projects/hip/hipify-clang/src/Statistics.h
+++ b/projects/hip/hipify-clang/src/Statistics.h
@@ -57,6 +57,7 @@ enum ApiTypes {
API_BLAS,
API_RAND,
API_DNN,
+ API_FFT,
API_LAST
};
constexpr int NUM_API_TYPES = (int) ApiTypes::API_LAST;
diff --git a/projects/hip/include/hip/hcc_detail/device_functions.h b/projects/hip/include/hip/hcc_detail/device_functions.h
index 6455fa6cd1..5e1c8a4e6b 100644
--- a/projects/hip/include/hip/hcc_detail/device_functions.h
+++ b/projects/hip/include/hip/hcc_detail/device_functions.h
@@ -48,69 +48,35 @@ __device__ static inline unsigned int __popcll(unsigned long long int input) {
}
__device__ static inline unsigned int __clz(unsigned int input) {
-#ifdef NVCC_COMPAT
return input == 0 ? 32 : __builtin_clz(input);
-#else
- return input == 0 ? -1 : __builtin_clz(input);
-#endif
}
__device__ static inline unsigned int __clzll(unsigned long long int input) {
-#ifdef NVCC_COMPAT
return input == 0 ? 64 : ( input == 0 ? -1 : __builtin_clzl(input) );
-#else
- return input == 0 ? -1 : __builtin_clzl(input);
-#endif
}
__device__ static inline unsigned int __clz(int input) {
-#ifdef NVCC_COMPAT
return input == 0 ? 32 : ( input > 0 ? __builtin_clz(input) : __builtin_clz(~input) );
-#else
- if (input == 0) return -1;
- return input > 0 ? __builtin_clz(input) : __builtin_clz(~input);
-#endif
}
__device__ static inline unsigned int __clzll(long long int input) {
-#ifdef NVCC_COMPAT
return input == 0 ? 64 : input > 0 ? __builtin_clzl(input) : __builtin_clzl(~input);
-#else
- if (input == 0) return -1;
- return input > 0 ? __builtin_clzl(input) : __builtin_clzl(~input);
-#endif
}
__device__ static inline unsigned int __ffs(unsigned int input) {
-#ifdef NVCC_COMPAT
return ( input == 0 ? -1 : __builtin_ctz(input) ) + 1;
-#else
- return input == 0 ? -1 : __builtin_ctz(input);
-#endif
}
__device__ static inline unsigned int __ffsll(unsigned long long int input) {
-#ifdef NVCC_COMPAT
return ( input == 0 ? -1 : __builtin_ctzl(input) ) + 1;
-#else
- return input == 0 ? -1 : __builtin_ctzl(input);
-#endif
}
__device__ static inline unsigned int __ffs(int input) {
-#ifdef NVCC_COMPAT
return ( input == 0 ? -1 : __builtin_ctz(input) ) + 1;
-#else
- return input == 0 ? -1 : __builtin_ctz(input);
-#endif
}
__device__ static inline unsigned int __ffsll(long long int input) {
-#ifdef NVCC_COMPAT
return ( input == 0 ? -1 : __builtin_ctzl(input) ) + 1;
-#else
- return input == 0 ? -1 : __builtin_ctzl(input);
-#endif
}
__device__ static inline unsigned int __brev(unsigned int input) { return __llvm_bitrev_b32(input); }
@@ -673,14 +639,7 @@ int __all(int predicate) {
__device__
inline
int __any(int predicate) {
-#ifdef NVCC_COMPAT
- if (__ockl_wfany_i32(predicate) != 0)
- return 1;
- else
- return 0;
-#else
return __ockl_wfany_i32(predicate);
-#endif
}
// XXX from llvm/include/llvm/IR/InstrTypes.h
diff --git a/projects/hip/include/hip/hcc_detail/hip_runtime.h b/projects/hip/include/hip/hcc_detail/hip_runtime.h
index c2ae6e8e4f..07feddc1cd 100644
--- a/projects/hip/include/hip/hcc_detail/hip_runtime.h
+++ b/projects/hip/include/hip/hcc_detail/hip_runtime.h
@@ -57,8 +57,6 @@ THE SOFTWARE.
#if __HCC_OR_HIP_CLANG__
-// Define NVCC_COMPAT for CUDA compatibility
-#define NVCC_COMPAT
#define CUDA_SUCCESS hipSuccess
#include
@@ -110,9 +108,9 @@ extern int HIP_TRACE_API;
#include
#include
#include
+#include
#if __HCC__
#include
-#include
#endif // __HCC__
// TODO-HCC remove old definitions ; ~1602 hcc supports __HCC_ACCELERATOR__ define.
@@ -450,6 +448,14 @@ extern const __device__ __attribute__((weak)) __hip_builtin_gridDim_t gridDim;
#include
-#endif
+hipError_t hipHccModuleLaunchKernel(hipFunction_t f, uint32_t globalWorkSizeX,
+ uint32_t globalWorkSizeY, uint32_t globalWorkSizeZ,
+ uint32_t localWorkSizeX, uint32_t localWorkSizeY,
+ uint32_t localWorkSizeZ, size_t sharedMemBytes,
+ hipStream_t hStream, void** kernelParams, void** extra,
+ hipEvent_t startEvent = nullptr,
+ hipEvent_t stopEvent = nullptr);
+
+#endif // defined(__clang__) && defined(__HIP__)
#endif // HIP_HCC_DETAIL_RUNTIME_H
diff --git a/projects/hip/include/hip/hcc_detail/texture_functions.h b/projects/hip/include/hip/hcc_detail/texture_functions.h
index 999f97e65e..2a7aeb7357 100644
--- a/projects/hip/include/hip/hcc_detail/texture_functions.h
+++ b/projects/hip/include/hip/hcc_detail/texture_functions.h
@@ -23,14 +23,28 @@ THE SOFTWARE.
#ifndef HIP_INCLUDE_HIP_HCC_DETAIL_TEXTURE_FUNCTIONS_H
#define HIP_INCLUDE_HIP_HCC_DETAIL_TEXTURE_FUNCTIONS_H
-#include
-#include
+#include
#include
+#pragma push_macro("TYPEDEF_VECTOR_VALUE_TYPE")
+#define TYPEDEF_VECTOR_VALUE_TYPE(SCALAR_TYPE) \
+typedef SCALAR_TYPE __hip_##SCALAR_TYPE##2_vector_value_type __attribute__((ext_vector_type(2))); \
+typedef SCALAR_TYPE __hip_##SCALAR_TYPE##3_vector_value_type __attribute__((ext_vector_type(3))); \
+typedef SCALAR_TYPE __hip_##SCALAR_TYPE##4_vector_value_type __attribute__((ext_vector_type(4))); \
+typedef SCALAR_TYPE __hip_##SCALAR_TYPE##8_vector_value_type __attribute__((ext_vector_type(8))); \
+typedef SCALAR_TYPE __hip_##SCALAR_TYPE##16_vector_value_type __attribute__((ext_vector_type(16)));
+
+TYPEDEF_VECTOR_VALUE_TYPE(float);
+TYPEDEF_VECTOR_VALUE_TYPE(int);
+TYPEDEF_VECTOR_VALUE_TYPE(uint);
+
+#undef TYPEDEF_VECTOR_VALUE_TYPE
+#pragma pop_macro("TYPEDEF_VECTOR_VALUE_TYPE")
+
union TData {
- hc::short_vector::float4::vector_value_type f;
- hc::short_vector::int4::vector_value_type i;
- hc::short_vector::uint4::vector_value_type u;
+ __hip_float4_vector_value_type f;
+ __hip_int4_vector_value_type i;
+ __hip_uint4_vector_value_type u;
};
#define __TEXTURE_FUNCTIONS_DECL__ static __inline__ __device__
@@ -153,91 +167,112 @@ union TData {
#define TEXTURE_RETURN_FLOAT_XYZW return make_float4(texel.f.x, texel.f.y, texel.f.z, texel.f.w);
extern "C" {
-hc::short_vector::float4::vector_value_type __ockl_image_sample_1D(unsigned int ADDRESS_SPACE_CONSTANT* i,
- unsigned int ADDRESS_SPACE_CONSTANT* s,
- float c)[[hc]];
-hc::short_vector::float4::vector_value_type __ockl_image_sample_1Da(
+__device__
+__hip_float4_vector_value_type __ockl_image_sample_1D(
unsigned int ADDRESS_SPACE_CONSTANT* i, unsigned int ADDRESS_SPACE_CONSTANT* s,
- hc::short_vector::float2::vector_value_type c)[[hc]];
+ float c);
-hc::short_vector::float4::vector_value_type __ockl_image_sample_2D(
+__device__
+__hip_float4_vector_value_type __ockl_image_sample_1Da(
unsigned int ADDRESS_SPACE_CONSTANT* i, unsigned int ADDRESS_SPACE_CONSTANT* s,
- hc::short_vector::float2::vector_value_type c)[[hc]];
+ __hip_float2_vector_value_type c);
-
-hc::short_vector::float4::vector_value_type __ockl_image_sample_2Da(
+__device__
+__hip_float4_vector_value_type __ockl_image_sample_2D(
unsigned int ADDRESS_SPACE_CONSTANT* i, unsigned int ADDRESS_SPACE_CONSTANT* s,
- hc::short_vector::float4::vector_value_type c)[[hc]];
+ __hip_float2_vector_value_type c);
-float __ockl_image_sample_2Dad(unsigned int ADDRESS_SPACE_CONSTANT* i, unsigned int ADDRESS_SPACE_CONSTANT* s,
- hc::short_vector::float4::vector_value_type c)[[hc]];
-float __ockl_image_sample_2Dd(unsigned int ADDRESS_SPACE_CONSTANT* i, unsigned int ADDRESS_SPACE_CONSTANT* s,
- hc::short_vector::float2::vector_value_type c)[[hc]];
-
-hc::short_vector::float4::vector_value_type __ockl_image_sample_3D(
+__device__
+__hip_float4_vector_value_type __ockl_image_sample_2Da(
unsigned int ADDRESS_SPACE_CONSTANT* i, unsigned int ADDRESS_SPACE_CONSTANT* s,
- hc::short_vector::float4::vector_value_type c)[[hc]];
+ __hip_float4_vector_value_type c);
-hc::short_vector::float4::vector_value_type __ockl_image_sample_grad_1D(
- unsigned int ADDRESS_SPACE_CONSTANT* i, unsigned int ADDRESS_SPACE_CONSTANT* s, float c, float dx,
- float dy)[[hc]];
-
-hc::short_vector::float4::vector_value_type __ockl_image_sample_grad_1Da(
+__device__
+float __ockl_image_sample_2Dad(
unsigned int ADDRESS_SPACE_CONSTANT* i, unsigned int ADDRESS_SPACE_CONSTANT* s,
- hc::short_vector::float2::vector_value_type c, float dx, float dy)[[hc]];
+ __hip_float4_vector_value_type c);
-hc::short_vector::float4::vector_value_type __ockl_image_sample_grad_2D(
+__device__
+float __ockl_image_sample_2Dd(
unsigned int ADDRESS_SPACE_CONSTANT* i, unsigned int ADDRESS_SPACE_CONSTANT* s,
- hc::short_vector::float2::vector_value_type c, hc::short_vector::float2::vector_value_type dx,
- hc::short_vector::float2::vector_value_type dy)[[hc]];
+ __hip_float2_vector_value_type c);
-hc::short_vector::float4::vector_value_type __ockl_image_sample_grad_2Da(
+__device__
+__hip_float4_vector_value_type __ockl_image_sample_3D(
unsigned int ADDRESS_SPACE_CONSTANT* i, unsigned int ADDRESS_SPACE_CONSTANT* s,
- hc::short_vector::float4::vector_value_type c, hc::short_vector::float2::vector_value_type dx,
- hc::short_vector::float2::vector_value_type dy)[[hc]];
+ __hip_float4_vector_value_type c);
-float __ockl_image_sample_grad_2Dad(unsigned int ADDRESS_SPACE_CONSTANT* i,
- unsigned int ADDRESS_SPACE_CONSTANT* s,
- hc::short_vector::float4::vector_value_type c,
- hc::short_vector::float2::vector_value_type dx,
- hc::short_vector::float2::vector_value_type dy)[[hc]];
-
-float __ockl_image_sample_grad_2Dd(unsigned int ADDRESS_SPACE_CONSTANT* i, unsigned int ADDRESS_SPACE_CONSTANT* s,
- hc::short_vector::float2::vector_value_type c,
- hc::short_vector::float2::vector_value_type dx,
- hc::short_vector::float2::vector_value_type dy)[[hc]];
-
-hc::short_vector::float4::vector_value_type __ockl_image_sample_grad_3D(
+__device__
+__hip_float4_vector_value_type __ockl_image_sample_grad_1D(
unsigned int ADDRESS_SPACE_CONSTANT* i, unsigned int ADDRESS_SPACE_CONSTANT* s,
- hc::short_vector::float4::vector_value_type c, hc::short_vector::float4::vector_value_type dx,
- hc::short_vector::float4::vector_value_type dy)[[hc]];
+ float c, float dx, float dy);
-hc::short_vector::float4::vector_value_type __ockl_image_sample_lod_1D(
- unsigned int ADDRESS_SPACE_CONSTANT* i, unsigned int ADDRESS_SPACE_CONSTANT* s, float c, float l)[[hc]];
-
-hc::short_vector::float4::vector_value_type __ockl_image_sample_lod_1Da(
+__device__
+__hip_float4_vector_value_type __ockl_image_sample_grad_1Da(
unsigned int ADDRESS_SPACE_CONSTANT* i, unsigned int ADDRESS_SPACE_CONSTANT* s,
- hc::short_vector::float2::vector_value_type c, float l)[[hc]];
+ __hip_float2_vector_value_type c, float dx, float dy);
-hc::short_vector::float4::vector_value_type __ockl_image_sample_lod_2D(
+__device__
+__hip_float4_vector_value_type __ockl_image_sample_grad_2D(
unsigned int ADDRESS_SPACE_CONSTANT* i, unsigned int ADDRESS_SPACE_CONSTANT* s,
- hc::short_vector::float2::vector_value_type c, float l)[[hc]];
+ __hip_float2_vector_value_type c, __hip_float2_vector_value_type dx, __hip_float2_vector_value_type dy);
-hc::short_vector::float4::vector_value_type __ockl_image_sample_lod_2Da(
+__device__
+__hip_float4_vector_value_type __ockl_image_sample_grad_2Da(
unsigned int ADDRESS_SPACE_CONSTANT* i, unsigned int ADDRESS_SPACE_CONSTANT* s,
- hc::short_vector::float4::vector_value_type c, float l)[[hc]];
+ __hip_float4_vector_value_type c, __hip_float2_vector_value_type dx, __hip_float2_vector_value_type dy);
-float __ockl_image_sample_lod_2Dad(unsigned int ADDRESS_SPACE_CONSTANT* i, unsigned int ADDRESS_SPACE_CONSTANT* s,
- hc::short_vector::float4::vector_value_type c, float l)[[hc]];
-
-float __ockl_image_sample_lod_2Dd(unsigned int ADDRESS_SPACE_CONSTANT* i, unsigned int ADDRESS_SPACE_CONSTANT* s,
- hc::short_vector::float2::vector_value_type c, float l)[[hc]];
-
-hc::short_vector::float4::vector_value_type __ockl_image_sample_lod_3D(
+__device__
+float __ockl_image_sample_grad_2Dad(
unsigned int ADDRESS_SPACE_CONSTANT* i, unsigned int ADDRESS_SPACE_CONSTANT* s,
- hc::short_vector::float4::vector_value_type c, float l)[[hc]];
+ __hip_float4_vector_value_type c, __hip_float2_vector_value_type dx, __hip_float2_vector_value_type dy);
+
+__device__
+float __ockl_image_sample_grad_2Dd(
+ unsigned int ADDRESS_SPACE_CONSTANT* i, unsigned int ADDRESS_SPACE_CONSTANT* s,
+ __hip_float2_vector_value_type c, __hip_float2_vector_value_type dx, __hip_float2_vector_value_type dy);
+
+__device__
+__hip_float4_vector_value_type __ockl_image_sample_grad_3D(
+ unsigned int ADDRESS_SPACE_CONSTANT* i, unsigned int ADDRESS_SPACE_CONSTANT* s,
+ __hip_float4_vector_value_type c, __hip_float4_vector_value_type dx, __hip_float4_vector_value_type dy);
+
+__device__
+__hip_float4_vector_value_type __ockl_image_sample_lod_1D(
+ unsigned int ADDRESS_SPACE_CONSTANT* i, unsigned int ADDRESS_SPACE_CONSTANT* s,
+ float c, float l);
+
+__device__
+__hip_float4_vector_value_type __ockl_image_sample_lod_1Da(
+ unsigned int ADDRESS_SPACE_CONSTANT* i, unsigned int ADDRESS_SPACE_CONSTANT* s,
+ __hip_float2_vector_value_type c, float l);
+
+__device__
+__hip_float4_vector_value_type __ockl_image_sample_lod_2D(
+ unsigned int ADDRESS_SPACE_CONSTANT* i, unsigned int ADDRESS_SPACE_CONSTANT* s,
+ __hip_float2_vector_value_type c, float l);
+
+__device__
+__hip_float4_vector_value_type __ockl_image_sample_lod_2Da(
+ unsigned int ADDRESS_SPACE_CONSTANT* i, unsigned int ADDRESS_SPACE_CONSTANT* s,
+ __hip_float4_vector_value_type c, float l);
+
+__device__
+float __ockl_image_sample_lod_2Dad(
+ unsigned int ADDRESS_SPACE_CONSTANT* i, unsigned int ADDRESS_SPACE_CONSTANT* s,
+ __hip_float4_vector_value_type c, float l);
+
+__device__
+float __ockl_image_sample_lod_2Dd(
+ unsigned int ADDRESS_SPACE_CONSTANT* i, unsigned int ADDRESS_SPACE_CONSTANT* s,
+ __hip_float2_vector_value_type c, float l);
+
+__device__
+__hip_float4_vector_value_type __ockl_image_sample_lod_3D(
+ unsigned int ADDRESS_SPACE_CONSTANT* i, unsigned int ADDRESS_SPACE_CONSTANT* s,
+ __hip_float4_vector_value_type c, float l);
}
////////////////////////////////////////////////////////////
@@ -1025,196 +1060,196 @@ __TEXTURE_FUNCTIONS_DECL__ T tex1DGrad(hipTextureObject_t textureObject, float x
__TEXTURE_FUNCTIONS_DECL__ void tex2D(char* retVal, hipTextureObject_t textureObject, float x,
float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_SET_SIGNED;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2D(char1* retVal, hipTextureObject_t textureObject, float x,
float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_SET_SIGNED_X;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2D(char2* retVal, hipTextureObject_t textureObject, float x,
float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_SET_SIGNED_XY;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2D(char4* retVal, hipTextureObject_t textureObject, float x,
float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_SET_SIGNED_XYZW;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2D(unsigned char* retVal, hipTextureObject_t textureObject,
float x, float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_SET_UNSIGNED;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2D(uchar1* retVal, hipTextureObject_t textureObject, float x,
float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_SET_UNSIGNED_X;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2D(uchar2* retVal, hipTextureObject_t textureObject, float x,
float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_SET_UNSIGNED_XY;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2D(uchar4* retVal, hipTextureObject_t textureObject, float x,
float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_SET_UNSIGNED_XYZW;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2D(short* retVal, hipTextureObject_t textureObject, float x,
float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_SET_SIGNED;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2D(short1* retVal, hipTextureObject_t textureObject, float x,
float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_SET_SIGNED_X;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2D(short2* retVal, hipTextureObject_t textureObject, float x,
float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_SET_SIGNED_XY;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2D(short4* retVal, hipTextureObject_t textureObject, float x,
float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_SET_SIGNED_XYZW;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2D(unsigned short* retVal, hipTextureObject_t textureObject,
float x, float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_SET_UNSIGNED;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2D(ushort1* retVal, hipTextureObject_t textureObject, float x,
float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_SET_UNSIGNED_X;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2D(ushort2* retVal, hipTextureObject_t textureObject, float x,
float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_SET_UNSIGNED_XY;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2D(ushort4* retVal, hipTextureObject_t textureObject, float x,
float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_SET_UNSIGNED_XYZW;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2D(int* retVal, hipTextureObject_t textureObject, float x,
float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_SET_SIGNED;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2D(int1* retVal, hipTextureObject_t textureObject, float x,
float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_SET_SIGNED_X;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2D(int2* retVal, hipTextureObject_t textureObject, float x,
float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_SET_SIGNED_XY;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2D(int4* retVal, hipTextureObject_t textureObject, float x,
float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_SET_SIGNED_XYZW;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2D(unsigned int* retVal, hipTextureObject_t textureObject,
float x, float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_SET_UNSIGNED;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2D(uint1* retVal, hipTextureObject_t textureObject, float x,
float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_SET_UNSIGNED_X;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2D(uint2* retVal, hipTextureObject_t textureObject, float x,
float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_SET_UNSIGNED_XY;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2D(uint4* retVal, hipTextureObject_t textureObject, float x,
float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_SET_UNSIGNED_XYZW;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2D(float* retVal, hipTextureObject_t textureObject, float x,
float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_SET_FLOAT;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2D(float1* retVal, hipTextureObject_t textureObject, float x,
float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_SET_FLOAT_X;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2D(float2* retVal, hipTextureObject_t textureObject, float x,
float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_SET_FLOAT_XY;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2D(float4* retVal, hipTextureObject_t textureObject, float x,
float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_SET_FLOAT_XYZW;
}
@@ -1229,196 +1264,196 @@ __TEXTURE_FUNCTIONS_DECL__ T tex2D(hipTextureObject_t textureObject, float x, fl
__TEXTURE_FUNCTIONS_DECL__ void tex2DLod(char* retVal, hipTextureObject_t textureObject, float x,
float y, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_SET_SIGNED;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2DLod(char1* retVal, hipTextureObject_t textureObject, float x,
float y, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_SET_SIGNED_X;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2DLod(char2* retVal, hipTextureObject_t textureObject, float x,
float y, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_SET_SIGNED_XY;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2DLod(char4* retVal, hipTextureObject_t textureObject, float x,
float y, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_SET_SIGNED_XYZW;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2DLod(unsigned char* retVal, hipTextureObject_t textureObject,
float x, float y, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_SET_UNSIGNED;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2DLod(uchar1* retVal, hipTextureObject_t textureObject, float x,
float y, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_SET_UNSIGNED_X;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2DLod(uchar2* retVal, hipTextureObject_t textureObject, float x,
float y, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_SET_UNSIGNED_XY;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2DLod(uchar4* retVal, hipTextureObject_t textureObject, float x,
float y, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_SET_UNSIGNED_XYZW;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2DLod(short* retVal, hipTextureObject_t textureObject, float x,
float y, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_SET_SIGNED;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2DLod(short1* retVal, hipTextureObject_t textureObject, float x,
float y, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_SET_SIGNED_X;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2DLod(short2* retVal, hipTextureObject_t textureObject, float x,
float y, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_SET_SIGNED_XY;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2DLod(short4* retVal, hipTextureObject_t textureObject, float x,
float y, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_SET_SIGNED_XYZW;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2DLod(unsigned short* retVal, hipTextureObject_t textureObject,
float x, float y, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_SET_UNSIGNED;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2DLod(ushort1* retVal, hipTextureObject_t textureObject, float x,
float y, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_SET_UNSIGNED_X;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2DLod(ushort2* retVal, hipTextureObject_t textureObject, float x,
float y, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_SET_UNSIGNED_XY;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2DLod(ushort4* retVal, hipTextureObject_t textureObject, float x,
float y, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_SET_UNSIGNED_XYZW;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2DLod(int* retVal, hipTextureObject_t textureObject, float x,
float y, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_SET_SIGNED;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2DLod(int1* retVal, hipTextureObject_t textureObject, float x,
float y, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_SET_SIGNED_X;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2DLod(int2* retVal, hipTextureObject_t textureObject, float x,
float y, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_SET_SIGNED_XY;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2DLod(int4* retVal, hipTextureObject_t textureObject, float x,
float y, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_SET_SIGNED_XYZW;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2DLod(unsigned int* retVal, hipTextureObject_t textureObject,
float x, float y, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_SET_UNSIGNED;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2DLod(uint1* retVal, hipTextureObject_t textureObject, float x,
float y, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_SET_UNSIGNED_X;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2DLod(uint2* retVal, hipTextureObject_t textureObject, float x,
float y, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_SET_UNSIGNED_XY;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2DLod(uint4* retVal, hipTextureObject_t textureObject, float x,
float y, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_SET_UNSIGNED_XYZW;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2DLod(float* retVal, hipTextureObject_t textureObject, float x,
float y, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_SET_FLOAT;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2DLod(float1* retVal, hipTextureObject_t textureObject, float x,
float y, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_SET_FLOAT_X;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2DLod(float2* retVal, hipTextureObject_t textureObject, float x,
float y, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_SET_FLOAT_XY;
}
__TEXTURE_FUNCTIONS_DECL__ void tex2DLod(float4* retVal, hipTextureObject_t textureObject, float x,
float y, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_SET_FLOAT_XYZW;
}
@@ -1434,196 +1469,196 @@ __TEXTURE_FUNCTIONS_DECL__ T tex2DLod(hipTextureObject_t textureObject, float x,
__TEXTURE_FUNCTIONS_DECL__ void tex3D(char* retVal, hipTextureObject_t textureObject, float x,
float y, float z) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector());
+ texel.f = __ockl_image_sample_3D(i, s, float4(x, y, z, 0.0f).data);
TEXTURE_SET_SIGNED;
}
__TEXTURE_FUNCTIONS_DECL__ void tex3D(char1* retVal, hipTextureObject_t textureObject, float x,
float y, float z) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector());
+ texel.f = __ockl_image_sample_3D(i, s, float4(x, y, z, 0.0f).data);
TEXTURE_SET_SIGNED_X;
}
__TEXTURE_FUNCTIONS_DECL__ void tex3D(char2* retVal, hipTextureObject_t textureObject, float x,
float y, float z) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector());
+ texel.f = __ockl_image_sample_3D(i, s, float4(x, y, z, 0.0f).data);
TEXTURE_SET_SIGNED_XY;
}
__TEXTURE_FUNCTIONS_DECL__ void tex3D(char4* retVal, hipTextureObject_t textureObject, float x,
float y, float z) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector());
+ texel.f = __ockl_image_sample_3D(i, s, float4(x, y, z, 0.0f).data);
TEXTURE_SET_SIGNED_XYZW;
}
__TEXTURE_FUNCTIONS_DECL__ void tex3D(unsigned char* retVal, hipTextureObject_t textureObject,
float x, float y, float z) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector());
+ texel.f = __ockl_image_sample_3D(i, s, float4(x, y, z, 0.0f).data);
TEXTURE_SET_UNSIGNED;
}
__TEXTURE_FUNCTIONS_DECL__ void tex3D(uchar1* retVal, hipTextureObject_t textureObject, float x,
float y, float z) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector());
+ texel.f = __ockl_image_sample_3D(i, s, float4(x, y, z, 0.0f).data);
TEXTURE_SET_UNSIGNED_X;
}
__TEXTURE_FUNCTIONS_DECL__ void tex3D(uchar2* retVal, hipTextureObject_t textureObject, float x,
float y, float z) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector());
+ texel.f = __ockl_image_sample_3D(i, s, float4(x, y, z, 0.0f).data);
TEXTURE_SET_UNSIGNED_XY;
}
__TEXTURE_FUNCTIONS_DECL__ void tex3D(uchar4* retVal, hipTextureObject_t textureObject, float x,
float y, float z) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector());
+ texel.f = __ockl_image_sample_3D(i, s, float4(x, y, z, 0.0f).data);
TEXTURE_SET_UNSIGNED_XYZW;
}
__TEXTURE_FUNCTIONS_DECL__ void tex3D(short* retVal, hipTextureObject_t textureObject, float x,
float y, float z) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector());
+ texel.f = __ockl_image_sample_3D(i, s, float4(x, y, z, 0.0f).data);
TEXTURE_SET_SIGNED;
}
__TEXTURE_FUNCTIONS_DECL__ void tex3D(short1* retVal, hipTextureObject_t textureObject, float x,
float y, float z) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector());
+ texel.f = __ockl_image_sample_3D(i, s, float4(x, y, z, 0.0f).data);
TEXTURE_SET_SIGNED_X;
}
__TEXTURE_FUNCTIONS_DECL__ void tex3D(short2* retVal, hipTextureObject_t textureObject, float x,
float y, float z) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector());
+ texel.f = __ockl_image_sample_3D(i, s, float4(x, y, z, 0.0f).data);
TEXTURE_SET_SIGNED_XY;
}
__TEXTURE_FUNCTIONS_DECL__ void tex3D(short4* retVal, hipTextureObject_t textureObject, float x,
float y, float z) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector());
+ texel.f = __ockl_image_sample_3D(i, s, float4(x, y, z, 0.0f).data);
TEXTURE_SET_SIGNED_XYZW;
}
__TEXTURE_FUNCTIONS_DECL__ void tex3D(unsigned short* retVal, hipTextureObject_t textureObject,
float x, float y, float z) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector());
+ texel.f = __ockl_image_sample_3D(i, s, float4(x, y, z, 0.0f).data);
TEXTURE_SET_UNSIGNED;
}
__TEXTURE_FUNCTIONS_DECL__ void tex3D(ushort1* retVal, hipTextureObject_t textureObject, float x,
float y, float z) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector());
+ texel.f = __ockl_image_sample_3D(i, s, float4(x, y, z, 0.0f).data);
TEXTURE_SET_UNSIGNED_X;
}
__TEXTURE_FUNCTIONS_DECL__ void tex3D(ushort2* retVal, hipTextureObject_t textureObject, float x,
float y, float z) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector());
+ texel.f = __ockl_image_sample_3D(i, s, float4(x, y, z, 0.0f).data);
TEXTURE_SET_UNSIGNED_XY;
}
__TEXTURE_FUNCTIONS_DECL__ void tex3D(ushort4* retVal, hipTextureObject_t textureObject, float x,
float y, float z) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector());
+ texel.f = __ockl_image_sample_3D(i, s, float4(x, y, z, 0.0f).data);
TEXTURE_SET_UNSIGNED_XYZW;
}
__TEXTURE_FUNCTIONS_DECL__ void tex3D(int* retVal, hipTextureObject_t textureObject, float x,
float y, float z) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector());
+ texel.f = __ockl_image_sample_3D(i, s, float4(x, y, z, 0.0f).data);
TEXTURE_SET_SIGNED;
}
__TEXTURE_FUNCTIONS_DECL__ void tex3D(int1* retVal, hipTextureObject_t textureObject, float x,
float y, float z) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector());
+ texel.f = __ockl_image_sample_3D(i, s, float4(x, y, z, 0.0f).data);
TEXTURE_SET_SIGNED_X;
}
__TEXTURE_FUNCTIONS_DECL__ void tex3D(int2* retVal, hipTextureObject_t textureObject, float x,
float y, float z) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector());
+ texel.f = __ockl_image_sample_3D(i, s, float4(x, y, z, 0.0f).data);
TEXTURE_SET_SIGNED_XY;
}
__TEXTURE_FUNCTIONS_DECL__ void tex3D(int4* retVal, hipTextureObject_t textureObject, float x,
float y, float z) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector());
+ texel.f = __ockl_image_sample_3D(i, s, float4(x, y, z, 0.0f).data);
TEXTURE_SET_SIGNED_XYZW;
}
__TEXTURE_FUNCTIONS_DECL__ void tex3D(unsigned int* retVal, hipTextureObject_t textureObject,
float x, float y, float z) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector());
+ texel.f = __ockl_image_sample_3D(i, s, float4(x, y, z, 0.0f).data);
TEXTURE_SET_UNSIGNED;
}
__TEXTURE_FUNCTIONS_DECL__ void tex3D(uint1* retVal, hipTextureObject_t textureObject, float x,
float y, float z) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector());
+ texel.f = __ockl_image_sample_3D(i, s, float4(x, y, z, 0.0f).data);
TEXTURE_SET_UNSIGNED_X;
}
__TEXTURE_FUNCTIONS_DECL__ void tex3D(uint2* retVal, hipTextureObject_t textureObject, float x,
float y, float z) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector());
+ texel.f = __ockl_image_sample_3D(i, s, float4(x, y, z, 0.0f).data);
TEXTURE_SET_UNSIGNED_XY;
}
__TEXTURE_FUNCTIONS_DECL__ void tex3D(uint4* retVal, hipTextureObject_t textureObject, float x,
float y, float z) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector());
+ texel.f = __ockl_image_sample_3D(i, s, float4(x, y, z, 0.0f).data);
TEXTURE_SET_UNSIGNED_XYZW;
}
__TEXTURE_FUNCTIONS_DECL__ void tex3D(float* retVal, hipTextureObject_t textureObject, float x,
float y, float z) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector());
+ texel.f = __ockl_image_sample_3D(i, s, float4(x, y, z, 0.0f).data);
TEXTURE_SET_FLOAT;
}
__TEXTURE_FUNCTIONS_DECL__ void tex3D(float1* retVal, hipTextureObject_t textureObject, float x,
float y, float z) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector());
+ texel.f = __ockl_image_sample_3D(i, s, float4(x, y, z, 0.0f).data);
TEXTURE_SET_FLOAT_X;
}
__TEXTURE_FUNCTIONS_DECL__ void tex3D(float2* retVal, hipTextureObject_t textureObject, float x,
float y, float z) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector());
+ texel.f = __ockl_image_sample_3D(i, s, float4(x, y, z, 0.0f).data);
TEXTURE_SET_FLOAT_XY;
}
__TEXTURE_FUNCTIONS_DECL__ void tex3D(float4* retVal, hipTextureObject_t textureObject, float x,
float y, float z) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector());
+ texel.f = __ockl_image_sample_3D(i, s, float4(x, y, z, 0.0f).data);
TEXTURE_SET_FLOAT_XYZW;
}
@@ -1638,7 +1673,7 @@ __TEXTURE_FUNCTIONS_DECL__ T tex3D(hipTextureObject_t textureObject, float x, fl
__TEXTURE_FUNCTIONS_DECL__ void tex3DLod(char* retVal, hipTextureObject_t textureObject, float x,
float y, float z, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector(),
+ texel.f = __ockl_image_sample_lod_3D(i, s, float4(x, y, z, 0.0f).data,
level);
TEXTURE_SET_SIGNED;
}
@@ -1646,7 +1681,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex3DLod(char* retVal, hipTextureObject_t textur
__TEXTURE_FUNCTIONS_DECL__ void tex3DLod(char1* retVal, hipTextureObject_t textureObject, float x,
float y, float z, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector(),
+ texel.f = __ockl_image_sample_lod_3D(i, s, float4(x, y, z, 0.0f).data,
level);
TEXTURE_SET_SIGNED_X;
}
@@ -1654,7 +1689,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex3DLod(char1* retVal, hipTextureObject_t textu
__TEXTURE_FUNCTIONS_DECL__ void tex3DLod(char2* retVal, hipTextureObject_t textureObject, float x,
float y, float z, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector(),
+ texel.f = __ockl_image_sample_lod_3D(i, s, float4(x, y, z, 0.0f).data,
level);
TEXTURE_SET_SIGNED_XY;
}
@@ -1662,7 +1697,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex3DLod(char2* retVal, hipTextureObject_t textu
__TEXTURE_FUNCTIONS_DECL__ void tex3DLod(char4* retVal, hipTextureObject_t textureObject, float x,
float y, float z, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector(),
+ texel.f = __ockl_image_sample_lod_3D(i, s, float4(x, y, z, 0.0f).data,
level);
TEXTURE_SET_SIGNED_XYZW;
}
@@ -1670,7 +1705,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex3DLod(char4* retVal, hipTextureObject_t textu
__TEXTURE_FUNCTIONS_DECL__ void tex3DLod(unsigned char* retVal, hipTextureObject_t textureObject,
float x, float y, float z, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector(),
+ texel.f = __ockl_image_sample_lod_3D(i, s, float4(x, y, z, 0.0f).data,
level);
TEXTURE_SET_UNSIGNED;
}
@@ -1678,7 +1713,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex3DLod(unsigned char* retVal, hipTextureObject
__TEXTURE_FUNCTIONS_DECL__ void tex3DLod(uchar1* retVal, hipTextureObject_t textureObject, float x,
float y, float z, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector(),
+ texel.f = __ockl_image_sample_lod_3D(i, s, float4(x, y, z, 0.0f).data,
level);
TEXTURE_SET_UNSIGNED_X;
}
@@ -1686,7 +1721,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex3DLod(uchar1* retVal, hipTextureObject_t text
__TEXTURE_FUNCTIONS_DECL__ void tex3DLod(uchar2* retVal, hipTextureObject_t textureObject, float x,
float y, float z, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector(),
+ texel.f = __ockl_image_sample_lod_3D(i, s, float4(x, y, z, 0.0f).data,
level);
TEXTURE_SET_UNSIGNED_XY;
}
@@ -1694,7 +1729,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex3DLod(uchar2* retVal, hipTextureObject_t text
__TEXTURE_FUNCTIONS_DECL__ void tex3DLod(uchar4* retVal, hipTextureObject_t textureObject, float x,
float y, float z, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector(),
+ texel.f = __ockl_image_sample_lod_3D(i, s, float4(x, y, z, 0.0f).data,
level);
TEXTURE_SET_UNSIGNED_XYZW;
}
@@ -1702,7 +1737,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex3DLod(uchar4* retVal, hipTextureObject_t text
__TEXTURE_FUNCTIONS_DECL__ void tex3DLod(short* retVal, hipTextureObject_t textureObject, float x,
float y, float z, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector(),
+ texel.f = __ockl_image_sample_lod_3D(i, s, float4(x, y, z, 0.0f).data,
level);
TEXTURE_SET_SIGNED;
}
@@ -1710,7 +1745,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex3DLod(short* retVal, hipTextureObject_t textu
__TEXTURE_FUNCTIONS_DECL__ void tex3DLod(short1* retVal, hipTextureObject_t textureObject, float x,
float y, float z, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector(),
+ texel.f = __ockl_image_sample_lod_3D(i, s, float4(x, y, z, 0.0f).data,
level);
TEXTURE_SET_SIGNED_X;
}
@@ -1718,7 +1753,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex3DLod(short1* retVal, hipTextureObject_t text
__TEXTURE_FUNCTIONS_DECL__ void tex3DLod(short2* retVal, hipTextureObject_t textureObject, float x,
float y, float z, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector(),
+ texel.f = __ockl_image_sample_lod_3D(i, s, float4(x, y, z, 0.0f).data,
level);
TEXTURE_SET_SIGNED_XY;
}
@@ -1726,7 +1761,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex3DLod(short2* retVal, hipTextureObject_t text
__TEXTURE_FUNCTIONS_DECL__ void tex3DLod(short4* retVal, hipTextureObject_t textureObject, float x,
float y, float z, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector(),
+ texel.f = __ockl_image_sample_lod_3D(i, s, float4(x, y, z, 0.0f).data,
level);
TEXTURE_SET_SIGNED_XYZW;
}
@@ -1734,7 +1769,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex3DLod(short4* retVal, hipTextureObject_t text
__TEXTURE_FUNCTIONS_DECL__ void tex3DLod(unsigned short* retVal, hipTextureObject_t textureObject,
float x, float y, float z, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector(),
+ texel.f = __ockl_image_sample_lod_3D(i, s, float4(x, y, z, 0.0f).data,
level);
TEXTURE_SET_UNSIGNED;
}
@@ -1742,7 +1777,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex3DLod(unsigned short* retVal, hipTextureObjec
__TEXTURE_FUNCTIONS_DECL__ void tex3DLod(ushort1* retVal, hipTextureObject_t textureObject, float x,
float y, float z, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector(),
+ texel.f = __ockl_image_sample_lod_3D(i, s, float4(x, y, z, 0.0f).data,
level);
TEXTURE_SET_UNSIGNED_X;
}
@@ -1750,7 +1785,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex3DLod(ushort1* retVal, hipTextureObject_t tex
__TEXTURE_FUNCTIONS_DECL__ void tex3DLod(ushort2* retVal, hipTextureObject_t textureObject, float x,
float y, float z, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector(),
+ texel.f = __ockl_image_sample_lod_3D(i, s, float4(x, y, z, 0.0f).data,
level);
TEXTURE_SET_UNSIGNED_XY;
}
@@ -1758,7 +1793,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex3DLod(ushort2* retVal, hipTextureObject_t tex
__TEXTURE_FUNCTIONS_DECL__ void tex3DLod(ushort4* retVal, hipTextureObject_t textureObject, float x,
float y, float z, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector(),
+ texel.f = __ockl_image_sample_lod_3D(i, s, float4(x, y, z, 0.0f).data,
level);
TEXTURE_SET_UNSIGNED_XYZW;
}
@@ -1766,7 +1801,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex3DLod(ushort4* retVal, hipTextureObject_t tex
__TEXTURE_FUNCTIONS_DECL__ void tex3DLod(int* retVal, hipTextureObject_t textureObject, float x,
float y, float z, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector(),
+ texel.f = __ockl_image_sample_lod_3D(i, s, float4(x, y, z, 0.0f).data,
level);
TEXTURE_SET_SIGNED;
}
@@ -1774,7 +1809,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex3DLod(int* retVal, hipTextureObject_t texture
__TEXTURE_FUNCTIONS_DECL__ void tex3DLod(int1* retVal, hipTextureObject_t textureObject, float x,
float y, float z, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector(),
+ texel.f = __ockl_image_sample_lod_3D(i, s, float4(x, y, z, 0.0f).data,
level);
TEXTURE_SET_SIGNED_X;
}
@@ -1782,7 +1817,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex3DLod(int1* retVal, hipTextureObject_t textur
__TEXTURE_FUNCTIONS_DECL__ void tex3DLod(int2* retVal, hipTextureObject_t textureObject, float x,
float y, float z, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector(),
+ texel.f = __ockl_image_sample_lod_3D(i, s, float4(x, y, z, 0.0f).data,
level);
TEXTURE_SET_SIGNED_XY;
}
@@ -1790,7 +1825,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex3DLod(int2* retVal, hipTextureObject_t textur
__TEXTURE_FUNCTIONS_DECL__ void tex3DLod(int4* retVal, hipTextureObject_t textureObject, float x,
float y, float z, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector(),
+ texel.f = __ockl_image_sample_lod_3D(i, s, float4(x, y, z, 0.0f).data,
level);
TEXTURE_SET_SIGNED_XYZW;
}
@@ -1798,7 +1833,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex3DLod(int4* retVal, hipTextureObject_t textur
__TEXTURE_FUNCTIONS_DECL__ void tex3DLod(unsigned int* retVal, hipTextureObject_t textureObject,
float x, float y, float z, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector(),
+ texel.f = __ockl_image_sample_lod_3D(i, s, float4(x, y, z, 0.0f).data,
level);
TEXTURE_SET_UNSIGNED;
}
@@ -1806,7 +1841,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex3DLod(unsigned int* retVal, hipTextureObject_
__TEXTURE_FUNCTIONS_DECL__ void tex3DLod(uint1* retVal, hipTextureObject_t textureObject, float x,
float y, float z, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector(),
+ texel.f = __ockl_image_sample_lod_3D(i, s, float4(x, y, z, 0.0f).data,
level);
TEXTURE_SET_UNSIGNED_X;
}
@@ -1814,7 +1849,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex3DLod(uint1* retVal, hipTextureObject_t textu
__TEXTURE_FUNCTIONS_DECL__ void tex3DLod(uint2* retVal, hipTextureObject_t textureObject, float x,
float y, float z, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector(),
+ texel.f = __ockl_image_sample_lod_3D(i, s, float4(x, y, z, 0.0f).data,
level);
TEXTURE_SET_UNSIGNED_XY;
}
@@ -1822,7 +1857,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex3DLod(uint2* retVal, hipTextureObject_t textu
__TEXTURE_FUNCTIONS_DECL__ void tex3DLod(uint4* retVal, hipTextureObject_t textureObject, float x,
float y, float z, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector(),
+ texel.f = __ockl_image_sample_lod_3D(i, s, float4(x, y, z, 0.0f).data,
level);
TEXTURE_SET_UNSIGNED_XYZW;
}
@@ -1830,7 +1865,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex3DLod(uint4* retVal, hipTextureObject_t textu
__TEXTURE_FUNCTIONS_DECL__ void tex3DLod(float* retVal, hipTextureObject_t textureObject, float x,
float y, float z, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector(),
+ texel.f = __ockl_image_sample_lod_3D(i, s, float4(x, y, z, 0.0f).data,
level);
TEXTURE_SET_FLOAT;
}
@@ -1838,7 +1873,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex3DLod(float* retVal, hipTextureObject_t textu
__TEXTURE_FUNCTIONS_DECL__ void tex3DLod(float1* retVal, hipTextureObject_t textureObject, float x,
float y, float z, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector(),
+ texel.f = __ockl_image_sample_lod_3D(i, s, float4(x, y, z, 0.0f).data,
level);
TEXTURE_SET_FLOAT_X;
}
@@ -1846,7 +1881,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex3DLod(float1* retVal, hipTextureObject_t text
__TEXTURE_FUNCTIONS_DECL__ void tex3DLod(float2* retVal, hipTextureObject_t textureObject, float x,
float y, float z, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector(),
+ texel.f = __ockl_image_sample_lod_3D(i, s, float4(x, y, z, 0.0f).data,
level);
TEXTURE_SET_FLOAT_XY;
}
@@ -1854,7 +1889,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex3DLod(float2* retVal, hipTextureObject_t text
__TEXTURE_FUNCTIONS_DECL__ void tex3DLod(float4* retVal, hipTextureObject_t textureObject, float x,
float y, float z, float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_3D(i, s, hc::short_vector::float4(x, y, z, 0.0f).get_vector(),
+ texel.f = __ockl_image_sample_lod_3D(i, s, float4(x, y, z, 0.0f).data,
level);
TEXTURE_SET_FLOAT_XYZW;
}
@@ -1871,189 +1906,189 @@ __TEXTURE_FUNCTIONS_DECL__ T tex3DLod(hipTextureObject_t textureObject, float x,
__TEXTURE_FUNCTIONS_DECL__ void tex1DLayered(char* retVal, hipTextureObject_t textureObject,
float x, int layer) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_1Da(i, s, hc::short_vector::float2(x, layer).get_vector());
+ texel.f = __ockl_image_sample_1Da(i, s, float2(x, layer).data);
TEXTURE_SET_SIGNED;
}
__TEXTURE_FUNCTIONS_DECL__ void tex1DLayered(char1* retVal, hipTextureObject_t textureObject,
float x, int layer) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_1Da(i, s, hc::short_vector::float2(x, layer).get_vector());
+ texel.f = __ockl_image_sample_1Da(i, s, float2(x, layer).data);
TEXTURE_SET_SIGNED_X;
}
__TEXTURE_FUNCTIONS_DECL__ void tex1DLayered(char2* retVal, hipTextureObject_t textureObject,
float x, int layer) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_1Da(i, s, hc::short_vector::float2(x, layer).get_vector());
+ texel.f = __ockl_image_sample_1Da(i, s, float2(x, layer).data);
TEXTURE_SET_SIGNED_XY;
}
__TEXTURE_FUNCTIONS_DECL__ void tex1DLayered(char4* retVal, hipTextureObject_t textureObject,
float x, int layer) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_1Da(i, s, hc::short_vector::float2(x, layer).get_vector());
+ texel.f = __ockl_image_sample_1Da(i, s, float2(x, layer).data);
TEXTURE_SET_SIGNED_XYZW;
}
__TEXTURE_FUNCTIONS_DECL__ void tex1DLayered(unsigned char* retVal,
hipTextureObject_t textureObject, float x, int layer) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_1Da(i, s, hc::short_vector::float2(x, layer).get_vector());
+ texel.f = __ockl_image_sample_1Da(i, s, float2(x, layer).data);
TEXTURE_SET_UNSIGNED;
}
__TEXTURE_FUNCTIONS_DECL__ void tex1DLayered(uchar1* retVal, hipTextureObject_t textureObject,
float x, int layer) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_1Da(i, s, hc::short_vector::float2(x, layer).get_vector());
+ texel.f = __ockl_image_sample_1Da(i, s, float2(x, layer).data);
TEXTURE_SET_UNSIGNED_X;
}
__TEXTURE_FUNCTIONS_DECL__ void tex1DLayered(uchar2* retVal, hipTextureObject_t textureObject,
float x, int layer) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_1Da(i, s, hc::short_vector::float2(x, layer).get_vector());
+ texel.f = __ockl_image_sample_1Da(i, s, float2(x, layer).data);
TEXTURE_SET_UNSIGNED_XY;
}
__TEXTURE_FUNCTIONS_DECL__ void tex1DLayered(uchar4* retVal, hipTextureObject_t textureObject,
float x, int layer) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_1Da(i, s, hc::short_vector::float2(x, layer).get_vector());
+ texel.f = __ockl_image_sample_1Da(i, s, float2(x, layer).data);
TEXTURE_SET_UNSIGNED_XYZW;
}
__TEXTURE_FUNCTIONS_DECL__ void tex1DLayered(short* retVal, hipTextureObject_t textureObject,
float x, int layer) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_1Da(i, s, hc::short_vector::float2(x, layer).get_vector());
+ texel.f = __ockl_image_sample_1Da(i, s, float2(x, layer).data);
TEXTURE_SET_SIGNED;
}
__TEXTURE_FUNCTIONS_DECL__ void tex1DLayered(short1* retVal, hipTextureObject_t textureObject,
float x, int layer) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_1Da(i, s, hc::short_vector::float2(x, layer).get_vector());
+ texel.f = __ockl_image_sample_1Da(i, s, float2(x, layer).data);
TEXTURE_SET_SIGNED_X;
}
__TEXTURE_FUNCTIONS_DECL__ void tex1DLayered(short2* retVal, hipTextureObject_t textureObject,
float x, int layer) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_1Da(i, s, hc::short_vector::float2(x, layer).get_vector());
+ texel.f = __ockl_image_sample_1Da(i, s, float2(x, layer).data);
TEXTURE_SET_SIGNED_XY;
}
__TEXTURE_FUNCTIONS_DECL__ void tex1DLayered(short4* retVal, hipTextureObject_t textureObject,
float x, int layer) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_1Da(i, s, hc::short_vector::float2(x, layer).get_vector());
+ texel.f = __ockl_image_sample_1Da(i, s, float2(x, layer).data);
TEXTURE_SET_SIGNED_XYZW;
}
__TEXTURE_FUNCTIONS_DECL__ void tex1DLayered(unsigned short* retVal,
hipTextureObject_t textureObject, float x, int layer) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_1Da(i, s, hc::short_vector::float2(x, layer).get_vector());
+ texel.f = __ockl_image_sample_1Da(i, s, float2(x, layer).data);
TEXTURE_SET_UNSIGNED;
}
__TEXTURE_FUNCTIONS_DECL__ void tex1DLayered(ushort1* retVal, hipTextureObject_t textureObject,
float x, int layer) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_1Da(i, s, hc::short_vector::float2(x, layer).get_vector());
+ texel.f = __ockl_image_sample_1Da(i, s, float2(x, layer).data);
TEXTURE_SET_UNSIGNED_X;
}
__TEXTURE_FUNCTIONS_DECL__ void tex1DLayered(ushort2* retVal, hipTextureObject_t textureObject,
float x, int layer) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_1Da(i, s, hc::short_vector::float2(x, layer).get_vector());
+ texel.f = __ockl_image_sample_1Da(i, s, float2(x, layer).data);
TEXTURE_SET_UNSIGNED_XY;
}
__TEXTURE_FUNCTIONS_DECL__ void tex1DLayered(ushort4* retVal, hipTextureObject_t textureObject,
float x, int layer) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_1Da(i, s, hc::short_vector::float2(x, layer).get_vector());
+ texel.f = __ockl_image_sample_1Da(i, s, float2(x, layer).data);
TEXTURE_SET_UNSIGNED_XYZW;
}
__TEXTURE_FUNCTIONS_DECL__ void tex1DLayered(int* retVal, hipTextureObject_t textureObject, float x,
int layer) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_1Da(i, s, hc::short_vector::float2(x, layer).get_vector());
+ texel.f = __ockl_image_sample_1Da(i, s, float2(x, layer).data);
TEXTURE_SET_SIGNED;
}
__TEXTURE_FUNCTIONS_DECL__ void tex1DLayered(int1* retVal, hipTextureObject_t textureObject,
float x, int layer) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_1Da(i, s, hc::short_vector::float2(x, layer).get_vector());
+ texel.f = __ockl_image_sample_1Da(i, s, float2(x, layer).data);
TEXTURE_SET_SIGNED_X;
}
__TEXTURE_FUNCTIONS_DECL__ void tex1DLayered(int2* retVal, hipTextureObject_t textureObject,
float x, int layer) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_1Da(i, s, hc::short_vector::float2(x, layer).get_vector());
+ texel.f = __ockl_image_sample_1Da(i, s, float2(x, layer).data);
TEXTURE_SET_SIGNED_XY;
}
__TEXTURE_FUNCTIONS_DECL__ void tex1DLayered(int4* retVal, hipTextureObject_t textureObject,
float x, int layer) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_1Da(i, s, hc::short_vector::float2(x, layer).get_vector());
+ texel.f = __ockl_image_sample_1Da(i, s, float2(x, layer).data);
TEXTURE_SET_SIGNED_XYZW;
}
__TEXTURE_FUNCTIONS_DECL__ void tex1DLayered(unsigned int* retVal, hipTextureObject_t textureObject,
float x, int layer) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_1Da(i, s, hc::short_vector::float2(x, layer).get_vector());
+ texel.f = __ockl_image_sample_1Da(i, s, float2(x, layer).data);
TEXTURE_SET_UNSIGNED;
}
__TEXTURE_FUNCTIONS_DECL__ void tex1DLayered(uint1* retVal, hipTextureObject_t textureObject,
float x, int layer) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_1Da(i, s, hc::short_vector::float2(x, layer).get_vector());
+ texel.f = __ockl_image_sample_1Da(i, s, float2(x, layer).data);
TEXTURE_SET_UNSIGNED_X;
}
__TEXTURE_FUNCTIONS_DECL__ void tex1DLayered(uint2* retVal, hipTextureObject_t textureObject,
float x, int layer) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_1Da(i, s, hc::short_vector::float2(x, layer).get_vector());
+ texel.f = __ockl_image_sample_1Da(i, s, float2(x, layer).data);
TEXTURE_SET_UNSIGNED_XY;
}
__TEXTURE_FUNCTIONS_DECL__ void tex1DLayered(uint4* retVal, hipTextureObject_t textureObject,
float x, int layer) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_1Da(i, s, hc::short_vector::float2(x, layer).get_vector());
+ texel.f = __ockl_image_sample_1Da(i, s, float2(x, layer).data);
TEXTURE_SET_UNSIGNED_XYZW;
}
__TEXTURE_FUNCTIONS_DECL__ void tex1DLayered(float* retVal, hipTextureObject_t textureObject,
float x, int layer) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_1Da(i, s, hc::short_vector::float2(x, layer).get_vector());
+ texel.f = __ockl_image_sample_1Da(i, s, float2(x, layer).data);
TEXTURE_SET_FLOAT;
}
__TEXTURE_FUNCTIONS_DECL__ void tex1DLayered(float1* retVal, hipTextureObject_t textureObject,
float x, int layer) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_1Da(i, s, hc::short_vector::float2(x, layer).get_vector());
+ texel.f = __ockl_image_sample_1Da(i, s, float2(x, layer).data);
TEXTURE_SET_FLOAT_X;
}
__TEXTURE_FUNCTIONS_DECL__ void tex1DLayered(float2* retVal, hipTextureObject_t textureObject,
float x, int layer) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_1Da(i, s, hc::short_vector::float2(x, layer).get_vector());
+ texel.f = __ockl_image_sample_1Da(i, s, float2(x, layer).data);
TEXTURE_SET_FLOAT_XY;
}
__TEXTURE_FUNCTIONS_DECL__ void tex1DLayered(float4* retVal, hipTextureObject_t textureObject,
float x, int layer) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_1Da(i, s, hc::short_vector::float2(x, layer).get_vector());
+ texel.f = __ockl_image_sample_1Da(i, s, float2(x, layer).data);
TEXTURE_SET_FLOAT_XYZW;
}
@@ -2069,7 +2104,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredLod(char* retVal, hipTextureObject_t
float x, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_lod_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), level);
+ __ockl_image_sample_lod_1Da(i, s, float2(x, layer).data, level);
TEXTURE_SET_SIGNED;
}
@@ -2077,7 +2112,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredLod(char1* retVal, hipTextureObject_
float x, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_lod_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), level);
+ __ockl_image_sample_lod_1Da(i, s, float2(x, layer).data, level);
TEXTURE_SET_SIGNED_X;
}
@@ -2085,7 +2120,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredLod(char2* retVal, hipTextureObject_
float x, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_lod_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), level);
+ __ockl_image_sample_lod_1Da(i, s, float2(x, layer).data, level);
TEXTURE_SET_SIGNED_XY;
}
@@ -2093,7 +2128,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredLod(char4* retVal, hipTextureObject_
float x, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_lod_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), level);
+ __ockl_image_sample_lod_1Da(i, s, float2(x, layer).data, level);
TEXTURE_SET_SIGNED_XYZW;
}
@@ -2102,7 +2137,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredLod(unsigned char* retVal,
int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_lod_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), level);
+ __ockl_image_sample_lod_1Da(i, s, float2(x, layer).data, level);
TEXTURE_SET_UNSIGNED;
}
@@ -2110,7 +2145,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredLod(uchar1* retVal, hipTextureObject
float x, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_lod_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), level);
+ __ockl_image_sample_lod_1Da(i, s, float2(x, layer).data, level);
TEXTURE_SET_UNSIGNED_X;
}
@@ -2118,7 +2153,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredLod(uchar2* retVal, hipTextureObject
float x, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_lod_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), level);
+ __ockl_image_sample_lod_1Da(i, s, float2(x, layer).data, level);
TEXTURE_SET_UNSIGNED_XY;
}
@@ -2126,7 +2161,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredLod(uchar4* retVal, hipTextureObject
float x, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_lod_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), level);
+ __ockl_image_sample_lod_1Da(i, s, float2(x, layer).data, level);
TEXTURE_SET_UNSIGNED_XYZW;
}
@@ -2134,7 +2169,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredLod(short* retVal, hipTextureObject_
float x, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_lod_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), level);
+ __ockl_image_sample_lod_1Da(i, s, float2(x, layer).data, level);
TEXTURE_SET_SIGNED;
}
@@ -2142,7 +2177,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredLod(short1* retVal, hipTextureObject
float x, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_lod_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), level);
+ __ockl_image_sample_lod_1Da(i, s, float2(x, layer).data, level);
TEXTURE_SET_SIGNED_X;
}
@@ -2150,7 +2185,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredLod(short2* retVal, hipTextureObject
float x, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_lod_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), level);
+ __ockl_image_sample_lod_1Da(i, s, float2(x, layer).data, level);
TEXTURE_SET_SIGNED_XY;
}
@@ -2158,7 +2193,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredLod(short4* retVal, hipTextureObject
float x, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_lod_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), level);
+ __ockl_image_sample_lod_1Da(i, s, float2(x, layer).data, level);
TEXTURE_SET_SIGNED_XYZW;
}
@@ -2167,7 +2202,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredLod(unsigned short* retVal,
int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_lod_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), level);
+ __ockl_image_sample_lod_1Da(i, s, float2(x, layer).data, level);
TEXTURE_SET_UNSIGNED;
}
@@ -2175,7 +2210,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredLod(ushort1* retVal, hipTextureObjec
float x, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_lod_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), level);
+ __ockl_image_sample_lod_1Da(i, s, float2(x, layer).data, level);
TEXTURE_SET_UNSIGNED_X;
}
@@ -2183,7 +2218,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredLod(ushort2* retVal, hipTextureObjec
float x, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_lod_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), level);
+ __ockl_image_sample_lod_1Da(i, s, float2(x, layer).data, level);
TEXTURE_SET_UNSIGNED_XY;
}
@@ -2191,7 +2226,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredLod(ushort4* retVal, hipTextureObjec
float x, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_lod_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), level);
+ __ockl_image_sample_lod_1Da(i, s, float2(x, layer).data, level);
TEXTURE_SET_UNSIGNED_XYZW;
}
@@ -2199,7 +2234,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredLod(int* retVal, hipTextureObject_t
float x, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_lod_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), level);
+ __ockl_image_sample_lod_1Da(i, s, float2(x, layer).data, level);
TEXTURE_SET_SIGNED;
}
@@ -2207,7 +2242,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredLod(int1* retVal, hipTextureObject_t
float x, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_lod_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), level);
+ __ockl_image_sample_lod_1Da(i, s, float2(x, layer).data, level);
TEXTURE_SET_SIGNED_X;
}
@@ -2215,7 +2250,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredLod(int2* retVal, hipTextureObject_t
float x, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_lod_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), level);
+ __ockl_image_sample_lod_1Da(i, s, float2(x, layer).data, level);
TEXTURE_SET_SIGNED_XY;
}
@@ -2223,7 +2258,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredLod(int4* retVal, hipTextureObject_t
float x, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_lod_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), level);
+ __ockl_image_sample_lod_1Da(i, s, float2(x, layer).data, level);
TEXTURE_SET_SIGNED_XYZW;
}
@@ -2232,7 +2267,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredLod(unsigned int* retVal,
int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_lod_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), level);
+ __ockl_image_sample_lod_1Da(i, s, float2(x, layer).data, level);
TEXTURE_SET_UNSIGNED;
}
@@ -2240,7 +2275,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredLod(uint1* retVal, hipTextureObject_
float x, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_lod_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), level);
+ __ockl_image_sample_lod_1Da(i, s, float2(x, layer).data, level);
TEXTURE_SET_UNSIGNED_X;
}
@@ -2248,7 +2283,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredLod(uint2* retVal, hipTextureObject_
float x, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_lod_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), level);
+ __ockl_image_sample_lod_1Da(i, s, float2(x, layer).data, level);
TEXTURE_SET_UNSIGNED_XY;
}
@@ -2256,7 +2291,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredLod(uint4* retVal, hipTextureObject_
float x, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_lod_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), level);
+ __ockl_image_sample_lod_1Da(i, s, float2(x, layer).data, level);
TEXTURE_SET_UNSIGNED_XYZW;
}
@@ -2264,7 +2299,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredLod(float* retVal, hipTextureObject_
float x, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_lod_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), level);
+ __ockl_image_sample_lod_1Da(i, s, float2(x, layer).data, level);
TEXTURE_SET_FLOAT;
}
@@ -2272,7 +2307,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredLod(float1* retVal, hipTextureObject
float x, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_lod_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), level);
+ __ockl_image_sample_lod_1Da(i, s, float2(x, layer).data, level);
TEXTURE_SET_FLOAT_X;
}
@@ -2280,7 +2315,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredLod(float2* retVal, hipTextureObject
float x, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_lod_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), level);
+ __ockl_image_sample_lod_1Da(i, s, float2(x, layer).data, level);
TEXTURE_SET_FLOAT_XY;
}
@@ -2288,7 +2323,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredLod(float4* retVal, hipTextureObject
float x, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_lod_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), level);
+ __ockl_image_sample_lod_1Da(i, s, float2(x, layer).data, level);
TEXTURE_SET_FLOAT_XYZW;
}
@@ -2305,7 +2340,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredGrad(char* retVal, hipTextureObject_
float x, int layer, float dx, float dy) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_grad_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), dx, dy);
+ __ockl_image_sample_grad_1Da(i, s, float2(x, layer).data, dx, dy);
TEXTURE_SET_SIGNED;
}
@@ -2313,7 +2348,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredGrad(char1* retVal, hipTextureObject
float x, int layer, float dx, float dy) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_grad_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), dx, dy);
+ __ockl_image_sample_grad_1Da(i, s, float2(x, layer).data, dx, dy);
TEXTURE_SET_SIGNED_X;
}
@@ -2321,7 +2356,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredGrad(char2* retVal, hipTextureObject
float x, int layer, float dx, float dy) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_grad_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), dx, dy);
+ __ockl_image_sample_grad_1Da(i, s, float2(x, layer).data, dx, dy);
TEXTURE_SET_SIGNED_XY;
}
@@ -2329,7 +2364,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredGrad(char4* retVal, hipTextureObject
float x, int layer, float dx, float dy) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_grad_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), dx, dy);
+ __ockl_image_sample_grad_1Da(i, s, float2(x, layer).data, dx, dy);
TEXTURE_SET_SIGNED_XYZW;
}
@@ -2338,7 +2373,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredGrad(unsigned char* retVal,
int layer, float dx, float dy) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_grad_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), dx, dy);
+ __ockl_image_sample_grad_1Da(i, s, float2(x, layer).data, dx, dy);
TEXTURE_SET_UNSIGNED;
}
@@ -2346,7 +2381,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredGrad(uchar1* retVal, hipTextureObjec
float x, int layer, float dx, float dy) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_grad_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), dx, dy);
+ __ockl_image_sample_grad_1Da(i, s, float2(x, layer).data, dx, dy);
TEXTURE_SET_UNSIGNED_X;
}
@@ -2354,7 +2389,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredGrad(uchar2* retVal, hipTextureObjec
float x, int layer, float dx, float dy) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_grad_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), dx, dy);
+ __ockl_image_sample_grad_1Da(i, s, float2(x, layer).data, dx, dy);
TEXTURE_SET_UNSIGNED_XY;
}
@@ -2362,7 +2397,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredGrad(uchar4* retVal, hipTextureObjec
float x, int layer, float dx, float dy) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_grad_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), dx, dy);
+ __ockl_image_sample_grad_1Da(i, s, float2(x, layer).data, dx, dy);
TEXTURE_SET_UNSIGNED_XYZW;
}
@@ -2370,7 +2405,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredGrad(short* retVal, hipTextureObject
float x, int layer, float dx, float dy) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_grad_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), dx, dy);
+ __ockl_image_sample_grad_1Da(i, s, float2(x, layer).data, dx, dy);
TEXTURE_SET_SIGNED;
}
@@ -2378,7 +2413,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredGrad(short1* retVal, hipTextureObjec
float x, int layer, float dx, float dy) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_grad_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), dx, dy);
+ __ockl_image_sample_grad_1Da(i, s, float2(x, layer).data, dx, dy);
TEXTURE_SET_SIGNED_X;
}
@@ -2386,7 +2421,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredGrad(short2* retVal, hipTextureObjec
float x, int layer, float dx, float dy) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_grad_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), dx, dy);
+ __ockl_image_sample_grad_1Da(i, s, float2(x, layer).data, dx, dy);
TEXTURE_SET_SIGNED_XY;
}
@@ -2394,7 +2429,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredGrad(short4* retVal, hipTextureObjec
float x, int layer, float dx, float dy) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_grad_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), dx, dy);
+ __ockl_image_sample_grad_1Da(i, s, float2(x, layer).data, dx, dy);
TEXTURE_SET_SIGNED_XYZW;
}
@@ -2403,7 +2438,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredGrad(unsigned short* retVal,
int layer, float dx, float dy) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_grad_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), dx, dy);
+ __ockl_image_sample_grad_1Da(i, s, float2(x, layer).data, dx, dy);
TEXTURE_SET_UNSIGNED;
}
@@ -2411,7 +2446,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredGrad(ushort1* retVal, hipTextureObje
float x, int layer, float dx, float dy) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_grad_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), dx, dy);
+ __ockl_image_sample_grad_1Da(i, s, float2(x, layer).data, dx, dy);
TEXTURE_SET_UNSIGNED_X;
}
@@ -2419,7 +2454,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredGrad(ushort2* retVal, hipTextureObje
float x, int layer, float dx, float dy) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_grad_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), dx, dy);
+ __ockl_image_sample_grad_1Da(i, s, float2(x, layer).data, dx, dy);
TEXTURE_SET_UNSIGNED_XY;
}
@@ -2427,7 +2462,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredGrad(ushort4* retVal, hipTextureObje
float x, int layer, float dx, float dy) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_grad_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), dx, dy);
+ __ockl_image_sample_grad_1Da(i, s, float2(x, layer).data, dx, dy);
TEXTURE_SET_UNSIGNED_XYZW;
}
@@ -2435,7 +2470,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredGrad(int* retVal, hipTextureObject_t
float x, int layer, float dx, float dy) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_grad_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), dx, dy);
+ __ockl_image_sample_grad_1Da(i, s, float2(x, layer).data, dx, dy);
TEXTURE_SET_SIGNED;
}
@@ -2443,7 +2478,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredGrad(int1* retVal, hipTextureObject_
float x, int layer, float dx, float dy) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_grad_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), dx, dy);
+ __ockl_image_sample_grad_1Da(i, s, float2(x, layer).data, dx, dy);
TEXTURE_SET_SIGNED_X;
}
@@ -2451,7 +2486,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredGrad(int2* retVal, hipTextureObject_
float x, int layer, float dx, float dy) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_grad_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), dx, dy);
+ __ockl_image_sample_grad_1Da(i, s, float2(x, layer).data, dx, dy);
TEXTURE_SET_SIGNED_XY;
}
@@ -2459,7 +2494,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredGrad(int4* retVal, hipTextureObject_
float x, int layer, float dx, float dy) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_grad_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), dx, dy);
+ __ockl_image_sample_grad_1Da(i, s, float2(x, layer).data, dx, dy);
TEXTURE_SET_SIGNED_XYZW;
}
@@ -2468,7 +2503,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredGrad(unsigned int* retVal,
int layer, float dx, float dy) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_grad_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), dx, dy);
+ __ockl_image_sample_grad_1Da(i, s, float2(x, layer).data, dx, dy);
TEXTURE_SET_UNSIGNED;
}
@@ -2476,7 +2511,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredGrad(uint1* retVal, hipTextureObject
float x, int layer, float dx, float dy) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_grad_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), dx, dy);
+ __ockl_image_sample_grad_1Da(i, s, float2(x, layer).data, dx, dy);
TEXTURE_SET_UNSIGNED_X;
}
@@ -2484,7 +2519,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredGrad(uint2* retVal, hipTextureObject
float x, int layer, float dx, float dy) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_grad_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), dx, dy);
+ __ockl_image_sample_grad_1Da(i, s, float2(x, layer).data, dx, dy);
TEXTURE_SET_UNSIGNED_XY;
}
@@ -2492,7 +2527,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredGrad(uint4* retVal, hipTextureObject
float x, int layer, float dx, float dy) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_grad_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), dx, dy);
+ __ockl_image_sample_grad_1Da(i, s, float2(x, layer).data, dx, dy);
TEXTURE_SET_UNSIGNED_XYZW;
}
@@ -2500,7 +2535,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredGrad(float* retVal, hipTextureObject
float x, int layer, float dx, float dy) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_grad_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), dx, dy);
+ __ockl_image_sample_grad_1Da(i, s, float2(x, layer).data, dx, dy);
TEXTURE_SET_FLOAT;
}
@@ -2508,7 +2543,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredGrad(float1* retVal, hipTextureObjec
float x, int layer, float dx, float dy) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_grad_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), dx, dy);
+ __ockl_image_sample_grad_1Da(i, s, float2(x, layer).data, dx, dy);
TEXTURE_SET_FLOAT_X;
}
@@ -2516,7 +2551,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredGrad(float2* retVal, hipTextureObjec
float x, int layer, float dx, float dy) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_grad_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), dx, dy);
+ __ockl_image_sample_grad_1Da(i, s, float2(x, layer).data, dx, dy);
TEXTURE_SET_FLOAT_XY;
}
@@ -2524,7 +2559,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex1DLayeredGrad(float4* retVal, hipTextureObjec
float x, int layer, float dx, float dy) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_grad_1Da(i, s, hc::short_vector::float2(x, layer).get_vector(), dx, dy);
+ __ockl_image_sample_grad_1Da(i, s, float2(x, layer).data, dx, dy);
TEXTURE_SET_FLOAT_XYZW;
}
@@ -2541,7 +2576,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayered(char* retVal, hipTextureObject_t te
float x, float y, int layer) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_2Da(i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector());
+ __ockl_image_sample_2Da(i, s, float4(x, y, layer, 0.0f).data);
TEXTURE_SET_SIGNED;
}
@@ -2549,7 +2584,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayered(char1* retVal, hipTextureObject_t t
float x, float y, int layer) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_2Da(i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector());
+ __ockl_image_sample_2Da(i, s, float4(x, y, layer, 0.0f).data);
TEXTURE_SET_SIGNED_X;
}
@@ -2557,7 +2592,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayered(char2* retVal, hipTextureObject_t t
float x, float y, int layer) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_2Da(i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector());
+ __ockl_image_sample_2Da(i, s, float4(x, y, layer, 0.0f).data);
TEXTURE_SET_SIGNED_XY;
}
@@ -2565,7 +2600,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayered(char4* retVal, hipTextureObject_t t
float x, float y, int layer) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_2Da(i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector());
+ __ockl_image_sample_2Da(i, s, float4(x, y, layer, 0.0f).data);
TEXTURE_SET_SIGNED_XYZW;
}
@@ -2574,7 +2609,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayered(unsigned char* retVal,
int layer) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_2Da(i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector());
+ __ockl_image_sample_2Da(i, s, float4(x, y, layer, 0.0f).data);
TEXTURE_SET_UNSIGNED;
}
@@ -2582,7 +2617,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayered(uchar1* retVal, hipTextureObject_t
float x, float y, int layer) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_2Da(i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector());
+ __ockl_image_sample_2Da(i, s, float4(x, y, layer, 0.0f).data);
TEXTURE_SET_UNSIGNED_X;
}
@@ -2590,7 +2625,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayered(uchar2* retVal, hipTextureObject_t
float x, float y, int layer) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_2Da(i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector());
+ __ockl_image_sample_2Da(i, s, float4(x, y, layer, 0.0f).data);
TEXTURE_SET_UNSIGNED_XY;
}
@@ -2598,7 +2633,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayered(uchar4* retVal, hipTextureObject_t
float x, float y, int layer) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_2Da(i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector());
+ __ockl_image_sample_2Da(i, s, float4(x, y, layer, 0.0f).data);
TEXTURE_SET_UNSIGNED_XYZW;
}
@@ -2606,7 +2641,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayered(short* retVal, hipTextureObject_t t
float x, float y, int layer) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_2Da(i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector());
+ __ockl_image_sample_2Da(i, s, float4(x, y, layer, 0.0f).data);
TEXTURE_SET_SIGNED;
}
@@ -2614,7 +2649,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayered(short1* retVal, hipTextureObject_t
float x, float y, int layer) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_2Da(i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector());
+ __ockl_image_sample_2Da(i, s, float4(x, y, layer, 0.0f).data);
TEXTURE_SET_SIGNED_X;
}
@@ -2622,7 +2657,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayered(short2* retVal, hipTextureObject_t
float x, float y, int layer) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_2Da(i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector());
+ __ockl_image_sample_2Da(i, s, float4(x, y, layer, 0.0f).data);
TEXTURE_SET_SIGNED_XY;
}
@@ -2630,7 +2665,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayered(short4* retVal, hipTextureObject_t
float x, float y, int layer) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_2Da(i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector());
+ __ockl_image_sample_2Da(i, s, float4(x, y, layer, 0.0f).data);
TEXTURE_SET_SIGNED_XYZW;
}
@@ -2639,7 +2674,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayered(unsigned short* retVal,
int layer) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_2Da(i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector());
+ __ockl_image_sample_2Da(i, s, float4(x, y, layer, 0.0f).data);
TEXTURE_SET_UNSIGNED;
}
@@ -2647,7 +2682,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayered(ushort1* retVal, hipTextureObject_t
float x, float y, int layer) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_2Da(i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector());
+ __ockl_image_sample_2Da(i, s, float4(x, y, layer, 0.0f).data);
TEXTURE_SET_UNSIGNED_X;
}
@@ -2655,7 +2690,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayered(ushort2* retVal, hipTextureObject_t
float x, float y, int layer) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_2Da(i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector());
+ __ockl_image_sample_2Da(i, s, float4(x, y, layer, 0.0f).data);
TEXTURE_SET_UNSIGNED_XY;
}
@@ -2663,7 +2698,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayered(ushort4* retVal, hipTextureObject_t
float x, float y, int layer) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_2Da(i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector());
+ __ockl_image_sample_2Da(i, s, float4(x, y, layer, 0.0f).data);
TEXTURE_SET_UNSIGNED_XYZW;
}
@@ -2671,7 +2706,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayered(int* retVal, hipTextureObject_t tex
float y, int layer) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_2Da(i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector());
+ __ockl_image_sample_2Da(i, s, float4(x, y, layer, 0.0f).data);
TEXTURE_SET_SIGNED;
}
@@ -2679,7 +2714,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayered(int1* retVal, hipTextureObject_t te
float x, float y, int layer) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_2Da(i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector());
+ __ockl_image_sample_2Da(i, s, float4(x, y, layer, 0.0f).data);
TEXTURE_SET_SIGNED_X;
}
@@ -2687,7 +2722,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayered(int2* retVal, hipTextureObject_t te
float x, float y, int layer) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_2Da(i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector());
+ __ockl_image_sample_2Da(i, s, float4(x, y, layer, 0.0f).data);
TEXTURE_SET_SIGNED_XY;
}
@@ -2695,7 +2730,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayered(int4* retVal, hipTextureObject_t te
float x, float y, int layer) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_2Da(i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector());
+ __ockl_image_sample_2Da(i, s, float4(x, y, layer, 0.0f).data);
TEXTURE_SET_SIGNED_XYZW;
}
@@ -2703,7 +2738,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayered(unsigned int* retVal, hipTextureObj
float x, float y, int layer) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_2Da(i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector());
+ __ockl_image_sample_2Da(i, s, float4(x, y, layer, 0.0f).data);
TEXTURE_SET_UNSIGNED;
}
@@ -2711,7 +2746,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayered(uint1* retVal, hipTextureObject_t t
float x, float y, int layer) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_2Da(i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector());
+ __ockl_image_sample_2Da(i, s, float4(x, y, layer, 0.0f).data);
TEXTURE_SET_UNSIGNED_X;
}
@@ -2719,7 +2754,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayered(uint2* retVal, hipTextureObject_t t
float x, float y, int layer) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_2Da(i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector());
+ __ockl_image_sample_2Da(i, s, float4(x, y, layer, 0.0f).data);
TEXTURE_SET_UNSIGNED_XY;
}
@@ -2727,7 +2762,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayered(uint4* retVal, hipTextureObject_t t
float x, float y, int layer) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_2Da(i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector());
+ __ockl_image_sample_2Da(i, s, float4(x, y, layer, 0.0f).data);
TEXTURE_SET_UNSIGNED_XYZW;
}
@@ -2735,7 +2770,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayered(float* retVal, hipTextureObject_t t
float x, float y, int layer) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_2Da(i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector());
+ __ockl_image_sample_2Da(i, s, float4(x, y, layer, 0.0f).data);
TEXTURE_SET_FLOAT;
}
@@ -2743,7 +2778,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayered(float1* retVal, hipTextureObject_t
float x, float y, int layer) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_2Da(i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector());
+ __ockl_image_sample_2Da(i, s, float4(x, y, layer, 0.0f).data);
TEXTURE_SET_FLOAT_X;
}
@@ -2751,7 +2786,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayered(float2* retVal, hipTextureObject_t
float x, float y, int layer) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_2Da(i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector());
+ __ockl_image_sample_2Da(i, s, float4(x, y, layer, 0.0f).data);
TEXTURE_SET_FLOAT_XY;
}
@@ -2759,7 +2794,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayered(float4* retVal, hipTextureObject_t
float x, float y, int layer) {
TEXTURE_PARAMETERS_INIT;
texel.f =
- __ockl_image_sample_2Da(i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector());
+ __ockl_image_sample_2Da(i, s, float4(x, y, layer, 0.0f).data);
TEXTURE_SET_FLOAT_XYZW;
}
@@ -2776,7 +2811,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayeredLod(char* retVal, hipTextureObject_t
float x, float y, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f = __ockl_image_sample_lod_2Da(
- i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector(), level);
+ i, s, float4(x, y, layer, 0.0f).data, level);
TEXTURE_SET_SIGNED;
}
@@ -2784,7 +2819,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayeredLod(char1* retVal, hipTextureObject_
float x, float y, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f = __ockl_image_sample_lod_2Da(
- i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector(), level);
+ i, s, float4(x, y, layer, 0.0f).data, level);
TEXTURE_SET_SIGNED_X;
}
@@ -2792,7 +2827,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayeredLod(char2* retVal, hipTextureObject_
float x, float y, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f = __ockl_image_sample_lod_2Da(
- i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector(), level);
+ i, s, float4(x, y, layer, 0.0f).data, level);
TEXTURE_SET_SIGNED_XY;
}
@@ -2800,7 +2835,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayeredLod(char4* retVal, hipTextureObject_
float x, float y, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f = __ockl_image_sample_lod_2Da(
- i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector(), level);
+ i, s, float4(x, y, layer, 0.0f).data, level);
TEXTURE_SET_SIGNED_XYZW;
}
@@ -2809,7 +2844,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayeredLod(unsigned char* retVal,
int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f = __ockl_image_sample_lod_2Da(
- i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector(), level);
+ i, s, float4(x, y, layer, 0.0f).data, level);
TEXTURE_SET_UNSIGNED;
}
@@ -2817,7 +2852,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayeredLod(uchar1* retVal, hipTextureObject
float x, float y, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f = __ockl_image_sample_lod_2Da(
- i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector(), level);
+ i, s, float4(x, y, layer, 0.0f).data, level);
TEXTURE_SET_UNSIGNED_X;
}
@@ -2825,7 +2860,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayeredLod(uchar2* retVal, hipTextureObject
float x, float y, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f = __ockl_image_sample_lod_2Da(
- i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector(), level);
+ i, s, float4(x, y, layer, 0.0f).data, level);
TEXTURE_SET_UNSIGNED_XY;
}
@@ -2833,7 +2868,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayeredLod(uchar4* retVal, hipTextureObject
float x, float y, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f = __ockl_image_sample_lod_2Da(
- i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector(), level);
+ i, s, float4(x, y, layer, 0.0f).data, level);
TEXTURE_SET_UNSIGNED_XYZW;
}
@@ -2841,7 +2876,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayeredLod(short* retVal, hipTextureObject_
float x, float y, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f = __ockl_image_sample_lod_2Da(
- i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector(), level);
+ i, s, float4(x, y, layer, 0.0f).data, level);
TEXTURE_SET_SIGNED;
}
@@ -2849,7 +2884,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayeredLod(short1* retVal, hipTextureObject
float x, float y, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f = __ockl_image_sample_lod_2Da(
- i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector(), level);
+ i, s, float4(x, y, layer, 0.0f).data, level);
TEXTURE_SET_SIGNED_X;
}
@@ -2857,7 +2892,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayeredLod(short2* retVal, hipTextureObject
float x, float y, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f = __ockl_image_sample_lod_2Da(
- i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector(), level);
+ i, s, float4(x, y, layer, 0.0f).data, level);
TEXTURE_SET_SIGNED_XY;
}
@@ -2865,7 +2900,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayeredLod(short4* retVal, hipTextureObject
float x, float y, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f = __ockl_image_sample_lod_2Da(
- i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector(), level);
+ i, s, float4(x, y, layer, 0.0f).data, level);
TEXTURE_SET_SIGNED_XYZW;
}
@@ -2874,7 +2909,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayeredLod(unsigned short* retVal,
int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f = __ockl_image_sample_lod_2Da(
- i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector(), level);
+ i, s, float4(x, y, layer, 0.0f).data, level);
TEXTURE_SET_UNSIGNED;
}
@@ -2882,7 +2917,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayeredLod(ushort1* retVal, hipTextureObjec
float x, float y, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f = __ockl_image_sample_lod_2Da(
- i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector(), level);
+ i, s, float4(x, y, layer, 0.0f).data, level);
TEXTURE_SET_UNSIGNED_X;
}
@@ -2890,7 +2925,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayeredLod(ushort2* retVal, hipTextureObjec
float x, float y, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f = __ockl_image_sample_lod_2Da(
- i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector(), level);
+ i, s, float4(x, y, layer, 0.0f).data, level);
TEXTURE_SET_UNSIGNED_XY;
}
@@ -2898,7 +2933,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayeredLod(ushort4* retVal, hipTextureObjec
float x, float y, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f = __ockl_image_sample_lod_2Da(
- i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector(), level);
+ i, s, float4(x, y, layer, 0.0f).data, level);
TEXTURE_SET_UNSIGNED_XYZW;
}
@@ -2906,7 +2941,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayeredLod(int* retVal, hipTextureObject_t
float x, float y, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f = __ockl_image_sample_lod_2Da(
- i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector(), level);
+ i, s, float4(x, y, layer, 0.0f).data, level);
TEXTURE_SET_SIGNED;
}
@@ -2914,7 +2949,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayeredLod(int1* retVal, hipTextureObject_t
float x, float y, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f = __ockl_image_sample_lod_2Da(
- i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector(), level);
+ i, s, float4(x, y, layer, 0.0f).data, level);
TEXTURE_SET_SIGNED_X;
}
@@ -2922,7 +2957,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayeredLod(int2* retVal, hipTextureObject_t
float x, float y, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f = __ockl_image_sample_lod_2Da(
- i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector(), level);
+ i, s, float4(x, y, layer, 0.0f).data, level);
TEXTURE_SET_SIGNED_XY;
}
@@ -2930,7 +2965,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayeredLod(int4* retVal, hipTextureObject_t
float x, float y, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f = __ockl_image_sample_lod_2Da(
- i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector(), level);
+ i, s, float4(x, y, layer, 0.0f).data, level);
TEXTURE_SET_SIGNED_XYZW;
}
@@ -2939,7 +2974,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayeredLod(unsigned int* retVal,
int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f = __ockl_image_sample_lod_2Da(
- i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector(), level);
+ i, s, float4(x, y, layer, 0.0f).data, level);
TEXTURE_SET_UNSIGNED;
}
@@ -2947,7 +2982,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayeredLod(uint1* retVal, hipTextureObject_
float x, float y, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f = __ockl_image_sample_lod_2Da(
- i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector(), level);
+ i, s, float4(x, y, layer, 0.0f).data, level);
TEXTURE_SET_UNSIGNED_X;
}
@@ -2955,7 +2990,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayeredLod(uint2* retVal, hipTextureObject_
float x, float y, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f = __ockl_image_sample_lod_2Da(
- i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector(), level);
+ i, s, float4(x, y, layer, 0.0f).data, level);
TEXTURE_SET_UNSIGNED_XY;
}
@@ -2963,7 +2998,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayeredLod(uint4* retVal, hipTextureObject_
float x, float y, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f = __ockl_image_sample_lod_2Da(
- i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector(), level);
+ i, s, float4(x, y, layer, 0.0f).data, level);
TEXTURE_SET_UNSIGNED_XYZW;
}
@@ -2971,7 +3006,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayeredLod(float* retVal, hipTextureObject_
float x, float y, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f = __ockl_image_sample_lod_2Da(
- i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector(), level);
+ i, s, float4(x, y, layer, 0.0f).data, level);
TEXTURE_SET_FLOAT;
}
@@ -2979,7 +3014,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayeredLod(float1* retVal, hipTextureObject
float x, float y, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f = __ockl_image_sample_lod_2Da(
- i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector(), level);
+ i, s, float4(x, y, layer, 0.0f).data, level);
TEXTURE_SET_FLOAT_X;
}
@@ -2987,7 +3022,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayeredLod(float2* retVal, hipTextureObject
float x, float y, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f = __ockl_image_sample_lod_2Da(
- i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector(), level);
+ i, s, float4(x, y, layer, 0.0f).data, level);
TEXTURE_SET_FLOAT_XY;
}
@@ -2995,7 +3030,7 @@ __TEXTURE_FUNCTIONS_DECL__ void tex2DLayeredLod(float4* retVal, hipTextureObject
float x, float y, int layer, float level) {
TEXTURE_PARAMETERS_INIT;
texel.f = __ockl_image_sample_lod_2Da(
- i, s, hc::short_vector::float4(x, y, layer, 0.0f).get_vector(), level);
+ i, s, float4(x, y, layer, 0.0f).data, level);
TEXTURE_SET_FLOAT_XYZW;
}
@@ -4799,28 +4834,28 @@ __TEXTURE_FUNCTIONS_DECL__ float4 tex1DGrad(texture texRe
template
__TEXTURE_FUNCTIONS_DECL__ char tex2D(texture texRef, float x, float y) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_CHAR;
}
template
__TEXTURE_FUNCTIONS_DECL__ char1 tex2D(texture texRef, float x, float y) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_CHAR_X;
}
template
__TEXTURE_FUNCTIONS_DECL__ char2 tex2D(texture texRef, float x, float y) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_CHAR_XY;
}
template
__TEXTURE_FUNCTIONS_DECL__ char4 tex2D(texture texRef, float x, float y) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_CHAR_XYZW;
}
@@ -4828,56 +4863,56 @@ template
__TEXTURE_FUNCTIONS_DECL__ unsigned char tex2D(texture texRef,
float x, float y) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_UCHAR;
}
template
__TEXTURE_FUNCTIONS_DECL__ uchar1 tex2D(texture texRef, float x, float y) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_UCHAR_X;
}
template
__TEXTURE_FUNCTIONS_DECL__ uchar2 tex2D(texture texRef, float x, float y) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_UCHAR_XY;
}
template
__TEXTURE_FUNCTIONS_DECL__ uchar4 tex2D(texture texRef, float x, float y) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_UCHAR_XYZW;
}
template
__TEXTURE_FUNCTIONS_DECL__ short tex2D(texture texRef, float x, float y) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_SHORT;
}
template
__TEXTURE_FUNCTIONS_DECL__ short1 tex2D(texture texRef, float x, float y) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_SHORT_X;
}
template
__TEXTURE_FUNCTIONS_DECL__ short2 tex2D(texture texRef, float x, float y) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_SHORT_XY;
}
template
__TEXTURE_FUNCTIONS_DECL__ short4 tex2D(texture texRef, float x, float y) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_SHORT_XYZW;
}
@@ -4885,56 +4920,56 @@ template
__TEXTURE_FUNCTIONS_DECL__ unsigned short tex2D(texture texRef,
float x, float y) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_USHORT;
}
template
__TEXTURE_FUNCTIONS_DECL__ ushort1 tex2D(texture texRef, float x, float y) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_USHORT_X;
}
template
__TEXTURE_FUNCTIONS_DECL__ ushort2 tex2D(texture texRef, float x, float y) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_USHORT_XY;
}
template
__TEXTURE_FUNCTIONS_DECL__ ushort4 tex2D(texture texRef, float x, float y) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_USHORT_XYZW;
}
template
__TEXTURE_FUNCTIONS_DECL__ int tex2D(texture texRef, float x, float y) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_INT;
}
template
__TEXTURE_FUNCTIONS_DECL__ int1 tex2D(texture texRef, float x, float y) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_INT_X;
}
template
__TEXTURE_FUNCTIONS_DECL__ int2 tex2D(texture texRef, float x, float y) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_INT_XY;
}
template
__TEXTURE_FUNCTIONS_DECL__ int4 tex2D(texture texRef, float x, float y) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_INT_XYZW;
}
@@ -4942,28 +4977,28 @@ template
__TEXTURE_FUNCTIONS_DECL__ unsigned int tex2D(texture texRef, float x,
float y) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_UINT;
}
template
__TEXTURE_FUNCTIONS_DECL__ uint1 tex2D(texture texRef, float x, float y) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_UINT_X;
}
template
__TEXTURE_FUNCTIONS_DECL__ uint2 tex2D(texture texRef, float x, float y) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_UINT_XY;
}
template
__TEXTURE_FUNCTIONS_DECL__ uint4 tex2D(texture texRef, float x, float y) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_UINT_XYZW;
}
@@ -4974,7 +5009,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ char tex2D(texture texRef,
hipTextureObject_t textureObject, float x, float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_CHAR;
}
@@ -4982,7 +5017,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ char1 tex2D(texture texRef,
hipTextureObject_t textureObject, float x, float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_CHAR_X;
}
@@ -4990,7 +5025,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ char2 tex2D(texture texRef,
hipTextureObject_t textureObject, float x, float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_CHAR_XY;
}
@@ -4998,7 +5033,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ char4 tex2D(texture texRef,
hipTextureObject_t textureObject, float x, float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_CHAR_XYZW;
}
@@ -5006,7 +5041,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ unsigned char tex2D(texture texRef,
hipTextureObject_t textureObject, float x, float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_UCHAR;
}
@@ -5014,7 +5049,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ uchar1 tex2D(texture texRef,
hipTextureObject_t textureObject, float x, float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_UCHAR_X;
}
@@ -5022,7 +5057,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ uchar2 tex2D(texture texRef,
hipTextureObject_t textureObject, float x, float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_UCHAR_XY;
}
@@ -5030,7 +5065,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ uchar4 tex2D(texture texRef,
hipTextureObject_t textureObject, float x, float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_UCHAR_XYZW;
}
@@ -5038,7 +5073,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ short tex2D(texture texRef,
hipTextureObject_t textureObject, float x, float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_SHORT;
}
@@ -5046,7 +5081,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ short1 tex2D(texture texRef,
hipTextureObject_t textureObject, float x, float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_SHORT_X;
}
@@ -5054,7 +5089,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ short2 tex2D(texture texRef,
hipTextureObject_t textureObject, float x, float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_SHORT_XY;
}
@@ -5062,7 +5097,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ short4 tex2D(texture texRef,
hipTextureObject_t textureObject, float x, float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_SHORT_XYZW;
}
@@ -5071,7 +5106,7 @@ __TEXTURE_FUNCTIONS_DECL__ unsigned short tex2D(texture
__TEXTURE_FUNCTIONS_DECL__ ushort1 tex2D(texture texRef,
hipTextureObject_t textureObject, float x, float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_USHORT_X;
}
@@ -5087,7 +5122,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ ushort2 tex2D(texture texRef,
hipTextureObject_t textureObject, float x, float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_USHORT_XY;
}
@@ -5095,7 +5130,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ ushort4 tex2D(texture texRef,
hipTextureObject_t textureObject, float x, float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_USHORT_XYZW;
}
@@ -5103,7 +5138,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ int tex2D(texture texRef,
hipTextureObject_t textureObject, float x, float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_INT;
}
@@ -5111,7 +5146,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ int1 tex2D(texture texRef,
hipTextureObject_t textureObject, float x, float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_INT_X;
}
@@ -5119,7 +5154,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ int2 tex2D(texture texRef,
hipTextureObject_t textureObject, float x, float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_INT_XY;
}
@@ -5127,7 +5162,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ int4 tex2D(texture texRef,
hipTextureObject_t textureObject, float x, float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_INT_XYZW;
}
@@ -5135,7 +5170,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ unsigned int tex2D(texture texRef,
hipTextureObject_t textureObject, float x, float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_UINT;
}
@@ -5143,7 +5178,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ uint1 tex2D(texture texRef,
hipTextureObject_t textureObject, float x, float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_UINT_X;
}
@@ -5151,7 +5186,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ uint2 tex2D(texture texRef,
hipTextureObject_t textureObject, float x, float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_UINT_XY;
}
@@ -5159,7 +5194,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ uint4 tex2D(texture texRef,
hipTextureObject_t textureObject, float x, float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_UINT_XYZW;
}
@@ -5167,21 +5202,21 @@ template
__TEXTURE_FUNCTIONS_DECL__ float tex2D(texture texRef,
hipTextureObject_t textureObject, float x, float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_FLOAT;
}
template
__TEXTURE_FUNCTIONS_DECL__ float tex2D(texture texRef, float x, float y) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_FLOAT;
}
template
__TEXTURE_FUNCTIONS_DECL__ float1 tex2D(texture texRef, float x, float y) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_FLOAT_X;
}
@@ -5189,14 +5224,14 @@ template
__TEXTURE_FUNCTIONS_DECL__ float1 tex2D(texture texRef,
hipTextureObject_t textureObject, float x, float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_FLOAT_X;
}
template
__TEXTURE_FUNCTIONS_DECL__ float2 tex2D(texture texRef, float x, float y) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_FLOAT_XY;
}
@@ -5204,14 +5239,14 @@ template
__TEXTURE_FUNCTIONS_DECL__ float2 tex2D(texture texRef,
hipTextureObject_t textureObject, float x, float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_FLOAT_XY;
}
template
__TEXTURE_FUNCTIONS_DECL__ float4 tex2D(texture texRef, float x, float y) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_FLOAT_XYZW;
}
@@ -5219,7 +5254,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ float4 tex2D(texture texRef,
hipTextureObject_t textureObject, float x, float y) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_2D(i, s, hc::short_vector::float2(x, y).get_vector());
+ texel.f = __ockl_image_sample_2D(i, s, float2(x, y).data);
TEXTURE_RETURN_FLOAT_XYZW;
}
@@ -5229,7 +5264,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ char tex2DLod(texture texRef, float x, float y,
float level) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_CHAR;
}
@@ -5237,7 +5272,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ char1 tex2DLod(texture texRef, float x, float y,
float level) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_CHAR_X;
}
@@ -5245,7 +5280,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ char2 tex2DLod(texture texRef, float x, float y,
float level) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_CHAR_XY;
}
@@ -5253,7 +5288,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ char4 tex2DLod(texture texRef, float x, float y,
float level) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_CHAR_XYZW;
}
@@ -5261,7 +5296,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ unsigned char tex2DLod(texture texRef,
float x, float y, float level) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_UCHAR;
}
@@ -5269,7 +5304,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ uchar1 tex2DLod(texture texRef, float x, float y,
float level) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_UCHAR_X;
}
@@ -5277,7 +5312,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ uchar2 tex2DLod(texture texRef, float x, float y,
float level) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_UCHAR_XY;
}
@@ -5285,7 +5320,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ uchar4 tex2DLod(texture texRef, float x, float y,
float level) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_UCHAR_XYZW;
}
@@ -5293,7 +5328,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ short tex2DLod(texture texRef, float x, float y,
float level) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_SHORT;
}
@@ -5301,7 +5336,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ short1 tex2DLod(texture texRef, float x, float y,
float level) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_SHORT_X;
}
@@ -5309,7 +5344,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ short2 tex2DLod(texture texRef, float x, float y,
float level) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_SHORT_XY;
}
@@ -5317,7 +5352,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ short4 tex2DLod(texture texRef, float x, float y,
float level) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_SHORT_XYZW;
}
@@ -5325,7 +5360,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ unsigned short tex2DLod(texture texRef,
float x, float y, float level) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_USHORT;
}
@@ -5333,7 +5368,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ ushort1 tex2DLod(texture texRef, float x,
float y, float level) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_USHORT_X;
}
@@ -5341,7 +5376,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ ushort2 tex2DLod(texture texRef, float x,
float y, float level) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_USHORT_XY;
}
@@ -5349,7 +5384,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ ushort4 tex2DLod(texture texRef, float x,
float y, float level) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_USHORT_XYZW;
}
@@ -5357,7 +5392,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ int tex2DLod(texture texRef, float x, float y,
float level) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_INT;
}
@@ -5365,7 +5400,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ int1 tex2DLod(texture texRef, float x, float y,
float level) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_INT_X;
}
@@ -5373,7 +5408,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ int2 tex2DLod(texture texRef, float x, float y,
float level) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_INT_XY;
}
@@ -5381,7 +5416,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ int4 tex2DLod(texture texRef, float x, float y,
float level) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_INT_XYZW;
}
@@ -5389,7 +5424,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ unsigned int tex2DLod(texture texRef,
float x, float y, float level) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_UINT;
}
@@ -5397,7 +5432,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ uint1 tex2DLod(texture texRef, float x, float y,
float level) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_UINT_X;
}
@@ -5405,7 +5440,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ uint2 tex2DLod(texture texRef, float x, float y,
float level) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_UINT_XY;
}
@@ -5413,7 +5448,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ uint4 tex2DLod(texture texRef, float x, float y,
float level) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_UINT_XYZW;
}
@@ -5421,7 +5456,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ float tex2DLod(texture texRef, float x, float y,
float level) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_FLOAT;
}
@@ -5429,7 +5464,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ float1 tex2DLod(texture texRef, float x, float y,
float level) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_FLOAT_X;
}
@@ -5437,7 +5472,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ float2 tex2DLod(texture texRef, float x, float y,
float level) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_FLOAT_XY;
}
@@ -5445,7 +5480,7 @@ template
__TEXTURE_FUNCTIONS_DECL__ float4 tex2DLod(texture texRef, float x, float y,
float level) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_FLOAT_XYZW;
}
@@ -5456,7 +5491,7 @@ __TEXTURE_FUNCTIONS_DECL__ char tex2DLod(texture texRef,
hipTextureObject_t textureObject, float x, float y,
float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_CHAR;
}
@@ -5465,7 +5500,7 @@ __TEXTURE_FUNCTIONS_DECL__ char1 tex2DLod(texture texRef,
hipTextureObject_t textureObject, float x, float y,
float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_CHAR_X;
}
@@ -5474,7 +5509,7 @@ __TEXTURE_FUNCTIONS_DECL__ char2 tex2DLod(texture texRef,
hipTextureObject_t textureObject, float x, float y,
float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_CHAR_XY;
}
@@ -5483,7 +5518,7 @@ __TEXTURE_FUNCTIONS_DECL__ char4 tex2DLod(texture texRef,
hipTextureObject_t textureObject, float x, float y,
float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_CHAR_XYZW;
}
@@ -5492,7 +5527,7 @@ __TEXTURE_FUNCTIONS_DECL__ unsigned char tex2DLod(texture texRef
hipTextureObject_t textureObject, float x, float y,
float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_UCHAR_X;
}
@@ -5510,7 +5545,7 @@ __TEXTURE_FUNCTIONS_DECL__ uchar2 tex2DLod(texture texRef
hipTextureObject_t textureObject, float x, float y,
float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_UCHAR_XY;
}
@@ -5519,7 +5554,7 @@ __TEXTURE_FUNCTIONS_DECL__ uchar4 tex2DLod(texture texRef
hipTextureObject_t textureObject, float x, float y,
float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_UCHAR_XYZW;
}
@@ -5528,7 +5563,7 @@ __TEXTURE_FUNCTIONS_DECL__ short tex2DLod(texture texRef,
hipTextureObject_t textureObject, float x, float y,
float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_SHORT;
}
@@ -5537,7 +5572,7 @@ __TEXTURE_FUNCTIONS_DECL__ short1 tex2DLod(texture texRef
hipTextureObject_t textureObject, float x, float y,
float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_SHORT_X;
}
@@ -5546,7 +5581,7 @@ __TEXTURE_FUNCTIONS_DECL__ short2 tex2DLod(texture texRef
hipTextureObject_t textureObject, float x, float y,
float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_SHORT_XY;
}
@@ -5555,7 +5590,7 @@ __TEXTURE_FUNCTIONS_DECL__ short4 tex2DLod(texture texRef
hipTextureObject_t textureObject, float x, float y,
float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_SHORT_XYZW;
}
@@ -5564,7 +5599,7 @@ __TEXTURE_FUNCTIONS_DECL__ unsigned short tex2DLod(texture texR
hipTextureObject_t textureObject, float x, float y,
float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_USHORT_X;
}
@@ -5582,7 +5617,7 @@ __TEXTURE_FUNCTIONS_DECL__ ushort2 tex2DLod(texture texR
hipTextureObject_t textureObject, float x, float y,
float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_USHORT_XY;
}
@@ -5591,7 +5626,7 @@ __TEXTURE_FUNCTIONS_DECL__ ushort4 tex2DLod(texture texR
hipTextureObject_t textureObject, float x, float y,
float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_USHORT_XYZW;
}
@@ -5600,7 +5635,7 @@ __TEXTURE_FUNCTIONS_DECL__ int tex2DLod(texture texRef,
hipTextureObject_t textureObject, float x, float y,
float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_INT;
}
@@ -5609,7 +5644,7 @@ __TEXTURE_FUNCTIONS_DECL__ int1 tex2DLod(texture texRef,
hipTextureObject_t textureObject, float x, float y,
float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_INT_X;
}
@@ -5618,7 +5653,7 @@ __TEXTURE_FUNCTIONS_DECL__ int2 tex2DLod(texture texRef,
hipTextureObject_t textureObject, float x, float y,
float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_INT_XY;
}
@@ -5627,7 +5662,7 @@ __TEXTURE_FUNCTIONS_DECL__ int4 tex2DLod(texture texRef,
hipTextureObject_t textureObject, float x, float y,
float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_INT_XYZW;
}
@@ -5636,7 +5671,7 @@ __TEXTURE_FUNCTIONS_DECL__ unsigned int tex2DLod(texture texRef,
hipTextureObject_t textureObject, float x, float y,
float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_UINT_X;
}
@@ -5654,7 +5689,7 @@ __TEXTURE_FUNCTIONS_DECL__ uint2 tex2DLod(texture texRef,
hipTextureObject_t textureObject, float x, float y,
float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_UINT_XY;
}
@@ -5663,7 +5698,7 @@ __TEXTURE_FUNCTIONS_DECL__ uint4 tex2DLod(texture texRef,
hipTextureObject_t textureObject, float x, float y,
float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_UINT_XYZW;
}
@@ -5672,7 +5707,7 @@ __TEXTURE_FUNCTIONS_DECL__ float tex2DLod(texture texRef,
hipTextureObject_t textureObject, float x, float y,
float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_FLOAT;
}
@@ -5681,7 +5716,7 @@ __TEXTURE_FUNCTIONS_DECL__ float1 tex2DLod(texture texRef
hipTextureObject_t textureObject, float x, float y,
float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_FLOAT_X;
}
@@ -5690,7 +5725,7 @@ __TEXTURE_FUNCTIONS_DECL__ float2 tex2DLod(texture texRef
hipTextureObject_t textureObject, float x, float y,
float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_FLOAT_XY;
}
@@ -5699,7 +5734,7 @@ __TEXTURE_FUNCTIONS_DECL__ float4 tex2DLod(texture texRef
hipTextureObject_t textureObject, float x, float y,
float level) {
TEXTURE_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_lod_2D(i, s, hc::short_vector::float2(x, y).get_vector(), level);
+ texel.f = __ockl_image_sample_lod_2D(i, s, float2(x, y).data, level);
TEXTURE_RETURN_FLOAT_XYZW;
}
@@ -5709,9 +5744,9 @@ template
__TEXTURE_FUNCTIONS_DECL__ char tex2DGrad(texture texRef, float x, float y,
float2 dx, float2 dy) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_grad_2D(i, s, hc::short_vector::float2(x, y).get_vector(),
- hc::short_vector::float2(dx.x, dx.y).get_vector(),
- hc::short_vector::float2(dy.x, dy.y).get_vector());
+ texel.f = __ockl_image_sample_grad_2D(i, s, float2(x, y).data,
+ float2(dx.x, dx.y).data,
+ float2(dy.x, dy.y).data);
TEXTURE_RETURN_CHAR;
}
@@ -5719,9 +5754,9 @@ template
__TEXTURE_FUNCTIONS_DECL__ char1 tex2DGrad(texture texRef, float x, float y,
float2 dx, float2 dy) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_grad_2D(i, s, hc::short_vector::float2(x, y).get_vector(),
- hc::short_vector::float2(dx.x, dx.y).get_vector(),
- hc::short_vector::float2(dy.x, dy.y).get_vector());
+ texel.f = __ockl_image_sample_grad_2D(i, s, float2(x, y).data,
+ float2(dx.x, dx.y).data,
+ float2(dy.x, dy.y).data);
TEXTURE_RETURN_CHAR_X;
}
@@ -5729,9 +5764,9 @@ template
__TEXTURE_FUNCTIONS_DECL__ char2 tex2DGrad(texture texRef, float x, float y,
float2 dx, float2 dy) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_grad_2D(i, s, hc::short_vector::float2(x, y).get_vector(),
- hc::short_vector::float2(dx.x, dx.y).get_vector(),
- hc::short_vector::float2(dy.x, dy.y).get_vector());
+ texel.f = __ockl_image_sample_grad_2D(i, s, float2(x, y).data,
+ float2(dx.x, dx.y).data,
+ float2(dy.x, dy.y).data);
TEXTURE_RETURN_CHAR_XY;
}
@@ -5739,9 +5774,9 @@ template
__TEXTURE_FUNCTIONS_DECL__ char4 tex2DGrad(texture texRef, float x, float y,
float2 dx, float2 dy) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_grad_2D(i, s, hc::short_vector::float2(x, y).get_vector(),
- hc::short_vector::float2(dx.x, dx.y).get_vector(),
- hc::short_vector::float2(dy.x, dy.y).get_vector());
+ texel.f = __ockl_image_sample_grad_2D(i, s, float2(x, y).data,
+ float2(dx.x, dx.y).data,
+ float2(dy.x, dy.y).data);
TEXTURE_RETURN_CHAR_XYZW;
}
@@ -5749,9 +5784,9 @@ template
__TEXTURE_FUNCTIONS_DECL__ unsigned char tex2DGrad(texture texRef,
float x, float y, float2 dx, float2 dy) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_grad_2D(i, s, hc::short_vector::float2(x, y).get_vector(),
- hc::short_vector::float2(dx.x, dx.y).get_vector(),
- hc::short_vector::float2(dy.x, dy.y).get_vector());
+ texel.f = __ockl_image_sample_grad_2D(i, s, float2(x, y).data,
+ float2(dx.x, dx.y).data,
+ float2(dy.x, dy.y).data);
TEXTURE_RETURN_UCHAR;
}
@@ -5759,9 +5794,9 @@ template
__TEXTURE_FUNCTIONS_DECL__ uchar1 tex2DGrad(texture texRef, float x, float y,
float2 dx, float2 dy) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_grad_2D(i, s, hc::short_vector::float2(x, y).get_vector(),
- hc::short_vector::float2(dx.x, dx.y).get_vector(),
- hc::short_vector::float2(dy.x, dy.y).get_vector());
+ texel.f = __ockl_image_sample_grad_2D(i, s, float2(x, y).data,
+ float2(dx.x, dx.y).data,
+ float2(dy.x, dy.y).data);
TEXTURE_RETURN_UCHAR_X;
}
@@ -5769,9 +5804,9 @@ template
__TEXTURE_FUNCTIONS_DECL__ uchar2 tex2DGrad(texture texRef, float x, float y,
float2 dx, float2 dy) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_grad_2D(i, s, hc::short_vector::float2(x, y).get_vector(),
- hc::short_vector::float2(dx.x, dx.y).get_vector(),
- hc::short_vector::float2(dy.x, dy.y).get_vector());
+ texel.f = __ockl_image_sample_grad_2D(i, s, float2(x, y).data,
+ float2(dx.x, dx.y).data,
+ float2(dy.x, dy.y).data);
TEXTURE_RETURN_UCHAR_XY;
}
@@ -5779,9 +5814,9 @@ template
__TEXTURE_FUNCTIONS_DECL__ uchar4 tex2DGrad(texture texRef, float x, float y,
float2 dx, float2 dy) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_grad_2D(i, s, hc::short_vector::float2(x, y).get_vector(),
- hc::short_vector::float2(dx.x, dx.y).get_vector(),
- hc::short_vector::float2(dy.x, dy.y).get_vector());
+ texel.f = __ockl_image_sample_grad_2D(i, s, float2(x, y).data,
+ float2(dx.x, dx.y).data,
+ float2(dy.x, dy.y).data);
TEXTURE_RETURN_UCHAR_XYZW;
}
@@ -5789,9 +5824,9 @@ template
__TEXTURE_FUNCTIONS_DECL__ short tex2DGrad(texture texRef, float x, float y,
float2 dx, float2 dy) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_grad_2D(i, s, hc::short_vector::float2(x, y).get_vector(),
- hc::short_vector::float2(dx.x, dx.y).get_vector(),
- hc::short_vector::float2(dy.x, dy.y).get_vector());
+ texel.f = __ockl_image_sample_grad_2D(i, s, float2(x, y).data,
+ float2(dx.x, dx.y).data,
+ float2(dy.x, dy.y).data);
TEXTURE_RETURN_SHORT;
}
@@ -5799,9 +5834,9 @@ template
__TEXTURE_FUNCTIONS_DECL__ short1 tex2DGrad(texture texRef, float x, float y,
float2 dx, float2 dy) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_grad_2D(i, s, hc::short_vector::float2(x, y).get_vector(),
- hc::short_vector::float2(dx.x, dx.y).get_vector(),
- hc::short_vector::float2(dy.x, dy.y).get_vector());
+ texel.f = __ockl_image_sample_grad_2D(i, s, float2(x, y).data,
+ float2(dx.x, dx.y).data,
+ float2(dy.x, dy.y).data);
TEXTURE_RETURN_SHORT_X;
}
@@ -5809,9 +5844,9 @@ template
__TEXTURE_FUNCTIONS_DECL__ short2 tex2DGrad(texture texRef, float x, float y,
float2 dx, float2 dy) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_grad_2D(i, s, hc::short_vector::float2(x, y).get_vector(),
- hc::short_vector::float2(dx.x, dx.y).get_vector(),
- hc::short_vector::float2(dy.x, dy.y).get_vector());
+ texel.f = __ockl_image_sample_grad_2D(i, s, float2(x, y).data,
+ float2(dx.x, dx.y).data,
+ float2(dy.x, dy.y).data);
TEXTURE_RETURN_SHORT_XY;
}
@@ -5819,9 +5854,9 @@ template
__TEXTURE_FUNCTIONS_DECL__ short4 tex2DGrad(texture texRef, float x, float y,
float2 dx, float2 dy) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_grad_2D(i, s, hc::short_vector::float2(x, y).get_vector(),
- hc::short_vector::float2(dx.x, dx.y).get_vector(),
- hc::short_vector::float2(dy.x, dy.y).get_vector());
+ texel.f = __ockl_image_sample_grad_2D(i, s, float2(x, y).data,
+ float2(dx.x, dx.y).data,
+ float2(dy.x, dy.y).data);
TEXTURE_RETURN_SHORT_XYZW;
}
@@ -5829,9 +5864,9 @@ template
__TEXTURE_FUNCTIONS_DECL__ unsigned short tex2DGrad(texture texRef,
float x, float y, float2 dx, float2 dy) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_grad_2D(i, s, hc::short_vector::float2(x, y).get_vector(),
- hc::short_vector::float2(dx.x, dx.y).get_vector(),
- hc::short_vector::float2(dy.x, dy.y).get_vector());
+ texel.f = __ockl_image_sample_grad_2D(i, s, float2(x, y).data,
+ float2(dx.x, dx.y).data,
+ float2(dy.x, dy.y).data);
TEXTURE_RETURN_USHORT;
}
@@ -5839,9 +5874,9 @@ template
__TEXTURE_FUNCTIONS_DECL__ ushort1 tex2DGrad(texture texRef, float x,
float y, float2 dx, float2 dy) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_grad_2D(i, s, hc::short_vector::float2(x, y).get_vector(),
- hc::short_vector::float2(dx.x, dx.y).get_vector(),
- hc::short_vector::float2(dy.x, dy.y).get_vector());
+ texel.f = __ockl_image_sample_grad_2D(i, s, float2(x, y).data,
+ float2(dx.x, dx.y).data,
+ float2(dy.x, dy.y).data);
TEXTURE_RETURN_USHORT_X;
}
@@ -5849,9 +5884,9 @@ template
__TEXTURE_FUNCTIONS_DECL__ ushort2 tex2DGrad(texture texRef, float x,
float y, float2 dx, float2 dy) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_grad_2D(i, s, hc::short_vector::float2(x, y).get_vector(),
- hc::short_vector::float2(dx.x, dx.y).get_vector(),
- hc::short_vector::float2(dy.x, dy.y).get_vector());
+ texel.f = __ockl_image_sample_grad_2D(i, s, float2(x, y).data,
+ float2(dx.x, dx.y).data,
+ float2(dy.x, dy.y).data);
TEXTURE_RETURN_USHORT_XY;
}
@@ -5859,9 +5894,9 @@ template
__TEXTURE_FUNCTIONS_DECL__ ushort4 tex2DGrad(texture texRef, float x,
float y, float2 dx, float2 dy) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_grad_2D(i, s, hc::short_vector::float2(x, y).get_vector(),
- hc::short_vector::float2(dx.x, dx.y).get_vector(),
- hc::short_vector::float2(dy.x, dy.y).get_vector());
+ texel.f = __ockl_image_sample_grad_2D(i, s, float2(x, y).data,
+ float2(dx.x, dx.y).data,
+ float2(dy.x, dy.y).data);
TEXTURE_RETURN_USHORT_XYZW;
}
@@ -5869,9 +5904,9 @@ template
__TEXTURE_FUNCTIONS_DECL__ int tex2DGrad(texture texRef, float x, float y,
float2 dx, float2 dy) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_grad_2D(i, s, hc::short_vector::float2(x, y).get_vector(),
- hc::short_vector::float2(dx.x, dx.y).get_vector(),
- hc::short_vector::float2(dy.x, dy.y).get_vector());
+ texel.f = __ockl_image_sample_grad_2D(i, s, float2(x, y).data,
+ float2(dx.x, dx.y).data,
+ float2(dy.x, dy.y).data);
TEXTURE_RETURN_INT;
}
@@ -5879,9 +5914,9 @@ template
__TEXTURE_FUNCTIONS_DECL__ int1 tex2DGrad(texture texRef, float x, float y,
float2 dx, float2 dy) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_grad_2D(i, s, hc::short_vector::float2(x, y).get_vector(),
- hc::short_vector::float2(dx.x, dx.y).get_vector(),
- hc::short_vector::float2(dy.x, dy.y).get_vector());
+ texel.f = __ockl_image_sample_grad_2D(i, s, float2(x, y).data,
+ float2(dx.x, dx.y).data,
+ float2(dy.x, dy.y).data);
TEXTURE_RETURN_INT_X;
}
@@ -5889,9 +5924,9 @@ template
__TEXTURE_FUNCTIONS_DECL__ int2 tex2DGrad(texture texRef, float x, float y,
float2 dx, float2 dy) {
TEXTURE_REF_PARAMETERS_INIT;
- texel.f = __ockl_image_sample_grad_2D(i, s, hc::short_vector::float2(x, y).get_vector(),
- hc::short_vector::float2(dx.x, dx.y).get_vector(),
- hc::short_vector::float2(dy.x, dy.y).get_vector());
+ texel.f = __ockl_image_sample_grad_2D(i, s, float2(x, y).data,
+ float2(dx.x, dx.y).data,
+ float2(dy.x, dy.y).data);
TEXTURE_RETURN_INT_XY;
}
@@ -5899,9 +5934,9 @@ template
__TEXTURE_FUNCTIONS_DECL__ int4 tex2DGrad(texture