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 / attn_host_fixture.c

8 lines · 391 bytes Raw Blame History
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
6uint64_t HOST(plan)(uint64_t q[32],uint32_t op){return ah_policy(q,op);}
7size_t HOST(check)(uint32_t op,const uint32_t*w,const uint32_t*x,size_t n){return ah_check(op,w,x,n);}
8uint64_t HOST(clock)(uint64_t s,uint64_t n){return ah_clock(s,n);}