diff --git a/onnxruntime/core/providers/rocm/tunable/rocm_tuning_context.cc b/onnxruntime/core/providers/rocm/tunable/rocm_tuning_context.cc index bead003e83..bdaa7c4042 100644 --- a/onnxruntime/core/providers/rocm/tunable/rocm_tuning_context.cc +++ b/onnxruntime/core/providers/rocm/tunable/rocm_tuning_context.cc @@ -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