stan-dev / stan

Stan development repository. The master branch contains the current release. The develop branch contains the latest stable development. See the Developer Process Wiki for details.
https://mc-stan.org
BSD 3-Clause "New" or "Revised" License
2.56k stars 366 forks source link

adds wrapper to hard copy write events for opencl copies #3217

Closed SteveBronder closed 11 months ago

SteveBronder commented 11 months ago

Submission Checklist

Summary

For https://github.com/stan-dev/math/pull/2905 I need to make a hard copy of the event vector for OpenCL before making a copy to go from a tbb concurrent vector to a standard vector.

Intended Effect

In the downstream PR above the stan tests should now pass

How to Verify

Side Effects

Documentation

Copyright and Licensing

Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company): Simons Foundation

By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses: