Erk- / genfut

Generate bindings for Futhark
ISC License
37 stars 10 forks source link

No error-checking when creating context #18

Closed athas closed 4 years ago

athas commented 4 years ago

After creating a Futhark context with the C function futhark_context_new(), the caller must immediately call futhark_context_get_error() to determine whether initialisation succeeded. Only if futhark_context_get_error() returns NULL should the context be used.