Coverage for cuda / core / _launch_config.pxd: 100.00%
0 statements
« prev ^ index » next coverage.py v7.13.4, created at 2026-03-08 01:07 +0000
« prev ^ index » next coverage.py v7.13.4, created at 2026-03-08 01:07 +0000
1# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2#
3# SPDX-License-Identifier: Apache-2.0
5from libcpp.vector cimport vector
7from cuda.bindings cimport cydriver
10cdef class LaunchConfig:
11 """Customizable launch options."""
12 cdef:
13 public tuple grid
14 public tuple cluster
15 public tuple block
16 public int shmem_size
17 public bint cooperative_launch
19 vector[cydriver.CUlaunchAttribute] _attrs
20 object __weakref__
22 cdef cydriver.CUlaunchConfig _to_native_launch_config(self)
25cpdef object _to_native_launch_config(LaunchConfig config)