Is this a duplicate?
Type of Bug
Something else
Component
cuda.bindings
Describe the bug
cuDevSmResourceSplit splits the input CUdevResource into nbGroups devresources defined by the param structs in the groupParams array, but the current cuda.bindings.driver.cuDevSmResourceSplit binding accepts only
groupParams: Optional[CU_DEV_SM_RESOURCE_GROUP_PARAMS]
rather than
groupParams: Optional[list[CU_DEV_SM_RESOURCE_GROUP_PARAMS]]
https://docs.nvidia.com/cuda/cuda-driver-api/group__CUDA__GREEN__CONTEXTS.html#group__CUDA__GREEN__CONTEXTS_1gc739e0a0b57766ee10437c89909865f3
https://nvidia.github.io/cuda-python/cuda-bindings/latest/module/driver.html#cuda.bindings.driver.cuDevSmResourceSplit
cc @rwgk
How to Reproduce
Pass multiple groupParams to cuda.bindings.driver.cuDevSmResourceSplit
Expected behavior
cuda.bindings.driver.cuDevSmResourceSplit accepts a list of CU_DEV_SM_RESOURCE_GROUP_PARAMS
Operating System
No response
nvidia-smi output
No response
Is this a duplicate?
Type of Bug
Something else
Component
cuda.bindings
Describe the bug
cuDevSmResourceSplitsplits the inputCUdevResourceintonbGroupsdevresources defined by the param structs in thegroupParamsarray, but the currentcuda.bindings.driver.cuDevSmResourceSplitbinding accepts onlyrather than
https://docs.nvidia.com/cuda/cuda-driver-api/group__CUDA__GREEN__CONTEXTS.html#group__CUDA__GREEN__CONTEXTS_1gc739e0a0b57766ee10437c89909865f3
https://nvidia.github.io/cuda-python/cuda-bindings/latest/module/driver.html#cuda.bindings.driver.cuDevSmResourceSplit
cc @rwgk
How to Reproduce
Pass multiple
groupParamstocuda.bindings.driver.cuDevSmResourceSplitExpected behavior
cuda.bindings.driver.cuDevSmResourceSplitaccepts a list ofCU_DEV_SM_RESOURCE_GROUP_PARAMSOperating System
No response
nvidia-smi output
No response