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
CUDApp / tests / nvml / transport.h
| 1 | /* ORACLE: foreign C caller of the generated ABI; not shipped */ |
| 2 | /* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */ |
| 3 | /* Control surface of the test transport (tests/nvml/transport.c). fake_get indexes the |
| 4 | * tests/nvml/rmfake.om state: 8 opens, 9 closes, 10 allocs, 11 frees, 12 controls, |
| 5 | * 13 violations, 14 open-fd mask, 15 live objects, 16 root handle. */ |
| 6 | #ifndef CUDAPP_NVML_TEST_TRANSPORT_H |
| 7 | #define CUDAPP_NVML_TEST_TRANSPORT_H |
| 8 | |
| 9 | #include <stdint.h> |
| 10 | |
| 11 | void fake_reset(int fault); |
| 12 | uint64_t fake_get(unsigned i); |
| 13 | uint64_t fake_trapped(void); |
| 14 | |
| 15 | #endif |