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 / src / cudapp_plat_effects.h
| 1 | /* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */ |
| 2 | /* Public declarations for the platform Omega units. The generated headers stay |
| 3 | * in om/platform-linux/gen so a wildcard src/cudapp_om_*.c cannot link two |
| 4 | * copies of omega_native_context_create. */ |
| 5 | #ifndef CUDAPP_PLAT_EFFECTS_PUBLIC_H |
| 6 | #define CUDAPP_PLAT_EFFECTS_PUBLIC_H |
| 7 | #include "../om/platform-linux/gen/plat_effects.h" |
| 8 | /* Marker poll. Same context type as the fence unit; the wait object defines |
| 9 | * these symbols. WolframLanguageEvaluator: {2^31, 2^32-1, 1000000/50000, |
| 10 | * 2000*(1000000/50000)} -> {2147483648, 4294967295, 20, 40000}. */ |
| 11 | uint32_t omega2_plat_wait_budget(uint64_t *result, uint64_t o_ms); |
| 12 | uint32_t omega2_ctx_plat_wait_ge(omega_native_context *context, uint64_t *result, |
| 13 | uint64_t o_handle, uint64_t o_off, uint64_t o_want, uint64_t o_polls); |
| 14 | #endif |