SoCudaApiSetBlockShape Method |
This function specifies the thread blocks shape.
Namespace: OIV.Inventor.CudaAssembly: OIV.Inventor.Cuda (in OIV.Inventor.Cuda.dll) Version: 9.9.36.0 (9.9.36.0)
Syntaxpublic static SoCudaSoCudaErrors SetBlockShape(
SoCudaHandle handle,
int x,
int y,
int z
)
Public Shared Function SetBlockShape (
handle As SoCudaHandle,
x As Integer,
y As Integer,
z As Integer
) As SoCudaSoCudaErrors
public:
static SoCudaSoCudaErrors SetBlockShape(
SoCudaHandle^ handle,
int x,
int y,
int z
)
static member SetBlockShape :
handle : SoCudaHandle *
x : int *
y : int *
z : int -> SoCudaSoCudaErrors
Parameters
- handle
- Type: OIV.Inventor.CudaSoCudaHandle
The Cuda handle of the function to set the block size for.
- x
- Type: SystemInt32
X dimension of the the thread blocks.
- y
- Type: SystemInt32
Y dimension of the the thread blocks.
- z
- Type: SystemInt32
Z dimension of the the thread blocks.
Return Value
Type:
SoCudaSoCudaErrorsOperation result error code.
RemarksSee SoCudaDevice to know the max block size for a specific device.
See Also