Skip to content

Commit

Permalink
Disable nvtt asserts.
Browse files Browse the repository at this point in the history
  • Loading branch information
bkaradzic committed Nov 7, 2023
1 parent dce2c35 commit 5d61905
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion 3rdparty/nvtt/nvcore/debug.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This code is in the public domain -- Ignacio Castaño <[email protected]>
// This code is in the public domain -- Ignacio Castaño <[email protected]>

#ifndef NV_CORE_DEBUG_H
#define NV_CORE_DEBUG_H
Expand All @@ -24,6 +24,7 @@

# define nvAssert(exp) nvNoAssert(exp)
# define nvCheck(exp) nvNoAssert(exp)
# define nvCheckMacro(exp) (exp)
# define nvDebugAssert(exp) nvNoAssert(exp)
# define nvDebugCheck(exp) nvNoAssert(exp)
# define nvDebugBreak() nvNoAssert(0)
Expand Down
2 changes: 1 addition & 1 deletion 3rdparty/nvtt/nvcore/nvcore.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#define NV_CORE_H

#define NVCORE_SHARED 0
#define NV_NO_ASSERT 0
#define NV_NO_ASSERT 1

// Function linkage
#if NVCORE_SHARED
Expand Down

0 comments on commit 5d61905

Please sign in to comment.