Skip to content
Snippets Groups Projects
Commit ed19fa07 authored by Jakub Homola's avatar Jakub Homola
Browse files

better error message

parent 780b811c
No related branches found
No related tags found
No related merge requests found
#include <cstdio>
#include <algorithm>
#if defined(__CUDA_ARCH__) && __CUDA_ARCH__ < 600
#error "This code must be compiled with the -arch=native flag (or -arch=sm_80 for A100)!"
#endif
constexpr int TPB = 1024;
......
#include <cstdio>
#include <algorithm>
#if defined(__CUDA_ARCH__) && __CUDA_ARCH__ < 600
#error "This code must be compiled with the -arch=native flag (or -arch=sm_80 for A100)!"
#endif
constexpr int TPB = 1024;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment