interplane.Get Omega
Read in your language

CUDApp

CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit.

Brought by drakestapleton

branch main Branches Tags History

CUDApp / third_party / nvidia-open-580.173.02 / src / common / sdk / nvidia / inc / class / cl0040.h

55 lines · 2390 bytes Raw Blame History
1/*
2 * SPDX-FileCopyrightText: Copyright (c) 2001-2001 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3 * SPDX-License-Identifier: MIT
4 *
5 * Permission is hereby granted, free of charge, to any person obtaining a
6 * copy of this software and associated documentation files (the "Software"),
7 * to deal in the Software without restriction, including without limitation
8 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9 * and/or sell copies of the Software, and to permit persons to whom the
10 * Software is furnished to do so, subject to the following conditions:
11 *
12 * The above copyright notice and this permission notice shall be included in
13 * all copies or substantial portions of the Software.
14 *
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21 * DEALINGS IN THE SOFTWARE.
22 */
23
24
25#ifndef _cl0040_h_
26#define _cl0040_h_
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
32#include "nvtypes.h"
33
34#define NV01_MEMORY_LOCAL_USER (0x00000040)
35/* NvNotification[] fields and values */
36#define NV040_NOTIFICATION_STATUS_ERROR_PROTECTION_FAULT (0x4000)
37/* pio method data structure */
38typedef volatile struct _cl0040_tag0 {
39 NvV32 Reserved00[0x7c0];
40} Nv040Typedef, Nv01MemoryLocalUser;
41#define NV040_TYPEDEF Nv01MemoryLocalUser
42/* obsolete stuff */
43#define NV01_MEMORY_USER (0x00000040)
44#define NV1_MEMORY_USER (0x00000040)
45#define Nv01MemoryUser Nv01MemoryLocalUser
46#define nv01MemoryUser Nv01MemoryLocalUser
47#define Nv1MemoryUser Nv01MemoryLocalUser
48#define nv1MemoryUser Nv01MemoryLocalUser
49#define nv01MemoryLocalUser Nv01MemoryLocalUser
50
51#ifdef __cplusplus
52}; /* extern "C" */
53#endif
54
55#endif /* _cl0040_h_ */