P4 to Git Change 1062136 by jatang@jatang-opencl-hsa-stg2 on 2014/08/01 14:19:58
EPR #402950 - Properly align the scratch buffer to 64K. Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#452 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#189 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/include/cal/calcl.h#29 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#95 edit
This commit is contained in:
@@ -741,6 +741,7 @@ CALGSLDevice::resAlloc(const CALresourceDesc* desc) const
|
||||
attribs.location = desc->type;
|
||||
attribs.vaBase = desc->vaBase;
|
||||
attribs.section = desc->section;
|
||||
attribs.minAlignment = desc->minAlignment;
|
||||
|
||||
//!@note GSL asserts with tiled 1D images of any type.
|
||||
if ((desc->dimension == GSL_MOA_BUFFER) ||
|
||||
|
||||
Reference in New Issue
Block a user