#include #include #include #include "pcloudStimulusBuffer.h" namespace smo { namespace stim_buff { PcloudStimulusBuffer::PcloudStimulusBuffer( const device::DeviceAttachmentSpec& deviceAttachmentSpec, std::shared_ptr &device, const PcloudFormatDesc& formatDesc, size_t nDgramsPerStagingBufferFrame) : StimulusBuffer(deviceAttachmentSpec, device->componentThread->getIoService()), deviceAttachmentSpec(deviceAttachmentSpec), device(device), formatDesc(formatDesc), stagingBuffer( StagingBuffer::InputEngineConstraints::ioUringConstraints, OpenClConstraints(), nDgramsPerStagingBufferFrame) { } void PcloudStimulusBuffer::stimFrameProductionTimesliceInd() { // Release the spinlock for now frameAssemblyRateLimiter.release(); } } // namespace stim_buff } // namespace smo