NVIDIA / NVIDIA/cccl

Texture iterators and other facilities using CUDA textures should fail to compile with NVC++

Open
#867 2 comments 0 reactions 0 assignees View on GitHub
cub
Dominant language
C++
Stars
2.5k
Forks
486
Avg merge
2d 6h
Merged PRs (30d)
295

Description

cub.test.iterator fails at runtime with NVC++. The failure occurs because of the use of texture iterators, which use CUDA textures, a feature that NVC++ does not support.

CUB texture iterator should fail to compile when using NVC++ and the tests for them should be disabled (not the entire iterator test, just the parts that use texture iterators).

```
Testing tex-ref iterator on type c
CUDA error 18 [/proj/cuda/thrust/main/dependencies/cub/cub/iterator/tex_ref_input_iterator.cuh, 111]: invalid texture reference
CUDA error 18 [/proj/cuda/thrust/main/dependencies/cub/test/test_iterator.cu, 555]: invalid texture reference
```

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.