You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Include a clear and concise description of what the problem is, including what
you expected to happen, and what actually happened.
When including flat_hash_set.h file in a cuda source file, the cuda compiler is throwing error absl/strings/internal/string_constant.h(43): error: expression must have a constant value
This is with cuda 11.6 (gcc compiler). The same is working fine with Cuda 11.4.1 (gcc compiler)
I'm not sure if this is nvcc bug or abseil bug.
Steps to reproduce the bug
The sample code is provided in the github repo. Github Repo
What version of Abseil are you using?
master: 5202173ca7671ebe241cb4d9447dc4b1f2d3ec10
What operating system and version are you using
5.4.0-96-generic #109 SMP Wed Jan 12 16:49:16 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
If you are using a Linux distribution please include the name and version of the
distribution as well. Ubuntu 20.04
What compiler and version are you using?
Please include the output of gcc -v or clang -v, or the equivalent for your
compiler.
Describe the bug
Include a clear and concise description of what the problem is, including what
you expected to happen, and what actually happened.
When including flat_hash_set.h file in a cuda source file, the cuda compiler is throwing error
absl/strings/internal/string_constant.h(43): error: expression must have a constant value
This is with
cuda 11.6
(gcc compiler). The same is working fine withCuda 11.4.1
(gcc compiler)I'm not sure if this is nvcc bug or abseil bug.
Steps to reproduce the bug
The sample code is provided in the github repo.
Github Repo
What version of Abseil are you using?
master:
5202173ca7671ebe241cb4d9447dc4b1f2d3ec10
What operating system and version are you using
5.4.0-96-generic #109 SMP Wed Jan 12 16:49:16 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
If you are using a Linux distribution please include the name and version of the
distribution as well.
Ubuntu 20.04
What compiler and version are you using?
Please include the output of
gcc -v
orclang -v
, or the equivalent for yourcompiler.
What build system are you using?
cmake version 3.21.1
Please include the output of
bazel --version
orcmake --version
, or theequivalent for your build system.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: