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

Transfer data from and to the GPU. More...

#include "simulate.h"
#include "particle.h"
#include "B_field.h"
#include "E_field.h"
#include "copytogpu.h"

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

Transfer data from and to the GPU.

Definition in file copytogpu.c.

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.