JDFTx  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GpuLaunchConfig3D Struct Reference

3D launch configuration More...

#include <GpuKernelUtils.h>

Inheritance diagram for GpuLaunchConfig3D:
GpuLaunchConfig GpuLaunchConfigHalf3D

Public Member Functions

template<typename GpuKernel >
 GpuLaunchConfig3D (GpuKernel *gpuKernel, vector3< int > S)
 Set up blocks and grid for a 1D operation over N data points.
 
- Public Member Functions inherited from GpuLaunchConfig
template<typename GpuKernel >
 GpuLaunchConfig (GpuKernel *gpuKernel)
 Initialize the device and function properties.
 

Public Attributes

dim3 nPerBlock
 dimension of block
 
dim3 nBlocks
 dimension of grid (note nBlocks could be 3D for really large kernels)
 
int zBlockMax
 Grids are 2D, so need to loop over last dim.
 
- Public Attributes inherited from GpuLaunchConfig
cudaFuncAttributes attr
 attributes of the function
 

Detailed Description

3D launch configuration


The documentation for this struct was generated from the following file: