Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cuda_bindings/cuda/bindings/_bindings/cydriver.pxd.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE

# This code was automatically generated with version 13.2.0, generator version fa58871. Do not modify it directly.
# This code was automatically generated with version 13.2.0, generator version 8797618. Do not modify it directly.
from cuda.bindings.cydriver cimport *

{{if 'cuGetErrorString' in found_functions}}
Expand Down
2 changes: 1 addition & 1 deletion cuda_bindings/cuda/bindings/_bindings/cydriver.pyx.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE

# This code was automatically generated with version 13.2.0, generator version fa58871. Do not modify it directly.
# This code was automatically generated with version 13.2.0, generator version 8797618. Do not modify it directly.
{{if 'Windows' == platform.system()}}
import os
cimport cuda.bindings._lib.windll as windll
Expand Down
2 changes: 1 addition & 1 deletion cuda_bindings/cuda/bindings/_bindings/cynvrtc.pxd.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE

# This code was automatically generated with version 13.2.0, generator version fa58871. Do not modify it directly.
# This code was automatically generated with version 13.2.0, generator version 8797618. Do not modify it directly.
from cuda.bindings.cynvrtc cimport *

{{if 'nvrtcGetErrorString' in found_functions}}
Expand Down
2 changes: 1 addition & 1 deletion cuda_bindings/cuda/bindings/_bindings/cynvrtc.pyx.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE

# This code was automatically generated with version 13.2.0, generator version fa58871. Do not modify it directly.
# This code was automatically generated with version 13.2.0, generator version 8797618. Do not modify it directly.
{{if 'Windows' == platform.system()}}
import os
cimport cuda.bindings._lib.windll as windll
Expand Down
2 changes: 1 addition & 1 deletion cuda_bindings/cuda/bindings/_bindings/cyruntime.pxd.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE

# This code was automatically generated with version 13.2.0, generator version fa58871. Do not modify it directly.
# This code was automatically generated with version 13.2.0, generator version 8797618. Do not modify it directly.
include "../cyruntime_types.pxi"

include "../_lib/cyruntime/cyruntime.pxd"
Expand Down
2 changes: 1 addition & 1 deletion cuda_bindings/cuda/bindings/_bindings/cyruntime.pyx.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE

# This code was automatically generated with version 13.2.0, generator version fa58871. Do not modify it directly.
# This code was automatically generated with version 13.2.0, generator version 8797618. Do not modify it directly.
include "../cyruntime_functions.pxi"

import os
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE

# This code was automatically generated with version 13.2.0, generator version fa58871. Do not modify it directly.
# This code was automatically generated with version 13.2.0, generator version 8797618. Do not modify it directly.
cdef extern from "":
"""
#define CUDA_API_PER_THREAD_DEFAULT_STREAM
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE

# This code was automatically generated with version 13.2.0, generator version fa58871. Do not modify it directly.
# This code was automatically generated with version 13.2.0, generator version 8797618. Do not modify it directly.
cdef extern from "":
"""
#define CUDA_API_PER_THREAD_DEFAULT_STREAM
Expand Down
2 changes: 1 addition & 1 deletion cuda_bindings/cuda/bindings/cydriver.pxd.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE

# This code was automatically generated with version 13.2.0, generator version fa58871. Do not modify it directly.
# This code was automatically generated with version 13.2.0, generator version 8797618. Do not modify it directly.

from libc.stdint cimport uint32_t, uint64_t

Expand Down
2 changes: 1 addition & 1 deletion cuda_bindings/cuda/bindings/cydriver.pyx.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE

# This code was automatically generated with version 13.2.0, generator version fa58871. Do not modify it directly.
# This code was automatically generated with version 13.2.0, generator version 8797618. Do not modify it directly.
cimport cuda.bindings._bindings.cydriver as cydriver

{{if 'cuGetErrorString' in found_functions}}
Expand Down
2 changes: 1 addition & 1 deletion cuda_bindings/cuda/bindings/cynvrtc.pxd.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE

# This code was automatically generated with version 13.2.0, generator version fa58871. Do not modify it directly.
# This code was automatically generated with version 13.2.0, generator version 8797618. Do not modify it directly.

from libc.stdint cimport uint32_t, uint64_t

Expand Down
2 changes: 1 addition & 1 deletion cuda_bindings/cuda/bindings/cynvrtc.pyx.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE

# This code was automatically generated with version 13.2.0, generator version fa58871. Do not modify it directly.
# This code was automatically generated with version 13.2.0, generator version 8797618. Do not modify it directly.
cimport cuda.bindings._bindings.cynvrtc as cynvrtc

