X-Git-Url: http://git.euphorik.ch/?p=GPU.git;a=blobdiff_plain;f=WCudaMSE%2FStudent_Cuda_Image%2Fsrc%2Fcpp%2Fcore%2F04_RayTracing%2Fmoo%2FRayTracingCommon.h;fp=WCudaMSE%2FStudent_Cuda_Image%2Fsrc%2Fcpp%2Fcore%2F04_RayTracing%2Fmoo%2FRayTracingCommon.h;h=0f2d3aebe85c682981b903d0d42582d688512cf3;hp=0000000000000000000000000000000000000000;hb=f8259dce248a4411c3bc64cecb9fc268c4fd81d6;hpb=d720146850389c8bbe75cb86e69d7e26629ff97f diff --git a/WCudaMSE/Student_Cuda_Image/src/cpp/core/04_RayTracing/moo/RayTracingCommon.h b/WCudaMSE/Student_Cuda_Image/src/cpp/core/04_RayTracing/moo/RayTracingCommon.h new file mode 100644 index 0000000..0f2d3ae --- /dev/null +++ b/WCudaMSE/Student_Cuda_Image/src/cpp/core/04_RayTracing/moo/RayTracingCommon.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_SHARED + +#endif