Function infer_kernel
Defined in File InferKernelDeclarations.h
Function Documentation
-
void infer_kernel(EvSpikeSim::KernelData &kernel_data, const EvSpikeSim::Spike *end_pre_spikes, bool first_call, void *thread_pool_ptr)
Inference kernel function.
- Parameters
kernel_data – The data required by the inference kernel.
end_pre_spikes – The end of the pre-synaptic spikes.
first_call – Must be true if this is the first call to the kernel during the inference, otherwise false.
thread_pool_ptr – The pointer to the global thread pool if the implementation is for CPU. For GPU, nullptr is passed and the argument is unused.