mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-26 19:52:38 +00:00
Fix Python Packaging CI (Rocm) (#12477)
Fix Python Packaging CI Co-authored-by: Ethan Tao <ettao@microsoft.com@orttrainingdev7.d32nl1ml4oruzj4qz3bqlggovf.px.internal.cloudapp.net>
This commit is contained in:
parent
8d830adf24
commit
b879dca51c
1 changed files with 2 additions and 0 deletions
|
|
@ -81,10 +81,12 @@ miopenDataType_t MiopenTensor::GetDataType() {
|
|||
ORT_THROW("miopen engine currently supports only single/half/int32/int8 precision data types.");
|
||||
}
|
||||
|
||||
#if ROCM_VERSION >= 50000
|
||||
template<>
|
||||
miopenDataType_t MiopenTensor::GetDataType<double>() {
|
||||
return miopenDouble;
|
||||
}
|
||||
#endif
|
||||
|
||||
template<>
|
||||
miopenDataType_t MiopenTensor::GetDataType<float>() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue