mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-10 17:37:14 +00:00
[FIX] USE_COMPOSABLE_KERNEL is not defined on ROCm5.2.3 (#14750)
Fix build failure on ROCm5.2.3
This commit is contained in:
parent
3d79b1f06e
commit
25e10f413e
1 changed files with 6 additions and 1 deletions
|
|
@ -63,7 +63,12 @@ RocmTuningResultsValidator::RocmTuningResultsValidator(ROCMExecutionProvider* ep
|
|||
|
||||
std::string RocmTuningResultsValidator::GetOrtBuildConfig() const {
|
||||
std::ostringstream oss;
|
||||
oss << "USE_CK=" << USE_COMPOSABLE_KERNEL << "|";
|
||||
#ifdef USE_COMPOSABLE_KERNEL
|
||||
oss << "USE_CK=" << 1 << "|";
|
||||
#else
|
||||
oss << "USE_CK=" << 0 << "|";
|
||||
#endif
|
||||
|
||||
#ifdef USE_ROCBLAS_EXTENSION_API
|
||||
oss << "USE_ROCBLAS_EXTENSION_API=" << 1 << "|";
|
||||
#else
|
||||
|
|
|
|||
Loading…
Reference in a new issue