P4 to Git Change 1338972 by scharupa@scharupa_temp on 2016/11/09 16:33:58
SWDEV-95488 - Limiting max cap Context on ROCm, it is limited to 100 Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#204 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#279 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#25 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#7 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#6 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#16 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#4 edit
이 커밋은 다음에 포함됨:
1 부모
621f70b372
커밋
2d64dbab44
7 파일이 변경됨
+28
-2
검색과 일치하는 파일 없음
@@ -52,6 +52,8 @@ Settings::Settings()
|
||||
partialDispatch = getenv("OPENCL_DISABLE_PARTIAL_DISPATCH");
|
||||
enablePartialDispatch_ = (partialDispatch) ? false : true;
|
||||
partialDispatch_ = (partialDispatch) ? false : true;
|
||||
commandQueues_ = 100 //!< Field value set to maximum number
|
||||
//!< concurrent Virtual GPUs for ROCm backend
|
||||
}
|
||||
|
||||
bool
|
||||
@@ -97,6 +99,11 @@ Settings::create(bool doublePrecision)
|
||||
void
|
||||
Settings::override()
|
||||
{
|
||||
if (!flagIsDefault(GPU_MAX_COMMAND_QUEUES)) {
|
||||
commandQueues_ = GPU_MAX_COMMAND_QUEUES;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
} // namespace roc
|
||||
|
||||
새 이슈에서 참조
사용자 차단