boostorg / boostorg/compute

Consider making Boost.Compute non-header-only

Open
#359 4 comments 0 reactions 0 assignees View on GitHub
design
Dominant language
C++
Stars
1.7k
Forks
340
PR merge metrics
No merged PRs in 30d

Description

Consider making Boost.Compute non-header-only. This issue was raised a few times during the Boost formal review for Boost.Compute. There are a number of potential advantages including allowing the library to be thread-safe by default, reducing the amount of code in header files to improve compile times, and allowing the build system to convert `.cl` source files to strings in `.cpp` source files.

This would be a large and non-backwards-compatible change and should be discussed with the community. Downsides include making the library slightly more difficult to use as it would now require separate compilation and installation steps before use.
##

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.