{{if 'nvrtcGetErrorString' in found_functions}}
Expand Down
2 changes: 1 addition & 1 deletion cuda_bindings/cuda/bindings/cyruntime.pxd.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE

# This code was automatically generated with version 13.2.0, generator version fa58871. Do not modify it directly.
# This code was automatically generated with version 13.2.0, generator version 8797618. Do not modify it directly.

from libc.stdint cimport uint32_t, uint64_t

Expand Down
2 changes: 1 addition & 1 deletion cuda_bindings/cuda/bindings/cyruntime.pyx.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE

# This code was automatically generated with version 13.2.0, generator version fa58871. Do not modify it directly.
# This code was automatically generated with version 13.2.0, generator version 8797618. Do not modify it directly.
cimport cuda.bindings._bindings.cyruntime as cyruntime
cimport cython

Expand Down
2 changes: 1 addition & 1 deletion cuda_bindings/cuda/bindings/cyruntime_functions.pxi.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE

# This code was automatically generated with version 13.2.0, generator version fa58871. Do not modify it directly.
# This code was automatically generated with version 13.2.0, generator version 8797618. Do not modify it directly.
cdef extern from "cuda_runtime_api.h":

{{if 'cudaDeviceReset' in found_functions}}
Expand Down
2 changes: 1 addition & 1 deletion cuda_bindings/cuda/bindings/cyruntime_types.pxi.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE

# This code was automatically generated with version 13.2.0, generator version fa58871. Do not modify it directly.
# This code was automatically generated with version 13.2.0, generator version 8797618. Do not modify it directly.

cdef extern from "vector_types.h":

Expand Down
2 changes: 1 addition & 1 deletion cuda_bindings/cuda/bindings/driver.pxd.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE

# This code was automatically generated with version 13.2.0, generator version fa58871. Do not modify it directly.
# This code was automatically generated with version 13.2.0, generator version 8797618. Do not modify it directly.
cimport cuda.bindings.cydriver as cydriver

include "_lib/utils.pxd"
Expand Down
25 changes: 19 additions & 6 deletions cuda_bindings/cuda/bindings/driver.pyx.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE

