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 / om_fixture_verify_calls.c
| 1 | /* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */ |
| 2 | #include "omega_blackwell_codegen.h" |
| 3 | #include <stdio.h> |
| 4 | int main(void) { |
| 5 | int (*f[])(void) = {omega_blackwell_verify_codegen_fixtures,omega_blackwell_verify_codegen_fixtures_fb1cut4,omega_blackwell_verify_codegen_fixtures_intops,omega_blackwell_verify_codegen_fixtures_fragmm,omega_blackwell_verify_codegen_fixtures_reconv,omega_blackwell_verify_codegen_fixtures_bfly_f2fp,omega_blackwell_verify_codegen_fixtures_atomf32}; |
| 6 | int bad=0; |
| 7 | for(unsigned i=0;i<sizeof f/sizeof f[0];++i) { int rc=f[i](); printf("fixture %u rc %d\n",i,rc); if(rc) bad=1; } |
| 8 | puts(bad ? "FAIL codegen fixture invocation" : "PASS seven codegen fixture entrypoints"); |
| 9 | return bad; |
| 10 | } |