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 / attn_host_fixture.c
| 1 | /* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */ |
| 2 | #include "../src/omega_attn_host_policy.h" |
| 3 | #ifndef HOST |
| 4 | #define HOST(x) om_##x |
| 5 | #endif |
| 6 | uint64_t HOST(plan)(uint64_t q[32],uint32_t op){return ah_policy(q,op);} |
| 7 | size_t HOST(check)(uint32_t op,const uint32_t*w,const uint32_t*x,size_t n){return ah_check(op,w,x,n);} |
| 8 | uint64_t HOST(clock)(uint64_t s,uint64_t n){return ah_clock(s,n);} |