mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-06 02:45:25 +03:00
extend valid_cuda_versions thru 800
This commit is contained in:
parent
937c57b835
commit
7c75da7088
1 changed files with 2 additions and 2 deletions
|
@ -43,8 +43,8 @@ DComputeCodeGenManager::createComputeTarget(const std::string &s) {
|
||||||
|
|
||||||
#if LDC_LLVM_SUPPORTED_TARGET_NVPTX
|
#if LDC_LLVM_SUPPORTED_TARGET_NVPTX
|
||||||
#define CUDA_VALID_VER_INIT 100, 110, 120, 130, 200, 210, 300, 350, 370,\
|
#define CUDA_VALID_VER_INIT 100, 110, 120, 130, 200, 210, 300, 350, 370,\
|
||||||
500, 520, 600, 610, 620
|
500, 520, 600, 610, 620, 700, 720, 750, 800
|
||||||
const std::array<int, 14> valid_cuda_versions = {{CUDA_VALID_VER_INIT}};
|
const std::array<int, 18> valid_cuda_versions = {{CUDA_VALID_VER_INIT}};
|
||||||
|
|
||||||
if (s.substr(0, 5) == "cuda-") {
|
if (s.substr(0, 5) == "cuda-") {
|
||||||
const int v = atoi(s.c_str() + 5);
|
const int v = atoi(s.c_str() + 5);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue