P4 to Git Change 1528884 by vsytchen@vsytchen-ocl-win10 on 2018/03/19 11:36:48
SWDEV-133818 - PAL support for Linux Pro: Coarse Grain SVM for OpenCL 2.0
1. This change enables OCL 2.0 on Linux for devices using PAL backend.
2. Set the alignment for Coarse Grain SVM allocations to be the gpu fragment size (2MB on Linux).
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14437/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#52 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#46 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#128 edit
[ROCm/clr commit: 3683b3d03c]
此提交包含在:
1 父節點
44e4c8651c
當前提交
5b268112b4
3 file changed
+9
-6
No files matched your search
@@ -75,7 +75,7 @@ Memory::Memory(Context& context, Type type, Flags flags, size_t size, void* svmP
|
||||
forceSysMemAlloc_(false),
|
||||
mapCount_(0),
|
||||
svmHostAddress_(svmPtr),
|
||||
svmPtrCommited_(false),
|
||||
svmPtrCommited_(flags & CL_MEM_SVM_FINE_GRAIN_BUFFER ? true : false),
|
||||
canBeCached_(true),
|
||||
lockMemoryOps_("Memory Ops Lock", true) {}
|
||||
|
||||
|
||||
Reference in new issue
封鎖使用者