Skip to content

Commit

Permalink
aarch
Browse files Browse the repository at this point in the history
  • Loading branch information
sfomel committed Dec 12, 2024
1 parent 7f2d3e7 commit 50cf869
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trip/iwave/base/lib/utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ static MPI_Comm m_rcm = 0;

void* usermalloc_(size_t size)
{
#ifdef defined(sun) || defined(__ARM_ARCH)
#if defined(sun) || defined(__ARM_ARCH)
return malloc(size);
#else
return _mm_malloc(size, 16);
Expand All @@ -47,7 +47,7 @@ void* usermalloc_(size_t size)

void userfree_(void *ptr)
{
#ifdef defined(sun) || defined(__ARM_ARCH)
#if defined(sun) || defined(__ARM_ARCH)
free(ptr);
#else
_mm_free(ptr);
Expand Down

0 comments on commit 50cf869

Please sign in to comment.