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_views_fixture.h
| 1 | /* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */ |
| 2 | #ifndef ATTN_VIEWS_FIXTURE_H |
| 3 | #define ATTN_VIEWS_FIXTURE_H |
| 4 | #include <stdint.h> |
| 5 | #define AV_N 1000003u |
| 6 | typedef struct { |
| 7 | uint32_t args[32],layout[32],ui[AV_N],compact[AV_N]; |
| 8 | uint8_t bytes[AV_N],gather[512],stage[512]; |
| 9 | float ff[AV_N],rope[1024],fold[32]; |
| 10 | uint64_t result[32]; |
| 11 | uint32_t table[32],touched[8],headmap[16],eff[8],range[16]; |
| 12 | int32_t slots[8]; |
| 13 | } AttnViewsFixture; |
| 14 | void attn_omega(AttnViewsFixture *r); |
| 15 | void attn_oracle(AttnViewsFixture *r); |
| 16 | #endif |