8 #ifndef CUDARECVPRE_HPP_ 9 #define CUDARECVPRE_HPP_ 11 #include "../arch/cuda/CudaBuffer.hpp" 12 #include "../arch/cuda/CudaKernel.hpp" 13 #include "../structures/SparseList.hpp" 19 #include <builtin_types.h> 24 unsigned short nx, ny;
44 size_t *gSynPatchStart;
49 int *patch2datalookuptable;
77 CudaBuffer *gSynPatchStart,
82 CudaBuffer *patch2datalookuptable,
85 CudaBuffer *numActive,
86 CudaBuffer *activeIndices);
88 void set_dt_factor(
float new_dt_factor) { params.dt_factor = new_dt_factor; }
92 virtual int do_run()
override;
95 void checkSharedMemSize(
size_t sharedSize);