|
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:
- cudaLaunch (C API), cudaLaunch (C++ API), cudaSetupArgument (C API)
|