Skip to content

Build fails with CUDA 13.2.0: Missing thrust::distance #235

@plexoos

Description

@plexoos

When building with CUDA 13.2.0, compilation fails due to missing members in the thrust namespace:

/workspaces/eic-opticks/sysrap/iexpand.h(92): error: namespace "thrust" has no member "distance"
    difference_type counts_size = thrust::distance(counts_first, counts_last);
                                            ^

/workspaces/eic-opticks/sysrap/iexpand.h(93): error: namespace "thrust" has no member "distance"
    difference_type output_size = thrust::distance(output_first, output_last);

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions