mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2026-10-26 06:38:16 +08:00
Bug 5671906: Enable vulkan validaitonLayers for Vulkan samples with Debug build only
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
#include "helper_multiprocess.h"
|
||||
|
||||
// #define DEBUG
|
||||
#ifndef DEBUG
|
||||
#ifdef NDEBUG
|
||||
#define ENABLE_VALIDATION (false)
|
||||
#else
|
||||
#define ENABLE_VALIDATION (true)
|
||||
|
||||
Reference in New Issue
Block a user