OClCollMeshEngn: collBuff only needs MAP_WRITE; silence dbg prints
When mapping in the collationBuff we only need to supply CL_MAP_WRITE and not CL_MAP_WRITE_INVALIDATE_REGION since we don't care to preserve the contents of the collation buff as input to the collation kernel.
This commit is contained in:
@@ -342,7 +342,7 @@ bool OpenClCollatingAndMeshingEngine::startCollateKernel(
|
||||
|
||||
mapAssemblyBuffer(CL_MAP_WRITE_INVALIDATE_REGION);
|
||||
unmapAssemblyBuffer();
|
||||
mapCollationBuffer(CL_MAP_WRITE_INVALIDATE_REGION);
|
||||
mapCollationBuffer(CL_MAP_WRITE);
|
||||
unmapCollationBuffer();
|
||||
|
||||
// Validate buffers callable
|
||||
|
||||
Reference in New Issue
Block a user