From 6ea2184e181de36461ed9f5a056a87f0ac949fb7 Mon Sep 17 00:00:00 2001 From: paboyle Date: Tue, 7 Feb 2017 01:17:16 -0500 Subject: [PATCH] OMP define change --- lib/AlignedAllocator.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/AlignedAllocator.cc b/lib/AlignedAllocator.cc index 9df4ec1c..f6d234d5 100644 --- a/lib/AlignedAllocator.cc +++ b/lib/AlignedAllocator.cc @@ -13,9 +13,10 @@ void *PointerCache::Insert(void *ptr,size_t bytes) { if (bytes < 4096 ) return NULL; -#ifdef _OPENMP +#ifdef GRID_OMP assert(omp_in_parallel()==0); #endif + void * ret = NULL; int v = -1;