interplane.Get Omega
Read in your language

omega-bridge

Omega-first language interoperability: checked conversion backends and native language bindings

Brought by drakestapleton

branch main Branches Tags History

omega-bridge / tests / cabi / golden / nvmlErrorString.c

8 lines · 427 bytes Raw Blame History
1__attribute__((visibility("default"))) const char *nvmlErrorString(nvmlReturn_t result){
2 uint64_t o_f[3]={4},o_d=1;const char *o_r=o_fb27;
3 if(pthread_mutex_lock(&FxLock))return o_fb27;
4 o_f[2]=(uint64_t)(int64_t)(int32_t)result;
5 if(!omega_fx_err(&o_d,o_f,3,FxTexts,128,FxState,8)&&!o_d&&o_f[0]<4&&o_f[1]<32&&!FxTexts[o_f[0]*32+o_f[1]])o_r=(const char*)FxTexts+o_f[0]*32;
6 pthread_mutex_unlock(&FxLock);
7 return o_r;
8}