diff --git a/projects/clr/rocclr/runtime/device/rocm/rocdevice.cpp b/projects/clr/rocclr/runtime/device/rocm/rocdevice.cpp index 0b74369e1a..12fa741536 100644 --- a/projects/clr/rocclr/runtime/device/rocm/rocdevice.cpp +++ b/projects/clr/rocclr/runtime/device/rocm/rocdevice.cpp @@ -368,12 +368,6 @@ void Device::XferBuffers::release(VirtualGPU& gpu, Memory& buffer) { } bool Device::init() { -#if defined(__linux__) - if (amd::Os::getEnvironment("HSA_ENABLE_SDMA").empty()) { - ::setenv("HSA_ENABLE_SDMA", "0", false); - } -#endif // defined (__linux__) - LogInfo("Initializing HSA stack."); // Initialize the compiler