Skip to content
#

cpp20

cpp logo

C++ is a popular and widely used mid-level language. It was designed as an extension of the C language.

Here are 622 public repositories matching this topic...

thrust
nvibd
nvibd commented Jul 8, 2021

We're seeing a lot of warnings on Linux, host compiler GCC 9.3.0 with -Wconversion.

For a basic example, compile:

#include <thrust/device_vector.h>
int main() {
  thrust::device_vector<int> a;
  return 0;
}

With: nvcc main.cu -Xcompiler=-Wconversion.

This will result in around 1000 lines of output warnings.
Tested with the Thrust versions in CUDA 11.0, 11.3, and the la

cub
zingdle
zingdle commented Jun 30, 2021

When compiling example/device/example_device_radix_sort.cu with

clang++-11 -DTHRUST_IGNORE_CUB_VERSION_CHECK -I../.. --cuda-gpu-arch=sm_61 -std=c++17 -x cuda -c example_device_radix_sort.cu

it errors:

clang: warning: Unknown CUDA version 11.0. Assuming the latest supported version 10.1 [-Wunknown-cuda-version]
In file included from example_device_radix_sort.cu:46:
In file inc

Created by Bjarne Stroustrup

Released October 1985

Website
isocpp.org
Wikipedia
Wikipedia