hightower8083 / synchrad

Synchrotron Radiation calculator via openCL
GNU General Public License v3.0
18 stars 11 forks source link

New way of creating OpenCL context #28

Open berceanu opened 10 months ago

berceanu commented 10 months ago

Since I was unable to run the code via MPI on my machine, I implemented a new, hopefully more robust way of creating the contextManager. I also fixed a bunch of warnings produced by using is instead of the == operator.

berceanu commented 10 months ago

@hightower8083 ready for review

berceanu commented 4 months ago

and for the automatic handling check how it works in multi-platform cases (nvidia/amd/apple/pocl) and in particlular with CPU devices. I'll give it some testing asap.

I tested the automatic context handling for the nvidia case and it seems to work fine. Unfortunately I don't have access to the other platforms (amd/apple), do you think you can test for those use cases?