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/tests/dagsim/sha256_host.c # 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 / tests / dagsim / sha256_host.c` 19 lines · 752 bytes Raw Blame History 1 /* Link stub for the imported dagsim binary on hosts that are not AArch64. 2 * src/omega_om_units.c is AArch64 machine code. rx_costmodel.o references 3 * sha256_hash from serialize/digest only. The analytical dagsim tests do not 4 * call it. On AArch64 the Makefile links src/omega_om_units.c instead, and 5 * this file is not built. dagsim --model is NOT_RUN on this stub: a blob 6 * digest would abort rather than return a made-up hash. 7 */ 8 #if !defined(__aarch64__) 9 #include 10 #include 11 #include 12 #include 13 14 void sha256_hash(const uint8_t *d, size_t n, uint8_t out[32]) { 15 (void)d; (void)n; (void)out; 16 fprintf(stderr, "sha256_hash: host stub; dagsim --model is NOT_RUN off AArch64\n"); 17 abort(); 18 } 19 #endif