Wednesday, April 18, 2012

Notes of CUDA/C typecasting

Fast way to convert float4 to uchar4? Texture conversion
http://forums.nvidia.com/index.php?showtopic=166797

There is no Boolean type in C
http://www.cs.cf.ac.uk/Dave/C/node4.html

How to vectorize a vector type cast
http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-February/047827.html

CUDA Example BoxFilter in OpenCL
http://rungpu.org/opencl/kernels/25/boxfilter.cl
Shows Interoperability between CUDA and OpenGL

Contains function of conversion between RGB field and float field

No comments:

Post a Comment