interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / evidence / IMADHI-RC-ORACLE-nvcc13.0-20261016 / k.cu

3 lines · 467 bytes Raw Blame History
1extern "C" __global__ void k_umulhi_plus_c(unsigned *o, unsigned a, unsigned b, unsigned c) { o[threadIdx.x] = __umulhi(a, b) + c; }
2extern "C" __global__ void k_wide_hi(unsigned *o, unsigned a, unsigned b, unsigned long long c64) { o[threadIdx.x] = (unsigned)(((unsigned long long)a * b + c64) >> 32); }
3extern "C" __global__ void k_wide_hi_c32(unsigned *o, unsigned a, unsigned b, unsigned c) { o[threadIdx.x] = (unsigned)(((unsigned long long)a * b + c) >> 32); }