{"push_id":548836610,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"9aab6387980e3109cc1b99088199a0be25c2a826","before":"758ba4fe3f0bb4c1e507c61043382446051a8a13","commits":[{"sha":"9aab6387980e3109cc1b99088199a0be25c2a826","author":{"email":"cca661165d0c930254907cf2d77de7c644a6374f@fakenmc.com","name":"FakenMC"},"message":"Fix bug on systems w/ mult. devs/platforms w/ different OCL versions\n\nIf cf4ocl was compiled for OCL >= 1.2, and any of the platforms\navailable on the system was OCL <= 1.1, a seg. fault occurred\nwhen trying to release devices associated with the later, because\nthe platform doesn't support clReleaseDevice, which was introduced\nfor device fission purposes in OCL 1.2.\n\nNow the clReleaseDevice function is only used if the device OpenCL\nC version is >= 1.2. Technically, it should be the platform OpenCL\nversion to be checked, because its the platform that supplies the\nclReleaseDevice function, not the device itself. Checking the\nplatform version at this stage would involve instantiating a\nplatform wrapper object just for the purpose of getting the OpenCL\nversion, which seems a bit wasteful. This should be improved\nwhen possible.\n\nIn fixing this problem, a new ccl_device_get_opencl_c_version was\nadded to the library, which is probably useful for runtime\ngeneration of kernels.","distinct":true,"url":"https://api.github.com/repos/FakenMC/cf4ocl/commits/9aab6387980e3109cc1b99088199a0be25c2a826"}]}