P4 to Git Change 1308645 by lmoriche@lmoriche_opencl_dev on 2016/08/30 11:58:31
SWDEV-101666 - Disable SDMA transfers in the ROCm virtual device. Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#11 edit
Este cometimento está contido em:
@@ -459,6 +459,12 @@ hsa_status_t Device::iterateAgentCallback(hsa_agent_t agent, void *data) {
|
||||
}
|
||||
|
||||
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
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador