Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F69865358
cuda.cu
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Jul 3, 22:38
Size
647 B
Mime Type
text/x-c
Expires
Fri, Jul 5, 22:38 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
18693397
Attached To
rLAMMPS lammps
cuda.cu
View Options
#include "cuda_precision.h"
#include "cuda_shared.h"
#include "cuda_cu.h"
void Cuda_Cuda_GetCompileSettings(cuda_shared_data* sdata)
{
sdata->compile_settings.prec_glob = sizeof(CUDA_CFLOAT) / 4;
sdata->compile_settings.prec_x = sizeof(X_CFLOAT) / 4;
sdata->compile_settings.prec_v = sizeof(V_CFLOAT) / 4;
sdata->compile_settings.prec_f = sizeof(F_CFLOAT) / 4;
sdata->compile_settings.prec_pppm = sizeof(PPPM_CFLOAT) / 4;
sdata->compile_settings.prec_fft = sizeof(FFT_CFLOAT) / 4;
#ifdef FFT_CUFFT
sdata->compile_settings.cufft = 1;
#else
sdata->compile_settings.cufft = 0;
#endif
sdata->compile_settings.arch = CUDA_ARCH;
}
Event Timeline
Log In to Comment