Skip to content

Commit c83ee83

Browse files
authored
kitpicks/cuda-r13-0/13.0.0/033: CUDA_HOME=/usr/local/cuda python cython_gen.py --target-lib driver runtime nvrtc --out ../unreleased-13.0 (NVIDIA#107)
1 parent 333f4ad commit c83ee83

7 files changed

Lines changed: 45 additions & 131 deletions

File tree

‎cuda_bindings/cuda/bindings/cydriver.pxd.in‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -746,20 +746,17 @@ cdef extern from "cuda.h":
746746
CU_TARGET_COMPUTE_89 = 89
747747
CU_TARGET_COMPUTE_90 = 90
748748
CU_TARGET_COMPUTE_100 = 100
749-
CU_TARGET_COMPUTE_101 = 101
750749
CU_TARGET_COMPUTE_103 = 103
751750
CU_TARGET_COMPUTE_110 = 110
752751
CU_TARGET_COMPUTE_120 = 120
753752
CU_TARGET_COMPUTE_121 = 121
754753
CU_TARGET_COMPUTE_90A = 65626
755754
CU_TARGET_COMPUTE_100A = 65636
756-
CU_TARGET_COMPUTE_101A = 65637
757755
CU_TARGET_COMPUTE_103A = 65639
758756
CU_TARGET_COMPUTE_110A = 65646
759757
CU_TARGET_COMPUTE_120A = 65656
760758
CU_TARGET_COMPUTE_121A = 65657
761759
CU_TARGET_COMPUTE_100F = 131172
762-
CU_TARGET_COMPUTE_101F = 131173
763760
CU_TARGET_COMPUTE_103F = 131175
764761
CU_TARGET_COMPUTE_110F = 131182
765762
CU_TARGET_COMPUTE_120F = 131192
@@ -1262,7 +1259,6 @@ cdef extern from "cuda.h":
12621259
CUDA_ERROR_UNSUPPORTED_EXEC_AFFINITY = 224
12631260
CUDA_ERROR_UNSUPPORTED_DEVSIDE_SYNC = 225
12641261
CUDA_ERROR_CONTAINED = 226
1265-
CUDA_ERROR_NVLINK_ENCRYPTION_FAILED = 227
12661262
CUDA_ERROR_INVALID_SOURCE = 300
12671263
CUDA_ERROR_FILE_NOT_FOUND = 301
12681264
CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND = 302

‎cuda_bindings/cuda/bindings/cyruntime_types.pxi.in‎

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ cdef extern from "driver_types.h":
8686
cudaErrorUnsupportedExecAffinity = 224
8787
cudaErrorUnsupportedDevSideSync = 225
8888
cudaErrorContained = 226
89-
cudaErrorNvlinkEncryptionFailed = 227
9089
cudaErrorInvalidSource = 300
9190
cudaErrorFileNotFound = 301
9291
cudaErrorSharedObjectSymbolNotFound = 302
@@ -1592,20 +1591,6 @@ cdef extern from "library_types.h":
15921591

15931592
ctypedef cudaEmulationStrategy_t cudaEmulationStrategy
15941593

1595-
cdef enum cudaEmulationMantissaControl_t:
1596-
CUDA_EMULATION_MANTISSA_CONTROL_DYNAMIC = 0
1597-
CUDA_EMULATION_MANTISSA_CONTROL_FIXED = 1
1598-
1599-
ctypedef cudaEmulationMantissaControl_t cudaEmulationMantissaControl
1600-
1601-
cdef enum cudaEmulationSpecialValuesSupport_t:
1602-
CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_NONE = 0
1603-
CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_INFINITY = 1
1604-
CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_NAN = 2
1605-
CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_DEFAULT = 65535
1606-
1607-
ctypedef cudaEmulationSpecialValuesSupport_t cudaEmulationSpecialValuesSupport
1608-
16091594
cdef enum libraryPropertyType_t:
16101595
MAJOR_VERSION = 0
16111596
MINOR_VERSION = 1

‎cuda_bindings/cuda/bindings/driver.pyx.in‎

Lines changed: 41 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -2517,10 +2517,6 @@ class CUjit_target(IntEnum):
25172517

25182518
#: Compute device class 10.0.
25192519
CU_TARGET_COMPUTE_100 = cydriver.CUjit_target_enum.CU_TARGET_COMPUTE_100{{endif}}
2520-
{{if 'CU_TARGET_COMPUTE_101' in found_values}}
2521-
2522-
#: Compute device class 10.1.
2523-
CU_TARGET_COMPUTE_101 = cydriver.CUjit_target_enum.CU_TARGET_COMPUTE_101{{endif}}
25242520
{{if 'CU_TARGET_COMPUTE_103' in found_values}}
25252521

25262522
#: Compute device class 10.3.
@@ -2544,12 +2540,8 @@ class CUjit_target(IntEnum):
25442540
CU_TARGET_COMPUTE_90A = cydriver.CUjit_target_enum.CU_TARGET_COMPUTE_90A{{endif}}
25452541
{{if 'CU_TARGET_COMPUTE_100A' in found_values}}
25462542

2547-
#: Compute device class 10.1 with accelerated features.
2548-
CU_TARGET_COMPUTE_100A = cydriver.CUjit_target_enum.CU_TARGET_COMPUTE_100A{{endif}}
2549-
{{if 'CU_TARGET_COMPUTE_101A' in found_values}}
2550-
25512543
#: Compute device class 11.0 with accelerated features.
2552-
CU_TARGET_COMPUTE_101A = cydriver.CUjit_target_enum.CU_TARGET_COMPUTE_101A{{endif}}
2544+
CU_TARGET_COMPUTE_100A = cydriver.CUjit_target_enum.CU_TARGET_COMPUTE_100A{{endif}}
25532545
{{if 'CU_TARGET_COMPUTE_103A' in found_values}}
25542546

25552547
#: Compute device class 12.0. with accelerated features.
@@ -2568,12 +2560,8 @@ class CUjit_target(IntEnum):
25682560
CU_TARGET_COMPUTE_121A = cydriver.CUjit_target_enum.CU_TARGET_COMPUTE_121A{{endif}}
25692561
{{if 'CU_TARGET_COMPUTE_100F' in found_values}}
25702562

2571-
#: Compute device class 10.1 with family features.
2572-
CU_TARGET_COMPUTE_100F = cydriver.CUjit_target_enum.CU_TARGET_COMPUTE_100F{{endif}}
2573-
{{if 'CU_TARGET_COMPUTE_101F' in found_values}}
2574-
25752563
#: Compute device class 11.0 with family features.
2576-
CU_TARGET_COMPUTE_101F = cydriver.CUjit_target_enum.CU_TARGET_COMPUTE_101F{{endif}}
2564+
CU_TARGET_COMPUTE_100F = cydriver.CUjit_target_enum.CU_TARGET_COMPUTE_100F{{endif}}
25772565
{{if 'CU_TARGET_COMPUTE_103F' in found_values}}
25782566

25792567
#: Compute device class 12.0. with family features.
@@ -3665,11 +3653,6 @@ class CUresult(IntEnum):
36653653
#: same error. To continue using CUDA, the process must be terminated
36663654
#: and relaunched.
36673655
CUDA_ERROR_CONTAINED = cydriver.cudaError_enum.CUDA_ERROR_CONTAINED{{endif}}
3668-
{{if 'CUDA_ERROR_NVLINK_ENCRYPTION_FAILED' in found_values}}
3669-
3670-
#: This indicates that an NVLink encryption error was detected during
3671-
#: the execution.
3672-
CUDA_ERROR_NVLINK_ENCRYPTION_FAILED = cydriver.cudaError_enum.CUDA_ERROR_NVLINK_ENCRYPTION_FAILED{{endif}}
36733656
{{if 'CUDA_ERROR_INVALID_SOURCE' in found_values}}
36743657

36753658
#: This indicates that the device kernel source is invalid. This
@@ -33717,7 +33700,7 @@ def cuMemGetDefaultMemPool(location : Optional[CUmemLocation], typename not None
3371733700

3371833701
@cython.embedsignature(True)
3371933702
def cuMemGetMemPool(location : Optional[CUmemLocation], typename not None : CUmemAllocationType):
33720-
""" Sets the current memory pool for a memory location and allocation type.
33703+
""" Gets the current memory pool for a memory location and of a particular allocation type.
3372133704

3372233705
The memory location can be of one of
3372333706
:py:obj:`~.CU_MEM_LOCATION_TYPE_DEVICE`,
@@ -33728,19 +33711,15 @@ def cuMemGetMemPool(location : Optional[CUmemLocation], typename not None : CUme
3372833711
:py:obj:`~.CU_MEM_ALLOCATION_TYPE_MANAGED`, the location type can also
3372933712
be :py:obj:`~.CU_MEM_LOCATION_TYPE_NONE` to indicate no preferred
3373033713
location for the managed memory pool. In all other cases, the call
33731-
returns :py:obj:`~.CUDA_ERROR_INVALID_VALUE`.
33714+
returns :py:obj:`~.CUDA_ERROR_INVALID_VALUE`
3373233715

33733-
When a memory pool is set as the current memory pool, the location
33734-
parameter should be the same as the location of the pool. The location
33735-
and allocation type specified must match those of the pool otherwise
33736-
:py:obj:`~.CUDA_ERROR_INVALID_VALUE` is returned. By default, a memory
33737-
location's current memory pool is its default memory pool that can be
33738-
obtained via :py:obj:`~.cuMemGetDefaultMemPool`. If the location type
33739-
is :py:obj:`~.CU_MEM_LOCATION_TYPE_DEVICE` and the allocation type is
33740-
:py:obj:`~.CU_MEM_ALLOCATION_TYPE_PINNED`, then this API is the
33741-
equivalent of calling :py:obj:`~.cuDeviceSetMemPool` with the location
33742-
id as the device. For further details on the implications, please refer
33743-
to the documentation for :py:obj:`~.cuDeviceSetMemPool`.
33716+
Returns the last pool provided to :py:obj:`~.cuMemSetMemPool` or
33717+
:py:obj:`~.cuDeviceSetMemPool` for this location and allocation type or
33718+
the location's default memory pool if :py:obj:`~.cuMemSetMemPool` or
33719+
:py:obj:`~.cuDeviceSetMemPool` for that allocType and location has
33720+
never been called. By default the current mempool of a location is the
33721+
default mempool for a device. Otherwise the returned pool must have
33722+
been set with :py:obj:`~.cuDeviceSetMemPool`.
3374433723

3374533724
Parameters
3374633725
----------
@@ -33758,11 +33737,7 @@ def cuMemGetMemPool(location : Optional[CUmemLocation], typename not None : CUme
3375833737

3375933738
See Also
3376033739
--------
33761-
:py:obj:`~.cuDeviceGetDefaultMemPool`, :py:obj:`~.cuDeviceGetMemPool`, :py:obj:`~.cuMemGetMemPool`, :py:obj:`~.cuMemPoolCreate`, :py:obj:`~.cuMemPoolDestroy`, :py:obj:`~.cuMemAllocFromPoolAsync`
33762-
33763-
Notes
33764-
-----
33765-
Use :py:obj:`~.cuMemAllocFromPoolAsync` to specify asynchronous allocations from a device different than the one the stream runs on.
33740+
:py:obj:`~.cuDeviceGetDefaultMemPool`, :py:obj:`~.cuMemPoolCreate`, :py:obj:`~.cuDeviceSetMemPool`, :py:obj:`~.cuMemSetMemPool`
3376633741
"""
3376733742
cdef CUmemoryPool pool = CUmemoryPool()
3376833743
cdef cydriver.CUmemLocation* cylocation_ptr = location._pvt_ptr if location != None else NULL
@@ -33777,7 +33752,7 @@ def cuMemGetMemPool(location : Optional[CUmemLocation], typename not None : CUme
3377733752

3377833753
@cython.embedsignature(True)
3377933754
def cuMemSetMemPool(location : Optional[CUmemLocation], typename not None : CUmemAllocationType, pool):
33780-
""" Gets the current memory pool for a memory location and of a particular allocation type.
33755+
""" Sets the current memory pool for a memory location and allocation type.
3378133756

3378233757
The memory location can be of one of
3378333758
:py:obj:`~.CU_MEM_LOCATION_TYPE_DEVICE`,
@@ -33788,15 +33763,19 @@ def cuMemSetMemPool(location : Optional[CUmemLocation], typename not None : CUme
3378833763
:py:obj:`~.CU_MEM_ALLOCATION_TYPE_MANAGED`, the location type can also
3378933764
be :py:obj:`~.CU_MEM_LOCATION_TYPE_NONE` to indicate no preferred
3379033765
location for the managed memory pool. In all other cases, the call
33791-
returns :py:obj:`~.CUDA_ERROR_INVALID_VALUE`
33766+
returns :py:obj:`~.CUDA_ERROR_INVALID_VALUE`.
3379233767

33793-
Returns the last pool provided to :py:obj:`~.cuMemSetMemPool` or
33794-
:py:obj:`~.cuDeviceSetMemPool` for this location and allocation type or
33795-
the location's default memory pool if :py:obj:`~.cuMemSetMemPool` or
33796-
:py:obj:`~.cuDeviceSetMemPool` for that allocType and location has
33797-
never been called. By default the current mempool of a location is the
33798-
default mempool for a device. Otherwise the returned pool must have
33799-
been set with :py:obj:`~.cuDeviceSetMemPool`.
33768+
When a memory pool is set as the current memory pool, the location
33769+
parameter should be the same as the location of the pool. The location
33770+
and allocation type specified must match those of the pool otherwise
33771+
:py:obj:`~.CUDA_ERROR_INVALID_VALUE` is returned. By default, a memory
33772+
location's current memory pool is its default memory pool that can be
33773+
obtained via :py:obj:`~.cuMemGetDefaultMemPool`. If the location type
33774+
is :py:obj:`~.CU_MEM_LOCATION_TYPE_DEVICE` and the allocation type is
33775+
:py:obj:`~.CU_MEM_ALLOCATION_TYPE_PINNED`, then this API is the
33776+
equivalent of calling :py:obj:`~.cuDeviceSetMemPool` with the location
33777+
id as the device. For further details on the implications, please refer
33778+
to the documentation for :py:obj:`~.cuDeviceSetMemPool`.
3380033779

3380133780
Parameters
3380233781
----------
@@ -33814,7 +33793,11 @@ def cuMemSetMemPool(location : Optional[CUmemLocation], typename not None : CUme
3381433793

3381533794
See Also
3381633795
--------
33817-
:py:obj:`~.cuDeviceGetDefaultMemPool`, :py:obj:`~.cuMemPoolCreate`, :py:obj:`~.cuDeviceSetMemPool`, :py:obj:`~.cuMemSetMemPool`
33796+
:py:obj:`~.cuDeviceGetDefaultMemPool`, :py:obj:`~.cuDeviceGetMemPool`, :py:obj:`~.cuMemGetMemPool`, :py:obj:`~.cuMemPoolCreate`, :py:obj:`~.cuMemPoolDestroy`, :py:obj:`~.cuMemAllocFromPoolAsync`
33797+
33798+
Notes
33799+
-----
33800+
Use :py:obj:`~.cuMemAllocFromPoolAsync` to specify asynchronous allocations from a device different than the one the stream runs on.
3381833801
"""
3381933802
cdef cydriver.CUmemoryPool cypool
3382033803
if pool is None:
@@ -49468,7 +49451,9 @@ def cuGetProcAddress(char* symbol, int cudaVersion, flags):
4946849451
11.2 should be specified as 11020. For a requested driver symbol, if
4946949452
the specified CUDA version is greater than or equal to the CUDA version
4947049453
in which the driver symbol was introduced, this API will return the
49471-
function pointer to the corresponding versioned function.
49454+
function pointer to the corresponding versioned function. If the
49455+
specified CUDA version is greater than the driver version, the API will
49456+
return :py:obj:`~.CUDA_ERROR_INVALID_VALUE`.
4947249457

4947349458
The pointer returned by the API should be cast to a function pointer
4947449459
matching the requested driver function's definition in the API header
@@ -50147,7 +50132,14 @@ def cuGreenCtxDestroy(hCtx):
5014750132
Destroys the green context, releasing the primary context of the device
5014850133
that this green context was created for. Any resources provisioned for
5014950134
this green context (that were initially available via the resource
50150-
descriptor) are released as well.
50135+
descriptor) are released as well. The API does not destroy streams
50136+
created via :py:obj:`~.cuGreenCtxStreamCreate`,
50137+
:py:obj:`~.cuStreamCreate`, or :py:obj:`~.cuStreamCreateWithPriority`.
50138+
Once the green context is destroyed, any subsequent API calls involving
50139+
these streams (including :py:obj:`~.cuStreamDestroy`) will return
50140+
:py:obj:`~.CUDA_ERROR_CONTEXT_IS_DESTROYED`. Users must explicitly
50141+
destroy all such streams before invoking :py:obj:`~.cuGreenCtxDestroy`.
50142+
Failure to do so will result in a memory leak.
5015150143

5015250144
Parameters
5015350145
----------

‎cuda_bindings/cuda/bindings/runtime.pyx.in‎

Lines changed: 3 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -771,11 +771,6 @@ class cudaError_t(IntEnum):
771771
#: same error. To continue using CUDA, the process must be terminated
772772
#: and relaunched.
773773
cudaErrorContained = cyruntime.cudaError.cudaErrorContained{{endif}}
774-
{{if 'cudaErrorNvlinkEncryptionFailed' in found_values}}
775-
776-
#: This indicates that an NVLink encryption error was detected during
777-
#: the execution.
778-
cudaErrorNvlinkEncryptionFailed = cyruntime.cudaError.cudaErrorNvlinkEncryptionFailed{{endif}}
779774
{{if 'cudaErrorInvalidSource' in found_values}}
780775

781776
#: This indicates that the device kernel source is invalid.
@@ -1579,32 +1574,6 @@ class cudaEmulationStrategy(IntEnum):
15791574

15801575
_dict_cudaEmulationStrategy = dict(((int(v), v) for k, v in cudaEmulationStrategy.__members__.items()))
15811576
{{endif}}
1582-
{{if 'cudaEmulationMantissaControl_t' in found_types}}
1583-
1584-
class cudaEmulationMantissaControl(IntEnum):
1585-
""""""
1586-
{{if 'CUDA_EMULATION_MANTISSA_CONTROL_DYNAMIC' in found_values}}
1587-
CUDA_EMULATION_MANTISSA_CONTROL_DYNAMIC = cyruntime.cudaEmulationMantissaControl_t.CUDA_EMULATION_MANTISSA_CONTROL_DYNAMIC{{endif}}
1588-
{{if 'CUDA_EMULATION_MANTISSA_CONTROL_FIXED' in found_values}}
1589-
CUDA_EMULATION_MANTISSA_CONTROL_FIXED = cyruntime.cudaEmulationMantissaControl_t.CUDA_EMULATION_MANTISSA_CONTROL_FIXED{{endif}}
1590-
1591-
_dict_cudaEmulationMantissaControl = dict(((int(v), v) for k, v in cudaEmulationMantissaControl.__members__.items()))
1592-
{{endif}}
1593-
{{if 'cudaEmulationSpecialValuesSupport_t' in found_types}}
1594-
1595-
class cudaEmulationSpecialValuesSupport(IntEnum):
1596-
""""""
1597-
{{if 'CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_NONE' in found_values}}
1598-
CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_NONE = cyruntime.cudaEmulationSpecialValuesSupport_t.CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_NONE{{endif}}
1599-
{{if 'CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_INFINITY' in found_values}}
1600-
CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_INFINITY = cyruntime.cudaEmulationSpecialValuesSupport_t.CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_INFINITY{{endif}}
1601-
{{if 'CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_NAN' in found_values}}
1602-
CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_NAN = cyruntime.cudaEmulationSpecialValuesSupport_t.CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_NAN{{endif}}
1603-
{{if 'CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_DEFAULT' in found_values}}
1604-
CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_DEFAULT = cyruntime.cudaEmulationSpecialValuesSupport_t.CUDA_EMULATION_SPECIAL_VALUES_SUPPORT_DEFAULT{{endif}}
1605-
1606-
_dict_cudaEmulationSpecialValuesSupport = dict(((int(v), v) for k, v in cudaEmulationSpecialValuesSupport.__members__.items()))
1607-
{{endif}}
16081577
{{if 'libraryPropertyType_t' in found_types}}
16091578

16101579
class libraryPropertyType(IntEnum):
@@ -35127,7 +35096,9 @@ def cudaGetDriverEntryPointByVersion(char* symbol, unsigned int cudaVersion, uns
3512735096
11.2 should be specified as 11020. For a requested driver symbol, if
3512835097
the specified CUDA version is greater than or equal to the CUDA version
3512935098
in which the driver symbol was introduced, this API will return the
35130-
function pointer to the corresponding versioned function.
35099+
function pointer to the corresponding versioned function. If the
35100+
specified CUDA version is greater than the driver version, the API will
35101+
return :py:obj:`~.cudaErrorInvalidValue`.
3513135102

3513235103
The pointer returned by the API should be cast to a function pointer
3513335104
matching the requested driver function's definition in the API header

‎cuda_bindings/docs/source/module/driver.rst‎

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2638,12 +2638,6 @@ Data types used by CUDA driver
26382638
Compute device class 10.0.
26392639

26402640

2641-
.. autoattribute:: cuda.bindings.driver.CUjit_target.CU_TARGET_COMPUTE_101
2642-
2643-
2644-
Compute device class 10.1.
2645-
2646-
26472641
.. autoattribute:: cuda.bindings.driver.CUjit_target.CU_TARGET_COMPUTE_110
26482642

26492643

@@ -2677,12 +2671,6 @@ Data types used by CUDA driver
26772671
.. autoattribute:: cuda.bindings.driver.CUjit_target.CU_TARGET_COMPUTE_100A
26782672

26792673

2680-
Compute device class 10.1 with accelerated features.
2681-
2682-
2683-
.. autoattribute:: cuda.bindings.driver.CUjit_target.CU_TARGET_COMPUTE_101A
2684-
2685-
26862674
Compute device class 11.0 with accelerated features.
26872675

26882676

@@ -2713,12 +2701,6 @@ Data types used by CUDA driver
27132701
.. autoattribute:: cuda.bindings.driver.CUjit_target.CU_TARGET_COMPUTE_100F
27142702

27152703

2716-
Compute device class 10.1 with family features.
2717-
2718-
2719-
.. autoattribute:: cuda.bindings.driver.CUjit_target.CU_TARGET_COMPUTE_101F
2720-
2721-
27222704
Compute device class 11.0 with family features.
27232705

27242706

@@ -3691,12 +3673,6 @@ Data types used by CUDA driver
36913673
This indicates that an exception occurred on the device that is now contained by the GPU's error containment capability. Common causes are - a. Certain types of invalid accesses of peer GPU memory over nvlink b. Certain classes of hardware errors This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
36923674

36933675

3694-
.. autoattribute:: cuda.bindings.driver.CUresult.CUDA_ERROR_NVLINK_ENCRYPTION_FAILED
3695-
3696-
3697-
This indicates that an NVLink encryption error was detected during the execution.
3698-
3699-
37003676
.. autoattribute:: cuda.bindings.driver.CUresult.CUDA_ERROR_INVALID_SOURCE
37013677

37023678

‎cuda_bindings/docs/source/module/nvrtc.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ NVRTC defines the following function related to PCH. Also see PCH related flags
111111
Supported Compile Options
112112
-------------------------
113113

114-
NVRTC supports the compile options below. Option names with two preceding dashs (``--``\ ) are long option names and option names with one preceding dash (``-``\ ) are short option names. Short option names can be used instead of long option names. When a compile option takes an argument, an assignment operator (``=``\ ) is used to separate the compile option argument from the compile option name, e.g., ``"--gpu-architecture=compute_60"``\ . Alternatively, the compile option name and the argument can be specified in separate strings without an assignment operator, .e.g, ``"--gpu-architecture"``\ ``"compute_60"``\ . Single-character short option names, such as ``-D``\ , ``-U``\ , and ``-I``\ , do not require an assignment operator, and the compile option name and the argument can be present in the same string with or without spaces between them. For instance, ``"-D=<def>"``\ , ``"-D<def>"``\ , and ``"-D <def>"``\ are all supported.
114+
NVRTC supports the compile options below. Option names with two preceding dashs (``--``\ ) are long option names and option names with one preceding dash (``-``\ ) are short option names. Short option names can be used instead of long option names. When a compile option takes an argument, an assignment operator (``=``\ ) is used to separate the compile option argument from the compile option name, e.g., ``"--gpu-architecture=compute_100"``\ . Alternatively, the compile option name and the argument can be specified in separate strings without an assignment operator, .e.g, ``"--gpu-architecture"``\ ``"compute_100"``\ . Single-character short option names, such as ``-D``\ , ``-U``\ , and ``-I``\ , do not require an assignment operator, and the compile option name and the argument can be present in the same string with or without spaces between them. For instance, ``"-D=<def>"``\ , ``"-D<def>"``\ , and ``"-D <def>"``\ are all supported.
115115

116116

117117

0 commit comments

Comments
 (0)