|
1 | 1 | # SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. |
2 | 2 | # SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE |
3 | 3 |
|
4 | | -# This code was automatically generated with version 13.2.0, generator version 8797618. Do not modify it directly. |
| 4 | +# This code was automatically generated with version 13.2.0, generator version 0.3.1.dev1422+gf4812259e.d20260318. Do not modify it directly. |
5 | 5 | from typing import Any, Optional |
6 | 6 | import cython |
7 | 7 | import ctypes |
@@ -1858,7 +1858,9 @@ class cudaLogLevel(_FastEnum): |
1858 | 1858 | {{if 'cudaDataType_t' in found_types}} |
1859 | 1859 |
|
1860 | 1860 | class cudaDataType(_FastEnum): |
1861 | | - """""" |
| 1861 | + """ |
| 1862 | + |
| 1863 | + """ |
1862 | 1864 | {{if 'CUDA_R_32F' in found_values}} |
1863 | 1865 | CUDA_R_32F = cyruntime.cudaDataType_t.CUDA_R_32F{{endif}} |
1864 | 1866 | {{if 'CUDA_R_64F' in found_values}} |
@@ -1934,43 +1936,98 @@ class cudaDataType(_FastEnum): |
1934 | 1936 | {{if 'cudaEmulationStrategy_t' in found_types}} |
1935 | 1937 |
|
1936 | 1938 | class cudaEmulationStrategy(_FastEnum): |
1937 | | - """""" |
| 1939 | + """ |
| 1940 | + Enum for specifying how to leverage floating-point emulation |
| 1941 | + algorithms |
| 1942 | + """ |
1938 | 1943 | {{if 'CUDA_EMULATION_STRATEGY_DEFAULT' in found_values}} |
1939 | | - CUDA_EMULATION_STRATEGY_DEFAULT = cyruntime.cudaEmulationStrategy_t.CUDA_EMULATION_STRATEGY_DEFAULT{{endif}} |
| 1944 | + |
| 1945 | + CUDA_EMULATION_STRATEGY_DEFAULT = ( |
| 1946 | + cyruntime.cudaEmulationStrategy_t.CUDA_EMULATION_STRATEGY_DEFAULT, |
| 1947 | + 'The default emulation strategy. For emulated computations, this is\n' |
| 1948 | + 'equivalent to CUDA_EMULATION_STRATEGY_PERFORMANT, unless a library\n' |
| 1949 | + 'dependent environment variable is set\n' |
| 1950 | + ){{endif}} |
1940 | 1951 | {{if 'CUDA_EMULATION_STRATEGY_PERFORMANT' in found_values}} |
1941 | | - CUDA_EMULATION_STRATEGY_PERFORMANT = cyruntime.cudaEmulationStrategy_t.CUDA_EMULATION_STRATEGY_PERFORMANT{{endif}} |
| 1952 | + |
| 1953 | + CUDA_EMULATION_STRATEGY_PERFORMANT = ( |
| 1954 | + cyruntime.cudaEmulationStrategy_t.CUDA_EMULATION_STRATEGY_PERFORMANT, |
| 1955 | + 'An emulation strategy which configures libraries to use emulation when it\n' |
| 1956 | + 'provides a performance benefit\n' |
| 1957 | + ){{endif}} |
1942 | 1958 | {{if 'CUDA_EMULATION_STRATEGY_EAGER' in found_values}} |
1943 | | - CUDA_EMULATION_STRATEGY_EAGER = cyruntime.cudaEmulationStrategy_t.CUDA_EMULATION_STRATEGY_EAGER{{endif}} |
| 1959 | + |
| 1960 | + CUDA_EMULATION_STRATEGY_EAGER = ( |
| 1961 | + cyruntime.cudaEmulationStrategy_t.CUDA_EMULATION_STRATEGY_EAGER, |
| 1962 | + 'An emulation strategy which configures libraries to use emulation whenever\n' |
| 1963 | + 'possible\n' |
| 1964 | + ){{endif}} |
1944 | 1965 |
|
1945 | 1966 | {{endif}} |
1946 | 1967 | {{if 'cudaEmulationMantissaControl_t' in found_types}} |
1947 | 1968 |
|
1948 | 1969 | class cudaEmulationMantissaControl(_FastEnum): |
1949 | | - """""" |
| 1970 | + """ |
| 1971 | + Enum to configure the mantissa related parameters for floating- |
| 1972 | + point emulation algorithms |
| 1973 | + """ |
1950 | 1974 | {{if 'CUDA_EMULATION_MANTISSA_CONTROL_DYNAMIC' in found_values}} |
1951 | | - CUDA_EMULATION_MANTISSA_CONTROL_DYNAMIC = cyruntime.cudaEmulationMantissaControl_t.CUDA_EMULATION_MANTISSA_CONTROL_DYNAMIC{{endif}} |
| 1975 | + |
| 1976 | + CUDA_EMULATION_MANTISSA_CONTROL_DYNAMIC = ( |
| 1977 | + cyruntime.cudaEmulationMantissaControl_t.CUDA_EMULATION_MANTISSA_CONTROL_DYNAMIC, |
| 1978 | + 'The number of retained mantissa bits are computed at runtime to ensure the\n' |
| 1979 | + 'same or better accuracy than the floating point representation being\n' |
| 1980 | + 'emulated\n' |
| 1981 | + ){{endif}} |
1952 | 1982 | {{if 'CUDA_EMULATION_MANTISSA_CONTROL_FIXED' in found_values}} |
1953 | | - CUDA_EMULATION_MANTISSA_CONTROL_FIXED = cyruntime.cudaEmulationMantissaControl_t.CUDA_EMULATION_MANTISSA_CONTROL_FIXED{{endif}} |
| 1983 | + |
| 1984 | + CUDA_EMULATION_MANTISSA_CONTROL_FIXED = ( |
| 1985 | + cyruntime.cudaEmulationMantissaControl_t.CUDA_EMULATION_MANTISSA_CONTROL_FIXED, |
| 1986 | + 'The number of retained mantissa bits are known at runtime\n' |
| 1987 | + ){{endif}} |
1954 | 1988 |
|
1955 | 1989 | {{endif}} |
1956 | 1990 | {{if 'cudaEmulationSpecialValuesSupport_t' in found_types}} |
1957 | 1991 |
|
1958 | 1992 | class cudaEmulationSpecialValuesSupport(_FastEnum): |
1959 | | - """""" |
| 1993 | + """ |
| 1994 | + Enum to configure how special floating-point values will be handled |
| 1995 | + by emulation algorithms |
| 1996 | + """ |
1960 | 1997 | {{if 'CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_NONE' in found_values}} |
1961 | | - CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_NONE = cyruntime.cudaEmulationSpecialValuesSupport_t.CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_NONE{{endif}} |
| 1998 | + |
| 1999 | + CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_NONE = ( |
| 2000 | + cyruntime.cudaEmulationSpecialValuesSupport_t.CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_NONE, |
| 2001 | + 'There are no requirements for emulation algorithms to support special\n' |
| 2002 | + 'values\n' |
| 2003 | + ){{endif}} |
1962 | 2004 | {{if 'CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_INFINITY' in found_values}} |
1963 | | - CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_INFINITY = cyruntime.cudaEmulationSpecialValuesSupport_t.CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_INFINITY{{endif}} |
| 2005 | + |
| 2006 | + CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_INFINITY = ( |
| 2007 | + cyruntime.cudaEmulationSpecialValuesSupport_t.CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_INFINITY, |
| 2008 | + 'Require emulation algorithms to handle signed infinity inputs and outputs\n' |
| 2009 | + ){{endif}} |
1964 | 2010 | {{if 'CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_NAN' in found_values}} |
1965 | | - CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_NAN = cyruntime.cudaEmulationSpecialValuesSupport_t.CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_NAN{{endif}} |
| 2011 | + |
| 2012 | + CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_NAN = ( |
| 2013 | + cyruntime.cudaEmulationSpecialValuesSupport_t.CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_NAN, |
| 2014 | + 'Require emulation algorithms to handle NaN inputs and outputs\n' |
| 2015 | + ){{endif}} |
1966 | 2016 | {{if 'CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_DEFAULT' in found_values}} |
1967 | | - CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_DEFAULT = cyruntime.cudaEmulationSpecialValuesSupport_t.CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_DEFAULT{{endif}} |
| 2017 | + |
| 2018 | + CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_DEFAULT = ( |
| 2019 | + cyruntime.cudaEmulationSpecialValuesSupport_t.CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_DEFAULT, |
| 2020 | + 'The default special value support mask which contains support for signed\n' |
| 2021 | + 'infinities and NaN values\n' |
| 2022 | + ){{endif}} |
1968 | 2023 |
|
1969 | 2024 | {{endif}} |
1970 | 2025 | {{if 'libraryPropertyType_t' in found_types}} |
1971 | 2026 |
|
1972 | 2027 | class libraryPropertyType(_FastEnum): |
1973 | | - """""" |
| 2028 | + """ |
| 2029 | + |
| 2030 | + """ |
1974 | 2031 | {{if 'MAJOR_VERSION' in found_values}} |
1975 | 2032 | MAJOR_VERSION = cyruntime.libraryPropertyType_t.MAJOR_VERSION{{endif}} |
1976 | 2033 | {{if 'MINOR_VERSION' in found_values}} |
@@ -6394,7 +6451,9 @@ class cudaTextureReadMode(_FastEnum): |
6394 | 6451 | {{if 'cudaRoundMode' in found_types}} |
6395 | 6452 |
|
6396 | 6453 | class cudaRoundMode(_FastEnum): |
6397 | | - """""" |
| 6454 | + """ |
| 6455 | + |
| 6456 | + """ |
6398 | 6457 | {{if 'cudaRoundNearest' in found_values}} |
6399 | 6458 | cudaRoundNearest = cyruntime.cudaRoundMode.cudaRoundNearest{{endif}} |
6400 | 6459 | {{if 'cudaRoundZero' in found_values}} |
|
0 commit comments