Skip to content

Consider making Boost.Compute non-header-only #359

Open
@kylelutz

Description

@kylelutz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions