8 #ifndef PRESYNAPTICPERSPECTIVESTOCHASTICDELIVERY_HPP_ 9 #define PRESYNAPTICPERSPECTIVESTOCHASTICDELIVERY_HPP_ 11 #include "delivery/HyPerDelivery.hpp" 39 virtual Response::Status
40 communicateInitInfo(std::shared_ptr<CommunicateInitInfoMessage const> message)
override;
53 virtual void deliver()
override;
55 virtual void deliverUnitInput(
float *recvBuffer)
override;
60 int initialize(
char const *name,
HyPerCol *hc);
62 virtual void setObjectType()
override;
66 virtual Response::Status allocateDataStructures()
override;
68 void allocateThreadGSyn();
70 void allocateRandState();
74 std::vector<std::vector<float>> mThreadGSyn;
75 Random *mRandState =
nullptr;
80 #endif // PRESYNAPTICPERSPECTIVESTOCHASTICDELIVERY_HPP_
virtual int ioParamsFillGroup(enum ParamsIOFlag ioFlag) override
virtual void deliver() override
virtual void ioParam_receiveGpu(enum ParamsIOFlag ioFlag) override
receiveGpu: PresynapticPerspectiveStochasticDelivery always sets receiveGpu to false. The receiveGpu=true case is handled by the PresynapticPerspectiveGPUDelivery class.