Skip to content

Commit

Permalink
[HIPIFY][ROCm#1777][Tensor][tests][fix] Fix the failed `cutensor2hipt…
Browse files Browse the repository at this point in the history
…ensor.cu` test

[Reasons]
+ cutensor2hiptensor.cu-80ac9b.hip(37,32): error GF25AE0AB: cannot initialize a variable of type 'cutensorWorksizePreference_t' with an rvalue of type 'cutensorAlgo_t'
+ `HIPTENSOR_WORKSPACE_DEFAULT` is not supported by `hipTensor`
  • Loading branch information
emankov committed Dec 5, 2024
1 parent 9fd37a9 commit 1b1b19a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/unit_tests/synthetic/libraries/cutensor2hiptensor.cu
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ int main() {
cutensorDataType_t TENSOR_R_8U = CUTENSOR_R_8U;
cutensorDataType_t TENSOR_R_32I = CUTENSOR_R_32I;
cutensorDataType_t TENSOR_R_32U = CUTENSOR_R_32U;

//CHECK: hiptensorWorksizePreference_t TENSOR_WORKSPACE_DEFAULT = HIPTENSOR_WORKSPACE_DEFAULT;
cutensorWorksizePreference_t TENSOR_WORKSPACE_DEFAULT = CUTENSOR_ALGO_DEFAULT_PATIENT;
#endif

#if CUTENSOR_MAJOR >= 1
Expand Down

0 comments on commit 1b1b19a

Please sign in to comment.