Skip to content

Add more tests for exception-safety #371

Open
@kylelutz

Description

@kylelutz

Add more tests to ensure that Boost.Compute both correctly throws and recovers from exceptions.

For example, add a test to test_vector.cpp which sets up a small vector with some values, tries to resize it larger than the device supports, ensures an exception is thrown, then checks that the original values are still correctly in place.

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