# This code was automatically generated with version 13.2.0, generator version fa58871. Do not modify it directly.
# This code was automatically generated with version 13.2.0, generator version 8797618. Do not modify it directly.
from typing import Any, Optional
import cython
import ctypes
Expand Down Expand Up @@ -55223,7 +55223,7 @@ def cuDevSmResourceSplitByCount(unsigned int nbGroups, input_ : Optional[CUdevRe
{{if 'cuDevSmResourceSplit' in found_functions}}

@cython.embedsignature(True)
def cuDevSmResourceSplit(unsigned int nbGroups, input_ : Optional[CUdevResource], unsigned int flags, groupParams : Optional[CU_DEV_SM_RESOURCE_GROUP_PARAMS]):
def cuDevSmResourceSplit(unsigned int nbGroups, input_ : Optional[CUdevResource], unsigned int flags, groupParams : Optional[tuple[CU_DEV_SM_RESOURCE_GROUP_PARAMS] | list[CU_DEV_SM_RESOURCE_GROUP_PARAMS]]):
""" Splits a `CU_DEV_RESOURCE_TYPE_SM` resource into structured groups.

This API will split a resource of :py:obj:`~.CU_DEV_RESOURCE_TYPE_SM`
Expand Down Expand Up @@ -55341,7 +55341,7 @@ def cuDevSmResourceSplit(unsigned int nbGroups, input_ : Optional[CUdevResource]
flags : unsigned int
Flags specifying how the API should behave. The value should be 0
for now.
groupParams : :py:obj:`~.CU_DEV_SM_RESOURCE_GROUP_PARAMS`
groupParams : list[:py:obj:`~.CU_DEV_SM_RESOURCE_GROUP_PARAMS`]
Description of how the SMs should be split and assigned to the
corresponding result entry.

Expand All @@ -55360,6 +55360,9 @@ def cuDevSmResourceSplit(unsigned int nbGroups, input_ : Optional[CUdevResource]
--------
:py:obj:`~.cuGreenCtxGetDevResource`, :py:obj:`~.cuCtxGetDevResource`, :py:obj:`~.cuDeviceGetDevResource`
"""
groupParams = [] if groupParams is None else groupParams
if not all(isinstance(_x, (CU_DEV_SM_RESOURCE_GROUP_PARAMS,)) for _x in groupParams):
raise TypeError("Argument 'groupParams' is not instance of type (expected tuple[cydriver.CU_DEV_SM_RESOURCE_GROUP_PARAMS,] or list[cydriver.CU_DEV_SM_RESOURCE_GROUP_PARAMS,]")
cdef cydriver.CUdevResource* cyresult = NULL
pyresult = [CUdevResource() for idx in range(nbGroups)]
if nbGroups != 0:
Expand All @@ -55368,14 +55371,24 @@ def cuDevSmResourceSplit(unsigned int nbGroups, input_ : Optional[CUdevResource]
raise MemoryError('Failed to allocate length x size memory: ' + str(nbGroups) + 'x' + str(sizeof(cydriver.CUdevResource)))
cdef cydriver.CUdevResource* cyinput__ptr = input_._pvt_ptr if input_ is not None else NULL
cdef CUdevResource remainder = CUdevResource()
cdef cydriver.CU_DEV_SM_RESOURCE_GROUP_PARAMS* cygroupParams_ptr = groupParams._pvt_ptr if groupParams is not None else NULL
with nogil:
err = cydriver.cuDevSmResourceSplit(cyresult, nbGroups, cyinput__ptr, <cydriver.CUdevResource*>remainder._pvt_ptr, flags, cygroupParams_ptr)
cdef cydriver.CU_DEV_SM_RESOURCE_GROUP_PARAMS* cygroupParams = NULL
if len(groupParams) > 1:
cygroupParams = <cydriver.CU_DEV_SM_RESOURCE_GROUP_PARAMS*> calloc(len(groupParams), sizeof(cydriver.CU_DEV_SM_RESOURCE_GROUP_PARAMS))
if cygroupParams is NULL:
raise MemoryError('Failed to allocate length x size memory: ' + str(len(groupParams)) + 'x' + str(sizeof(cydriver.CU_DEV_SM_RESOURCE_GROUP_PARAMS)))
for idx in range(len(groupParams)):
string.memcpy(&cygroupParams[idx], (<CU_DEV_SM_RESOURCE_GROUP_PARAMS>groupParams[idx])._pvt_ptr, sizeof(cydriver.CU_DEV_SM_RESOURCE_GROUP_PARAMS))
elif len(groupParams) == 1:
cygroupParams = (<CU_DEV_SM_RESOURCE_GROUP_PARAMS>groupParams[0])._pvt_ptr
with nogil:
err = cydriver.cuDevSmResourceSplit(cyresult, nbGroups, cyinput__ptr, <cydriver.CUdevResource*>remainder._pvt_ptr, flags, cygroupParams)
if CUresult(err) == CUresult(0):
for idx in range(nbGroups):
string.memcpy((<CUdevResource>pyresult[idx])._pvt_ptr, &cyresult[idx], sizeof(cydriver.CUdevResource))
if cyresult is not NULL:
free(cyresult)
if len(groupParams) > 1 and cygroupParams is not NULL:
free(cygroupParams)
if err != cydriver.CUDA_SUCCESS:
return (_CUresult(err), None, None)
return (_CUresult_SUCCESS, pyresult, remainder)
Expand Down
2 changes: 1 addition & 1 deletion cuda_bindings/cuda/bindings/nvrtc.pxd.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE

# This code was automatically generated with version 13.2.0, generator version fa58871. Do not modify it directly.
# This code was automatically generated with version 13.2.0, generator version 8797618. Do not modify it directly.
cimport cuda.bindings.cynvrtc as cynvrtc

include "_lib/utils.pxd"
Expand Down
2 changes: 1 addition & 1 deletion cuda_bindings/cuda/bindings/nvrtc.pyx.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE

# This code was automatically generated with version 13.2.0, generator version fa58871. Do not modify it directly.
# This code was automatically generated with version 13.2.0, generator version 8797618. Do not modify it directly.
from typing import Any, Optional
import cython
import ctypes
Expand Down
2 changes: 1 addition & 1 deletion cuda_bindings/cuda/bindings/runtime.pxd.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE

# This code was automatically generated with version 13.2.0, generator version fa58871. Do not modify it directly.
# This code was automatically generated with version 13.2.0, generator version 8797618. Do not modify it directly.
cimport cuda.bindings.cyruntime as cyruntime

include "_lib/utils.pxd"
Expand Down
25 changes: 19 additions & 6 deletions cuda_bindings/cuda/bindings/runtime.pyx.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE

# This code was automatically generated with version 13.2.0, generator version fa58871. Do not modify it directly.
# This code was automatically generated with version 13.2.0, generator version 8797618. Do not modify it directly.
from typing import Any, Optional
import cython
import ctypes
Expand Down Expand Up @@ -39487,7 +39487,7 @@ def cudaDevSmResourceSplitByCount(unsigned int nbGroups, input_ : Optional[cudaD
{{if 'cudaDevSmResourceSplit' in found_functions}}

@cython.embedsignature(True)
def cudaDevSmResourceSplit(unsigned int nbGroups, input_ : Optional[cudaDevResource], unsigned int flags, groupParams : Optional[cudaDevSmResourceGroupParams]):
def cudaDevSmResourceSplit(unsigned int nbGroups, input_ : Optional[cudaDevResource], unsigned int flags, groupParams : Optional[tuple[cudaDevSmResourceGroupParams] | list[cudaDevSmResourceGroupParams]]):
""" Splits a `cudaDevResourceTypeSm` resource into structured groups.

This API will split a resource of :py:obj:`~.cudaDevResourceTypeSm`
Expand Down Expand Up @@ -39604,7 +39604,7 @@ def cudaDevSmResourceSplit(unsigned int nbGroups, input_ : Optional[cudaDevResou
flags : unsigned int
Flags specifying how the API should behave. The value should be 0
for now.
groupParams : :py:obj:`~.cudaDevSmResourceGroupParams`
groupParams : list[:py:obj:`~.cudaDevSmResourceGroupParams`]
Description of how the SMs should be split and assigned to the
corresponding result entry.

Expand All @@ -39623,6 +39623,9 @@ def cudaDevSmResourceSplit(unsigned int nbGroups, input_ : Optional[cudaDevResou
--------
:py:obj:`~.cuDevSmResourceSplit`, :py:obj:`~.cudaDeviceGetDevResource`, :py:obj:`~.cudaExecutionCtxGetDevResource`, :py:obj:`~.cudaDevResourceGenerateDesc`
"""
groupParams = [] if groupParams is None else groupParams
if not all(isinstance(_x, (cudaDevSmResourceGroupParams,)) for _x in groupParams):
raise TypeError("Argument 'groupParams' is not instance of type (expected tuple[cyruntime.cudaDevSmResourceGroupParams,] or list[cyruntime.cudaDevSmResourceGroupParams,]")
cdef cyruntime.cudaDevResource* cyresult = NULL
pyresult = [cudaDevResource() for idx in range(nbGroups)]
if nbGroups != 0:
Expand All @@ -39631,14 +39634,24 @@ def cudaDevSmResourceSplit(unsigned int nbGroups, input_ : Optional[cudaDevResou
raise MemoryError('Failed to allocate length x size memory: ' + str(nbGroups) + 'x' + str(sizeof(cyruntime.cudaDevResource)))
cdef cyruntime.cudaDevResource* cyinput__ptr = input_._pvt_ptr if input_ is not None else NULL
cdef cudaDevResource remainder = cudaDevResource()
cdef cyruntime.cudaDevSmResourceGroupParams* cygroupParams_ptr = groupParams._pvt_ptr if groupParams is not None else NULL
with nogil:
err = cyruntime.cudaDevSmResourceSplit(cyresult, nbGroups, cyinput__ptr, <cyruntime.cudaDevResource*>remainder._pvt_ptr, flags, cygroupParams_ptr)
cdef cyruntime.cudaDevSmResourceGroupParams* cygroupParams = NULL
if len(groupParams) > 1:
cygroupParams = <cyruntime.cudaDevSmResourceGroupParams*> calloc(len(groupParams), sizeof(cyruntime.cudaDevSmResourceGroupParams))
if cygroupParams is NULL:
raise MemoryError('Failed to allocate length x size memory: ' + str(len(groupParams)) + 'x' + str(sizeof(cyruntime.cudaDevSmResourceGroupParams)))
for idx in range(len(groupParams)):
string.memcpy(&cygroupParams[idx], (<cudaDevSmResourceGroupParams>groupParams[idx])._pvt_ptr, sizeof(cyruntime.cudaDevSmResourceGroupParams))
elif len(groupParams) == 1:
cygroupParams = (<cudaDevSmResourceGroupParams>groupParams[0])._pvt_ptr
with nogil:
err = cyruntime.cudaDevSmResourceSplit(cyresult, nbGroups, cyinput__ptr, <cyruntime.cudaDevResource*>remainder._pvt_ptr, flags, cygroupParams)
if cudaError_t(err) == cudaError_t(0):
for idx in range(nbGroups):
string.memcpy((<cudaDevResource>pyresult[idx])._pvt_ptr, &cyresult[idx], sizeof(cyruntime.cudaDevResource))
if cyresult is not NULL:
free(cyresult)
if len(groupParams) > 1 and cygroupParams is not NULL:
free(cygroupParams)
if err != cyruntime.cudaSuccess:
return (_cudaError_t(err), None, None)
return (_cudaError_t_SUCCESS, pyresult, remainder)
Expand Down
Loading
Loading