P4 to Git Change 1552596 by gandryey@gera-w8 on 2018/05/09 11:58:01

SWDEV-79445 - OCL generic changes and code clean-up
	- Disable deferred allocations for single device in order to disable validation code in the dispatch. Improves batch speed in the OCLPerfKernelArguments test upto 10% in some subtests

	http://ocltc.amd.com/reviews/r/14807/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#84 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#131 edit


[ROCm/clr commit: 61d898a8a5]
이 커밋은 다음에 포함됨:
foreman가 2018-05-09 12:20:05 -04:00를 커밋했습니다
1 부모 6e0bda46cf
커밋 8dd3fe48d3
2 파일이 변경됨
+46 -2

검색과 일치하는 파일 없음

+1 -1
파일 보기
@@ -238,7 +238,7 @@ bool Memory::create(void* initFrom, bool sysMemAlloc) {
deviceMemories_[i].ref_ = devices[i];
deviceMemories_[i].value_ = NULL;
if (DISABLE_DEFERRED_ALLOC) {
if ((devices.size() == 1) || DISABLE_DEFERRED_ALLOC) {
device::Memory* mem = getDeviceMemory(*devices[i]);
if (NULL == mem) {
LogPrintfError("Can't allocate memory size - 0x%08X bytes!", getSize());