From e442d6d390d97e6b919dd42d8798492512fa0de0 Mon Sep 17 00:00:00 2001 From: Ignacio Date: Mon, 4 Sep 2017 12:34:00 -0700 Subject: [PATCH] Remove incorrect assert. Fixes issue #261. --- src/nvthread/Atomic.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/nvthread/Atomic.h b/src/nvthread/Atomic.h index 212b9cb..b8eaedb 100644 --- a/src/nvthread/Atomic.h +++ b/src/nvthread/Atomic.h @@ -183,7 +183,6 @@ namespace nv { #elif NV_CC_CLANG && (NV_OS_IOS || NV_OS_DARWIN) - NV_COMPILER_CHECK(sizeof(uint32) == sizeof(long)); //ACS: Use Apple's atomics instead? I don't know if these are better in any way; there are non-barrier versions too. There's no OSAtomicSwap32 tho' /* @@ -254,7 +253,6 @@ namespace nv { #elif NV_CC_CLANG && POSH_CPU_STRONGARM - NV_COMPILER_CHECK(sizeof(uint32) == sizeof(long)); inline uint32 atomicIncrement(uint32 * value) {