Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/CUDApp/blob/main/tests/omega_gpu_live_marker_fixture.c # 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 Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `CUDApp / tests / omega_gpu_live_marker_fixture.c` 12 lines · 634 bytes Raw Blame History 1 /* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */ 2 /* Host-test stub for links that use tests/fake_m16_native.c instead of nvrm/nvrm.c (which defines the real 3 * omega_gpu_live_marker). The fake maps memfd pages through libc mmap, so the platform binds those buffers itself and 4 * never reaches this lookup; a lookup that does reach it is refused. */ 5 #include "nvrm.h" 6 7 int omega_gpu_live_marker(const Nvrm *rm, const void *cpu, uint64_t *mapping, uint64_t *offset, 8 struct omega_native_context **ctx) { 9 (void)rm; (void)cpu; (void)mapping; (void)offset; 10 if (ctx) *ctx = 0; 11 return -1; 12 }