cudaError_t cudaConfigureCall ( dim3  gridDim,
dim3  blockDim,
size_t  sharedMem = 0,
cudaStream_t  stream = 0 
)

Specifies the grid and block dimensions for the device call to be executed similar to the execution configuration syntax. cudaConfigureCall() is stack based. Each call pushes data on top of an execution stack. This data contains the dimension for the grid and thread blocks, together with any arguments for the call.

Parameters:
gridDim - Grid dimensions
blockDim - Block dimensions
sharedMem - Shared memory
stream - Stream identifier
Returns:
cudaSuccess, cudaErrorInvalidConfiguration
Note:
Note that this function may also return error codes from previous, asynchronous launches.
See also:
cudaFuncSetCacheConfig (C API), cudaFuncGetAttributes (C API), cudaLaunch (C API), cudaSetDoubleForDevice, cudaSetDoubleForHost, cudaSetupArgument (C API),


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA