Skip to content

Unable to compile against CUDA 13 due to deprecated thrust::unary_function and thrust::binary_function #693

@otbrown

Description

@otbrown

Attempting to build QuEST against CUDA Toolkit 13 results in a string of errors of the form,

error: namespace "thrust" has no member class "unary_function"

and

error: namespace "thrust" has no member class "binary_function"

and they're not wrong -- they were removed in v3.0.0 of CCCL, in line with the removal of the standard library equivalents from C++17.

Having looked at the struct definitions they're very light, so although they're inherited from in a number of places in QuEST, I think stripping them out should be trivial and have no ill effects 👉🪵. I'll aim to get a PR up this week.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions