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 / 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
7int 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}