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

1D launch configuration More...

#include <GpuKernelUtils.h>

Inheritance diagram for GpuLaunchConfig1D:
GpuLaunchConfig

Public Member Functions

template<typename GpuKernel >
 GpuLaunchConfig1D (GpuKernel *gpuKernel, int N)
 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)
 
- Public Attributes inherited from GpuLaunchConfig
cudaFuncAttributes attr
 attributes of the function
 

Detailed Description

1D launch configuration


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