diff --git a/rocclr/device/rocm/CMakeLists.txt b/rocclr/device/rocm/CMakeLists.txt index 79367e553b..66af474e7c 100644 --- a/rocclr/device/rocm/CMakeLists.txt +++ b/rocclr/device/rocm/CMakeLists.txt @@ -52,7 +52,7 @@ target_include_directories(oclrocm ${ROCM_OCL_INCLUDES} $) -option(BUILD_HMM "Build HMM support" OFF) +option(BUILD_HMM "Build HMM support" ON) if (BUILD_HMM) target_compile_definitions(oclrocm PRIVATE AMD_HMM_SUPPORT) diff --git a/rocclr/device/rocm/rocsettings.cpp b/rocclr/device/rocm/rocsettings.cpp index 0396b8a811..62cbc3579e 100644 --- a/rocclr/device/rocm/rocsettings.cpp +++ b/rocclr/device/rocm/rocsettings.cpp @@ -88,7 +88,7 @@ Settings::Settings() { lcWavefrontSize64_ = true; imageBufferWar_ = false; - hmmFlags_ = (!flagIsDefault(ROC_HMM_FLAGS)) ? ROC_HMM_FLAGS : Hmm::EnableSvmTracking; + hmmFlags_ = (!flagIsDefault(ROC_HMM_FLAGS)) ? ROC_HMM_FLAGS : 0; rocr_backend_ = true;