WsqRichards opened a new issue, #18708:
URL: https://github.com/apache/tvm/issues/18708
/home/richard/data/tvm-build/tvm/src/runtime/contrib/hipblas/hipblas_utils.h:116:8:
error: unknown type name 'hipblasDatatype_t'; did you mean 'hipblasDiagType_t'?
116 | inline hipblasDatatype_t GetHipBlasDataType(DLDataType type) {
| ^~~~~~~~~~~~~~~~~
| hipblasDiagType_t
/data/richard/rocm-all-libs-build/rocm-install/include/hipblas/hipblas.h:259:3:
note: 'hipblasDiagType_t' declared here
259 | } hipblasDiagType_t;
| ^
In file included from
/home/richard/data/tvm-build/tvm/src/runtime/contrib/hipblas/hipblas_utils.cc:23:
/home/richard/data/tvm-build/tvm/src/runtime/contrib/hipblas/hipblas_utils.h:120:16:
error: cannot initialize return object of type 'hipblasDiagType_t' with an
rvalue of type 'hipDataType'
120 | return HIPBLAS_R_8I;
| ^~~~~~~~~~~~
/data/richard/rocm-all-libs-build/rocm-install/include/hipblas/hipblas.h:25874:22:
note: expanded from macro 'HIPBLAS_R_8I'
25874 | #define HIPBLAS_R_8I HIP_R_8I
| ^~~~~~~~
In file included from
/home/richard/data/tvm-build/tvm/src/runtime/contrib/hipblas/hipblas_utils.cc:23:
/home/richard/data/tvm-build/tvm/src/runtime/contrib/hipblas/hipblas_utils.h:122:16:
error: cannot initialize return object of type 'hipblasDiagType_t' with an
rvalue of type 'hipDataType'
122 | return HIPBLAS_R_32I;
| ^~~~~~~~~~~~~
/data/richard/rocm-all-libs-build/rocm-install/include/hipblas/hipblas.h:25876:23:
note: expanded from macro 'HIPBLAS_R_32I'
25876 | #define HIPBLAS_R_32I HIP_R_32I
| ^~~~~~~~~
In file included from
/home/richard/data/tvm-build/tvm/src/runtime/contrib/hipblas/hipblas_utils.cc:23:
/home/richard/data/tvm-build/tvm/src/runtime/contrib/hipblas/hipblas_utils.h:127:16:
error: cannot initialize return object of type 'hipblasDiagType_t' with an
rvalue of type 'hipDataType'
127 | return HIPBLAS_R_8U;
| ^~~~~~~~~~~~
/data/richard/rocm-all-libs-build/rocm-install/include/hipblas/hipblas.h:25875:22:
note: expanded from macro 'HIPBLAS_R_8U'
25875 | #define HIPBLAS_R_8U HIP_R_8U
| ^~~~~~~~
In file included from
/home/richard/data/tvm-build/tvm/src/runtime/contrib/hipblas/hipblas_utils.cc:23:
/home/richard/data/tvm-build/tvm/src/runtime/contrib/hipblas/hipblas_utils.h:129:16:
error: cannot initialize return object of type 'hipblasDiagType_t' with an
rvalue of type 'hipDataType'
129 | return HIPBLAS_R_32U;
| ^~~~~~~~~~~~~
/data/richard/rocm-all-libs-build/rocm-install/include/hipblas/hipblas.h:25877:23:
note: expanded from macro 'HIPBLAS_R_32U'
25877 | #define HIPBLAS_R_32U HIP_R_32U
| ^~~~~~~~~
In file included from
/home/richard/data/tvm-build/tvm/src/runtime/contrib/hipblas/hipblas_utils.cc:23:
/home/richard/data/tvm-build/tvm/src/runtime/contrib/hipblas/hipblas_utils.h:134:16:
error: cannot initialize return object of type 'hipblasDiagType_t' with an
rvalue of type 'hipDataType'
134 | return HIPBLAS_R_16F;
| ^~~~~~~~~~~~~
/data/richard/rocm-all-libs-build/rocm-install/include/hipblas/hipblas.h:25868:23:
note: expanded from macro 'HIPBLAS_R_16F'
25868 | #define HIPBLAS_R_16F HIP_R_16F
| ^~~~~~~~~
In file included from
/home/richard/data/tvm-build/tvm/src/runtime/contrib/hipblas/hipblas_utils.cc:23:
/home/richard/data/tvm-build/tvm/src/runtime/contrib/hipblas/hipblas_utils.h:136:16:
error: cannot initialize return object of type 'hipblasDiagType_t' with an
rvalue of type 'hipDataType'
136 | return HIPBLAS_R_32F;
| ^~~~~~~~~~~~~
/data/richard/rocm-all-libs-build/rocm-install/include/hipblas/hipblas.h:25869:23:
note: expanded from macro 'HIPBLAS_R_32F'
25869 | #define HIPBLAS_R_32F HIP_R_32F
| ^~~~~~~~~
In file included from
/home/richard/data/tvm-build/tvm/src/runtime/contrib/hipblas/hipblas_utils.cc:23:
/home/richard/data/tvm-build/tvm/src/runtime/contrib/hipblas/hipblas_utils.h:138:16:
error: cannot initialize return object of type 'hipblasDiagType_t' with an
rvalue of type 'hipDataType'
138 | return HIPBLAS_R_64F;
| ^~~~~~~~~~~~~
/data/richard/rocm-all-libs-build/rocm-install/include/hipblas/hipblas.h:25870:23:
note: expanded from macro 'HIPBLAS_R_64F'
25870 | #define HIPBLAS_R_64F HIP_R_64F
| ^~~~~~~~~
/home/richard/data/tvm-build/tvm/src/runtime/contrib/hipblas/hipblas_utils.cc:67:5:
warning: ignoring return value of function declared with 'nodiscard' attribute
[-Wunused-result]
67 | hipFree(workspace_ptr);
| ^~~~~~~ ~~~~~~~~~~~~~
1 warning and 8 errors generated when compiling for gfx1102.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]