/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
HeterogeneousCore/CUDAUtilities/interface/cuda_assert.h
18 строк
368 B
Andrea Bocci
Import CUDA interaction layer from Patatrack, part 1
18 янв 2020, 01:00
18 янв 2020, 01:00
f143441
Код
Авторство
О чём код?
// The omission of #include guards is on purpose: it does make sense to #include // this file multiple times, setting a different value of GPU_DEBUG beforehand. #ifdef __CUDA_ARCH__ #ifndef GPU_DEBUG // disable asserts #ifndef NDEBUG #define NDEBUG #endif #else // enable asserts #ifdef NDEBUG #undef NDEBUG #endif #endif #endif // __CUDA_ARCH__ #include <cassert>