From 9f96e9227d2eac86178e5401843849d15f8d8446 Mon Sep 17 00:00:00 2001
From: foreman
Date: Wed, 7 Jun 2017 01:56:08 -0400
Subject: [PATCH] P4 to Git Change 1419209 by lmoriche@lmoriche_palamida on
2017/06/07 01:42:42
SWDEV-101666 - No need to force disable SDMA, the ROCR now enables SDMA for known good configurations.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#53 edit
[ROCm/clr commit: 53f8a48c7c9befd9f8129856195b595b6f9eb2cd]
---
projects/clr/rocclr/runtime/device/rocm/rocdevice.cpp | 6 ------
1 file changed, 6 deletions(-)
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