NEURON
nrn_acc_manager.hpp
Go to the documentation of this file.
1 /*
2 # =============================================================================
3 # Copyright (c) 2016 - 2022 Blue Brain Project/EPFL
4 #
5 # See top-level LICENSE file for details.
6 # =============================================================================
7 */
8 #pragma once
9 
10 namespace coreneuron {
11 struct Memb_list;
12 struct NrnThread;
13 struct NetSendBuffer_t;
14 void setup_nrnthreads_on_device(NrnThread* threads, int nthreads);
15 void delete_nrnthreads_on_device(NrnThread* threads, int nthreads);
16 void update_nrnthreads_on_host(NrnThread* threads, int nthreads);
17 
19 
20 // Called by NModl
22 void update_net_send_buffer_on_host(NrnThread* nt, NetSendBuffer_t* nsb);
23 
24 void update_weights_from_gpu(NrnThread* threads, int nthreads);
25 void init_gpu();
26 } // namespace coreneuron
THIS FILE IS AUTO GENERATED DONT MODIFY IT.
void update_nrnthreads_on_host(NrnThread *threads, int nthreads)
void update_net_receive_buffer(NrnThread *nt)
void delete_nrnthreads_on_device(NrnThread *threads, int nthreads)
Cleanup device memory that is being tracked by the OpenACC runtime.
void init_gpu()
void setup_nrnthreads_on_device(NrnThread *threads, int nthreads)
void update_net_send_buffer_on_host(NrnThread *nt, NetSendBuffer_t *nsb)
void realloc_net_receive_buffer(NrnThread *nt, Memb_list *ml)
void update_weights_from_gpu(NrnThread *threads, int nthreads)
Copy weights from GPU to CPU.
A view into a set of mechanism instances.
Definition: nrnoc_ml.h:34
Represent main neuron object computed by single thread.
Definition: multicore.h:58