fff-rs / coaster

Extendable HPC-Framework for CUDA, OpenCL and common CPU
https://spearow.io/projects/coaster
Other
85 stars 7 forks source link

feat/opencl: implementation of get...info functions #7

Closed subversive-owl closed 7 years ago

subversive-owl commented 7 years ago

This is the first FFI code I've written in Rust--I'm not sure if it's correct.

If someone can check it and help me fix any errors, I can do the other info functions.

subversive-owl commented 7 years ago

The last commit doesn't build anymore--I couldn't figure out how to extract a struct from a cl::context_properties pointer, but the rest is sketched out.

drahnr commented 7 years ago

I will close this in favour of #9 which builds upon this, continue from there 👍