Click or drag to resize
SoCudaApiSetBlockShape Method

This function specifies the thread blocks shape.

Namespace: OIV.Inventor.Cuda
Assembly: OIV.Inventor.Cuda (in OIV.Inventor.Cuda.dll) Version: 9.9.36.0 (9.9.36.0)
Syntax
public static SoCudaSoCudaErrors SetBlockShape(
	SoCudaHandle handle,
	int x,
	int y,
	int z
)

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: SoCudaSoCudaErrors

Operation result error code.

Remarks

See SoCudaDevice to know the max block size for a specific device.

See Also