P4 to Git Change 1478018 by gandryey@gera-w8 on 2017/11/02 12:11:10
SWDEV-136068 - PAL support for Linux Pro: SSG support on OpenCL 1.2 - Enable DGMA memory allocation for persistent memory under Linux, since it's SSG requirement Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#39 edit
このコミットが含まれているのは:
@@ -370,6 +370,12 @@ void Resource::memTypeToHeap(Pal::GpuMemoryCreateInfo* createInfo) {
|
||||
switch (memoryType()) {
|
||||
case Persistent:
|
||||
createInfo->heaps[0] = Pal::GpuHeapLocal;
|
||||
#ifdef ATI_OS_LINUX
|
||||
// Note: SSG in Linux requires DGMA heap
|
||||
if (dev().properties().gpuMemoryProperties.busAddressableMemSize > 0) {
|
||||
createInfo->flags.busAddressable = true;
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
case RemoteUSWC:
|
||||
createInfo->heaps[0] = Pal::GpuHeapGartUswc;
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする