Bullet Collision Detection & Physics Library
|
Go to the source code of this file.
Classes | |
struct | int2 |
struct | uint2 |
class | int3 |
struct | uint3 |
struct | float4 |
struct | float3 |
Macros | |
#define | BT_GPU___device__ inline |
#define | BT_GPU___devdata__ |
#define | BT_GPU___constant__ |
#define | BT_GPU_max(a, b) ((a) > (b) ? (a) : (b)) |
#define | BT_GPU_min(a, b) ((a) < (b) ? (a) : (b)) |
#define | BT_GPU_params s3DGridBroadphaseParams |
#define | BT_GPU___mul24(a, b) ((a)*(b)) |
#define | BT_GPU___global__ inline |
#define | BT_GPU___shared__ static |
#define | BT_GPU___syncthreads() |
#define | CUDART_PI_F SIMD_PI |
#define | BT_GPU_make_uint2(x, y) bt3dGrid_make_uint2(x, y) |
#define | BT_GPU_make_int3(x, y, z) bt3dGrid_make_int3(x, y, z) |
#define | BT_GPU_make_float3(x, y, z) bt3dGrid_make_float3(x, y, z) |
#define | BT_GPU_make_float34(f) bt3dGrid_make_float34(f) |
#define | BT_GPU_make_float31(x) bt3dGrid_make_float31(x) |
#define | BT_GPU_make_float42(a, b) bt3dGrid_make_float42(a, b) |
#define | BT_GPU_make_float44(a, b, c, d) bt3dGrid_make_float44(a, b, c, d) |
#define | BT_GPU_dot(a, b) bt3dGrid_dot(a,b) |
#define | BT_GPU_dot4(a, b) bt3dGrid_dot4(a,b) |
#define | BT_GPU_cross(a, b) bt3dGrid_cross(a,b) |
#define | BT_GPU_FETCH(a, b) a[b] |
#define | BT_GPU_FETCH4(a, b) a[b] |
#define | BT_GPU_PREF(func) btGpu_##func |
#define | BT_GPU_SAFE_CALL(func) func |
#define | BT_GPU_Memset memset |
#define | BT_GPU_MemcpyToSymbol(a, b, c) memcpy(&a, b, c) |
#define | BT_GPU_BindTexture(a, b, c, d) |
#define | BT_GPU_UnbindTexture(a) |
#define | BT_GPU_blockIdx s_blockIdx |
#define | BT_GPU_blockDim s_blockDim |
#define | BT_GPU_threadIdx s_threadIdx |
#define | BT_GPU_EXECKERNEL(numb, numt, kfunc, args) {s_blockDim.x=numt;for(int nb=0;nb<numb;nb++){s_blockIdx.x=nb;for(int nt=0;nt<numt;nt++){s_threadIdx.x=nt;kfunc args;}}} |
#define | BT_GPU_CHECK_ERROR(s) |
Typedefs | |
typedef unsigned int | uint |
Variables | |
static uint2 | s_blockIdx |
static uint2 | s_blockDim |
static uint2 | s_threadIdx |
#define BT_GPU___constant__ |
Definition at line 59 of file btGpuDefines.h.
#define BT_GPU___devdata__ |
Definition at line 58 of file btGpuDefines.h.
#define BT_GPU___device__ inline |
Definition at line 57 of file btGpuDefines.h.
#define BT_GPU___global__ inline |
Definition at line 64 of file btGpuDefines.h.
#define BT_GPU___mul24 | ( | a, | |
b | |||
) | ((a)*(b)) |
Definition at line 63 of file btGpuDefines.h.
#define BT_GPU___shared__ static |
Definition at line 65 of file btGpuDefines.h.
#define BT_GPU___syncthreads | ( | ) |
Definition at line 66 of file btGpuDefines.h.
#define BT_GPU_BindTexture | ( | a, | |
b, | |||
c, | |||
d | |||
) |
Definition at line 199 of file btGpuDefines.h.
#define BT_GPU_blockDim s_blockDim |
Definition at line 204 of file btGpuDefines.h.
#define BT_GPU_blockIdx s_blockIdx |
Definition at line 203 of file btGpuDefines.h.
#define BT_GPU_CHECK_ERROR | ( | s | ) |
Definition at line 208 of file btGpuDefines.h.
#define BT_GPU_cross | ( | a, | |
b | |||
) | bt3dGrid_cross(a,b) |
Definition at line 163 of file btGpuDefines.h.
#define BT_GPU_dot | ( | a, | |
b | |||
) | bt3dGrid_dot(a,b) |
Definition at line 151 of file btGpuDefines.h.
#define BT_GPU_dot4 | ( | a, | |
b | |||
) | bt3dGrid_dot4(a,b) |
Definition at line 157 of file btGpuDefines.h.
#define BT_GPU_EXECKERNEL | ( | numb, | |
numt, | |||
kfunc, | |||
args | |||
) | {s_blockDim.x=numt;for(int nb=0;nb<numb;nb++){s_blockIdx.x=nb;for(int nt=0;nt<numt;nt++){s_threadIdx.x=nt;kfunc args;}}} |
Definition at line 206 of file btGpuDefines.h.
#define BT_GPU_FETCH | ( | a, | |
b | |||
) | a[b] |
Definition at line 193 of file btGpuDefines.h.
#define BT_GPU_FETCH4 | ( | a, | |
b | |||
) | a[b] |
Definition at line 194 of file btGpuDefines.h.
#define BT_GPU_make_float3 | ( | x, | |
y, | |||
z | |||
) | bt3dGrid_make_float3(x, y, z) |
Definition at line 85 of file btGpuDefines.h.
#define BT_GPU_make_float31 | ( | x | ) | bt3dGrid_make_float31(x) |
Definition at line 97 of file btGpuDefines.h.
#define BT_GPU_make_float34 | ( | f | ) | bt3dGrid_make_float34(f) |
Definition at line 91 of file btGpuDefines.h.
#define BT_GPU_make_float42 | ( | a, | |
b | |||
) | bt3dGrid_make_float42(a, b) |
Definition at line 103 of file btGpuDefines.h.
#define BT_GPU_make_float44 | ( | a, | |
b, | |||
c, | |||
d | |||
) | bt3dGrid_make_float44(a, b, c, d) |
Definition at line 109 of file btGpuDefines.h.
#define BT_GPU_make_int3 | ( | x, | |
y, | |||
z | |||
) | bt3dGrid_make_int3(x, y, z) |
Definition at line 79 of file btGpuDefines.h.
#define BT_GPU_make_uint2 | ( | x, | |
y | |||
) | bt3dGrid_make_uint2(x, y) |
Definition at line 73 of file btGpuDefines.h.
#define BT_GPU_max | ( | a, | |
b | |||
) | ((a) > (b) ? (a) : (b)) |
Definition at line 60 of file btGpuDefines.h.
#define BT_GPU_MemcpyToSymbol | ( | a, | |
b, | |||
c | |||
) | memcpy(&a, b, c) |
Definition at line 198 of file btGpuDefines.h.
#define BT_GPU_Memset memset |
Definition at line 197 of file btGpuDefines.h.
#define BT_GPU_min | ( | a, | |
b | |||
) | ((a) < (b) ? (a) : (b)) |
Definition at line 61 of file btGpuDefines.h.
#define BT_GPU_params s3DGridBroadphaseParams |
Definition at line 62 of file btGpuDefines.h.
#define BT_GPU_PREF | ( | func | ) | btGpu_##func |
Definition at line 195 of file btGpuDefines.h.
#define BT_GPU_SAFE_CALL | ( | func | ) | func |
Definition at line 196 of file btGpuDefines.h.
#define BT_GPU_threadIdx s_threadIdx |
Definition at line 205 of file btGpuDefines.h.
#define BT_GPU_UnbindTexture | ( | a | ) |
Definition at line 200 of file btGpuDefines.h.
#define CUDART_PI_F SIMD_PI |
Definition at line 67 of file btGpuDefines.h.
typedef unsigned int uint |
Definition at line 24 of file btGpuDefines.h.
Definition at line 159 of file btGpuDefines.h.
Definition at line 147 of file btGpuDefines.h.
Definition at line 153 of file btGpuDefines.h.
|
inlinestatic |
Definition at line 81 of file btGpuDefines.h.
|
inlinestatic |
Definition at line 93 of file btGpuDefines.h.
Definition at line 87 of file btGpuDefines.h.
Definition at line 99 of file btGpuDefines.h.
|
inlinestatic |
Definition at line 105 of file btGpuDefines.h.
|
inlinestatic |
Definition at line 75 of file btGpuDefines.h.
|
inlinestatic |
Definition at line 69 of file btGpuDefines.h.
Definition at line 120 of file btGpuDefines.h.
Definition at line 124 of file btGpuDefines.h.
Definition at line 166 of file btGpuDefines.h.
Definition at line 128 of file btGpuDefines.h.
Definition at line 182 of file btGpuDefines.h.
Definition at line 111 of file btGpuDefines.h.
Definition at line 116 of file btGpuDefines.h.
Definition at line 139 of file btGpuDefines.h.
Definition at line 133 of file btGpuDefines.h.
Definition at line 172 of file btGpuDefines.h.
Definition at line 143 of file btGpuDefines.h.
Definition at line 187 of file btGpuDefines.h.
Definition at line 177 of file btGpuDefines.h.
|
static |
Definition at line 202 of file btGpuDefines.h.
|
static |
Definition at line 202 of file btGpuDefines.h.
|
static |
Definition at line 202 of file btGpuDefines.h.