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/om/no-posix/gen/aarch64linux/omega_api_decl.h # 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 / om / no-posix / gen / aarch64linux / omega_api_decl.h` 73 lines · 4802 bytes Raw Blame History 1 /* Generated by omega-bridge src/native.om: the C API of the ABI v2 units in libomega_native 2 * (docs/NATIVE-ABI.md, ABI v2), declarations only (output apih). The definitions are the generated C 3 * file of output apic: each calls omega2_ and calls abort() on a nonzero status. Including this 4 * header references no C library function. Regenerate it; do not edit it. */ 5 #ifndef OMEGA_API_DECL_H 6 #define OMEGA_API_DECL_H 7 #include 8 #include 9 #include "omega_native.h" 10 #ifdef __cplusplus 11 #define OMBR_ASSERT static_assert 12 extern "C" { 13 #else 14 #define OMBR_ASSERT _Static_assert 15 #endif 16 /* fn bw_enc_sm121 ins view ulong 8192 phys view ulong 288 n ulong pad ulong code edit uchar 16384 to ulong */ 17 uint64_t bw_enc_sm121(const uint64_t o_ins[8192], const uint64_t o_phys[288], uint64_t o_n, uint64_t o_pad, uint8_t o_code[16384]); 18 /* fn cubin_elf m view ulong 104 nm view uchar 64 tx view uchar `16777216` o edit ulong `16777216` to ulong */ 19 uint64_t cubin_elf(const uint64_t o_m[104], const uint8_t o_nm[64], const uint8_t o_tx[`16777216`], uint64_t o_o[`16777216`]); 20 /* fn no_bf16 raw ulong to ulong */ 21 uint64_t no_bf16(uint64_t o_raw); 22 /* fn bw_qmd op ulong m view ulong 16 q edit ulong 224 to ulong */ 23 uint64_t bw_qmd(uint64_t o_op, const uint64_t o_m[16], uint64_t o_q[224]); 24 /* fn amp_qmd op ulong a view ulong 16 q edit uchar 256 to ulong */ 25 uint64_t amp_qmd(uint64_t o_op, const uint64_t o_a[16], uint8_t o_q[256]); 26 /* fn decide op ulong a view ulong 16 o edit ulong 4 to ulong */ 27 uint64_t decide(uint64_t o_op, const uint64_t o_a[16], uint64_t o_o[4]); 28 /* fn emit op ulong a view ulong 16 o edit ulong 32 to ulong */ 29 uint64_t emit(uint64_t o_op, const uint64_t o_a[16], uint64_t o_o[32]); 30 /* fn scan idx view ulong 512 gen view ulong 512 want ulong wgen ulong to ulong */ 31 uint64_t scan(const uint64_t o_idx[512], const uint64_t o_gen[512], uint64_t o_want, uint64_t o_wgen); 32 /* fn book op ulong a view ulong 16 o edit ulong 4 to ulong */ 33 uint64_t book(uint64_t o_op, const uint64_t o_a[16], uint64_t o_o[4]); 34 /* fn streams_words op ulong a view ulong 16 o edit ulong 32 to ulong */ 35 uint64_t streams_words(uint64_t o_op, const uint64_t o_a[16], uint64_t o_o[32]); 36 /* fn no_avbf md ulong raw ulong to ulong */ 37 uint64_t no_avbf(uint64_t o_md, uint64_t o_raw); 38 /* fn ra_run m edit ulong 4096 to long */ 39 int64_t ra_run(uint64_t o_m[4096]); 40 /* fn ra_ir kind ulong a long b long to long */ 41 int64_t ra_ir(uint64_t o_kind, int64_t o_a, int64_t o_b); 42 /* fn ra_live kind ulong a ulong b long c long d ulong e ulong to long */ 43 int64_t ra_live(uint64_t o_kind, uint64_t o_a, int64_t o_b, int64_t o_c, uint64_t o_d, uint64_t o_e); 44 /* fn cg_matmul kind ulong a ulong b ulong c ulong to ulong */ 45 uint64_t cg_matmul(uint64_t o_kind, uint64_t o_a, uint64_t o_b, uint64_t o_c); 46 /* fn cg_par grid ulong u ulong r ulong c ulong mutant long to ulong */ 47 uint64_t cg_par(uint64_t o_grid, uint64_t o_u, uint64_t o_r, uint64_t o_c, int64_t o_mutant); 48 /* fn cg_i32 kind ulong a ulong b ulong c ulong i edit ulong 8192 m edit ulong 512 to ulong */ 49 uint64_t cg_i32(uint64_t o_kind, uint64_t o_a, uint64_t o_b, uint64_t o_c, uint64_t o_i[8192], uint64_t o_m[512]); 50 /* fn cg_tens kind ulong a ulong b ulong c ulong i edit ulong 8192 m edit ulong 512 to ulong */ 51 uint64_t cg_tens(uint64_t o_kind, uint64_t o_a, uint64_t o_b, uint64_t o_c, uint64_t o_i[8192], uint64_t o_m[512]); 52 /* fn cg_loop kind ulong a ulong b ulong c ulong i edit ulong 8192 m edit ulong 512 to ulong */ 53 uint64_t cg_loop(uint64_t o_kind, uint64_t o_a, uint64_t o_b, uint64_t o_c, uint64_t o_i[8192], uint64_t o_m[512]); 54 /* fn cg_frag kind ulong a ulong b ulong c ulong i edit ulong 8192 m edit ulong 512 to ulong */ 55 uint64_t cg_frag(uint64_t o_kind, uint64_t o_a, uint64_t o_b, uint64_t o_c, uint64_t o_i[8192], uint64_t o_m[512]); 56 /* fn cg_block kind ulong a ulong b ulong c ulong i edit ulong 8192 m edit ulong 512 to ulong */ 57 uint64_t cg_block(uint64_t o_kind, uint64_t o_a, uint64_t o_b, uint64_t o_c, uint64_t o_i[8192], uint64_t o_m[512]); 58 /* fn cg_vec d edit uchar 512 to long */ 59 int64_t cg_vec(uint8_t o_d[512]); 60 /* fn cg_bind kind ulong a ulong b ulong w edit uchar 256 to long */ 61 int64_t cg_bind(uint64_t o_kind, uint64_t o_a, uint64_t o_b, uint8_t o_w[256]); 62 /* fn cg_pklen p edit ulong 12 to long */ 63 int64_t cg_pklen(uint64_t o_p[12]); 64 /* fn cg_pkh p view ulong 12 s view uchar * d edit ushort * to long */ 65 int64_t cg_pkh(const uint64_t o_p[12], const uint8_t *o_s, size_t o_s_len, uint16_t *o_d, size_t o_d_len); 66 /* fn sentin q view ulong 5 c edit uint * to ulong */ 67 uint64_t sentin(const uint64_t o_q[5], uint32_t *o_c, size_t o_c_len); 68 /* fn bw_id_native data view uchar 256 n ulong dst edit uchar 32 to long */ 69 int64_t bw_id_native(const uint8_t o_data[256], uint64_t o_n, uint8_t o_dst[32]); 70 #ifdef __cplusplus 71 } 72 #endif 73 #endif