Package | Description |
---|---|
jcuda.driver |
Contains the classes related to the JCuda driver API.
|
Modifier and Type | Method and Description |
---|---|
static int |
JCudaDriver.cuOccupancyMaxPotentialBlockSize(int[] minGridSize,
int[] blockSize,
CUfunction func,
CUoccupancyB2DSize blockSizeToDynamicSMemSize,
long dynamicSMemSize,
int blockSizeLimit)
\brief Suggest a launch configuration with reasonable occupancy
Returns in \p *blockSize a reasonable block size that can achieve
the maximum occupancy (or, the maximum number of active warps with
the fewest blocks per multiprocessor), and in \p *minGridSize the
minimum grid size to achieve the maximum occupancy. |
static int |
JCudaDriver.cuOccupancyMaxPotentialBlockSizeWithFlags(int[] minGridSize,
int[] blockSize,
CUfunction func,
CUoccupancyB2DSize blockSizeToDynamicSMemSize,
long dynamicSMemSize,
int blockSizeLimit,
int flags) |
Copyright © 2020. All rights reserved.