From: gburri Date: Thu, 22 Jan 2015 10:55:15 +0000 (+0100) Subject: Missing parameters file. X-Git-Url: https://git.euphorik.ch/?a=commitdiff_plain;h=889920fd66d02c0b285fa78cef5c2122b5b88b99;p=GPU.git Missing parameters file. --- diff --git a/WCudaMSE/Student_Cuda_Image/src/cpp/core/04_RayTracing/moo/RayTracingParams.h b/WCudaMSE/Student_Cuda_Image/src/cpp/core/04_RayTracing/moo/RayTracingParams.h new file mode 100644 index 0000000..c7dec51 --- /dev/null +++ b/WCudaMSE/Student_Cuda_Image/src/cpp/core/04_RayTracing/moo/RayTracingParams.h @@ -0,0 +1,13 @@ +#ifndef RAY_TRACING_COMMON +#define RAY_TRACING_COMMON + +#define NB_SPHERES 2000 + + +#define MEMORY_MODEL_GLOBAL 1 +#define MEMORY_MODEL_CONSTANT 2 +#define MEMORY_MODEL_SHARED 3 + +#define CURRENT_MEMORY_MODEL MEMORY_MODEL_CONSTANT + +#endif