Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/FBGEMM.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoung Jin Kim <youki@microsoft.com>2019-09-25 23:32:13 +0300
committerYoung Jin Kim <youki@microsoft.com>2019-09-25 23:32:13 +0300
commitabf37c64da887d1222e5ccd9b990674e5047b133 (patch)
treebadc2a88445af0b4801aae16d7276af5729da7aa
parent604620b78663d2bed318efba0ceb6d3ebadd14fb (diff)
fix linux build error
-rw-r--r--include/fbgemm/Utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fbgemm/Utils.h b/include/fbgemm/Utils.h
index 7cb86d4..3976790 100644
--- a/include/fbgemm/Utils.h
+++ b/include/fbgemm/Utils.h
@@ -16,7 +16,7 @@
# define ALIGNED_MALLOC(size, alignment) _aligned_malloc(size, alignment)
# define FREE(ptr) _aligned_free(ptr)
#else
-# define ALWAYS_INLINE ALWAYS_INLINE
+# define ALWAYS_INLINE __attribute__((always_inline))
# define ALIGNED_MALLOC(size, alignment) aligned_alloc(alignment, size)
# define FREE(ptr) free(ptr)
#endif