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 / seed / ng / front / runs / host-cpuset.om

12 lines · 280 bytes Raw Blame History
1note Host-only admission/error path; no GPU or device opened.
2text path "/dev/null"
3fn main to int
4a = new uchar 128 0
5b = new uchar 128 0
6note An empty affinity mask is refused by the kernel (-22) before any change.
7r = cpuset 0 a 0 8
8if not eq r neg long 22
9ret 1
10end
11ret 0
12end