Blender V2.61 - r43446
Defines | Typedefs

kernel_compat_cuda.h File Reference

#include <cuda.h>
#include <float.h>
#include "util_types.h"

Go to the source code of this file.

Defines

#define __KERNEL_GPU__
#define __KERNEL_CUDA__
#define CCL_NAMESPACE_BEGIN
#define CCL_NAMESPACE_END
#define __device   __device__ __inline__
#define __device_inline   __device__ __inline__
#define __device_noinline   __device__ __noinline__
#define __global
#define __shared   __shared__
#define __constant
#define kernel_assert(cond)
#define kernel_tex_fetch(t, index)   tex1Dfetch(t, index)
#define kernel_tex_interp(t, x, size)   tex1D(t, x)
#define kernel_tex_image_interp(t, x, y)   tex2D(t, x, y)
#define kernel_data   __data

Typedefs

typedef texture< float4, 1 > texture_float4
typedef texture< float, 1 > texture_float
typedef texture< uint, 1 > texture_uint
typedef texture< int, 1 > texture_int
typedef texture< uint4, 1 > texture_uint4
typedef texture< float4, 2 > texture_image_float4
typedef texture< uchar4,
2, cudaReadModeNormalizedFloat > 
texture_image_uchar4

Define Documentation

#define __constant

Definition at line 39 of file kernel_compat_cuda.h.

#define __device   __device__ __inline__

Definition at line 34 of file kernel_compat_cuda.h.

#define __device_inline   __device__ __inline__

Definition at line 35 of file kernel_compat_cuda.h.

#define __device_noinline   __device__ __noinline__

Definition at line 36 of file kernel_compat_cuda.h.

#define __global

Definition at line 37 of file kernel_compat_cuda.h.

#define __KERNEL_CUDA__

Definition at line 23 of file kernel_compat_cuda.h.

#define __KERNEL_GPU__

Definition at line 22 of file kernel_compat_cuda.h.

#define __shared   __shared__

Definition at line 38 of file kernel_compat_cuda.h.

#define CCL_NAMESPACE_BEGIN

Definition at line 24 of file kernel_compat_cuda.h.

#define CCL_NAMESPACE_END

Definition at line 25 of file kernel_compat_cuda.h.

Referenced by options_parse().

#define kernel_assert (   cond)

Definition at line 43 of file kernel_compat_cuda.h.

#define kernel_data   __data

Definition at line 61 of file kernel_compat_cuda.h.

#define kernel_tex_fetch (   t,
  index 
)    tex1Dfetch(t, index)

Definition at line 57 of file kernel_compat_cuda.h.

#define kernel_tex_image_interp (   t,
  x,
 
)    tex2D(t, x, y)

Definition at line 59 of file kernel_compat_cuda.h.

#define kernel_tex_interp (   t,
  x,
  size 
)    tex1D(t, x)

Definition at line 58 of file kernel_compat_cuda.h.


Typedef Documentation

typedef texture<float, 1> texture_float

Definition at line 48 of file kernel_compat_cuda.h.

Definition at line 47 of file kernel_compat_cuda.h.

Definition at line 52 of file kernel_compat_cuda.h.

typedef texture<uchar4, 2, cudaReadModeNormalizedFloat> texture_image_uchar4

Definition at line 53 of file kernel_compat_cuda.h.

typedef texture<int, 1> texture_int

Definition at line 50 of file kernel_compat_cuda.h.

typedef texture<uint, 1> texture_uint

Definition at line 49 of file kernel_compat_cuda.h.

Definition at line 51 of file kernel_compat_cuda.h.