StagingBuff: set OpenCL constraints
This commit is contained in:
@@ -38,6 +38,14 @@ collationBuffer(
|
||||
StagingBuffer::IOEngineConstraints::openClInputConstraints,
|
||||
nDgramsPerStagingBufferFrame)
|
||||
{
|
||||
if (smoHooksPtr->OptionParser_getOptions().verbose)
|
||||
{
|
||||
std::cout << __func__ << ": assembly buffer : "
|
||||
<< assemblyBuffer.stringify()
|
||||
<< "\n\tcollation buffer : " << collationBuffer.stringify()
|
||||
<< "\n";
|
||||
}
|
||||
|
||||
std::cout << __func__ << ": Device's component thread is "
|
||||
<< device->componentThread->name << std::endl;
|
||||
|
||||
|
||||
@@ -26,8 +26,8 @@ const StagingBuffer::IOEngineConstraints
|
||||
StagingBuffer::IOEngineConstraints::openClInputConstraints(
|
||||
// slotStartAlignmentByteVal (page alignment)
|
||||
static_cast<size_t>(sysconf(_SC_PAGE_SIZE)),
|
||||
// slotPadToNBytes (pointer size)
|
||||
sizeof(void *),
|
||||
// slotPadToNBytes (XYZI point size)
|
||||
16,
|
||||
// frameStartAlignmentByteVal (page alignment)
|
||||
static_cast<size_t>(sysconf(_SC_PAGE_SIZE)),
|
||||
// framePadToNBytes (pointer size)
|
||||
|
||||
Reference in New Issue
Block a user