ASCOT5
Loading...
Searching...
No Matches
Functions
copytogpu.h File Reference

Header file for copytogpu.c. More...

Go to the source code of this file.

Functions

void simulate_copy_to_gpu (sim_data *sim)
 Copy data from CPU to GPU.
 
void simulate_fo_fixed_copy_from_gpu (sim_data *sim, particle_simd_fo *p_ptr)
 Copy data from GPU to CPU.
 

Detailed Description

Header file for copytogpu.c.

Definition in file copytogpu.h.

Function Documentation

◆ simulate_copy_to_gpu()

void simulate_copy_to_gpu ( sim_data * sim)

Copy data from CPU to GPU.

Definition at line 14 of file copytogpu.c.

◆ simulate_fo_fixed_copy_from_gpu()

void simulate_fo_fixed_copy_from_gpu ( sim_data * sim,
particle_simd_fo * p_ptr )

Copy data from GPU to CPU.

Definition at line 157 of file copytogpu.c.