PcloudStimBuff: specify that openCl constraints are for input

This commit is contained in:
2025-11-01 00:19:06 -04:00
parent f76f718e80
commit 9cf1398f5c
@@ -10,7 +10,7 @@ namespace smo {
namespace stim_buff {
// OpenCL kernels are used to collate and produce our StimFrames.
static SpMcRingBuffer::InputEngineConstraints openClConstraints(
static SpMcRingBuffer::InputEngineConstraints openClInputConstraints(
static_cast<size_t>(sysconf(_SC_PAGE_SIZE)), sizeof(void *));
PcloudStimulusBuffer::PcloudStimulusBuffer(
@@ -21,7 +21,7 @@ PcloudStimulusBuffer::PcloudStimulusBuffer(
: StimulusBuffer(
deviceAttachmentSpec,
static_cast<size_t>((1000 * 30) / CONFIG_STIMBUFF_FRAME_PERIOD_MS),
openClConstraints,
openClInputConstraints,
device->componentThread->getIoService()),
deviceAttachmentSpec(deviceAttachmentSpec), device(device),
formatDesc(formatDesc), stagingBuffer(