Searched refs:dim3 (Results 1 - 2 of 2) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_builtin_vars.h15 struct dim3;
78 // blockDim should be convertible to dim3 (in fact in nvcc, it *is* a
79 // dim3). This function is defined after we pull in vector_types.h.
80 __attribute__((device)) operator dim3() const;
89 // gridDim should be convertible to dim3 (in fact in nvcc, it *is* a
90 // dim3). This function is defined after we pull in vector_types.h.
91 __attribute__((device)) operator dim3() const;
H A D__clang_cuda_runtime_wrapper.h369 // come after we've pulled in the definition of uint3 and dim3.
387 __device__ inline __cuda_builtin_blockDim_t::operator dim3() const {
388 return dim3(x, y, z);
391 __device__ inline __cuda_builtin_gridDim_t::operator dim3() const {
392 return dim3(x, y, z);
400 // mode, giving them their "proper" types of dim3 and uint3. This is
403 // redefine dim3 and uint3 to our builtin types. (Thankfully dim3 and uint3 are
405 #pragma push_macro("dim3")
407 #define dim3 __cuda_builtin_blockDim_ macro
[all...]

Completed in 178 milliseconds