diff --git a/include/matx/core/cache.h b/include/matx/core/cache.h index 40f1aca42..795d441b3 100644 --- a/include/matx/core/cache.h +++ b/include/matx/core/cache.h @@ -46,9 +46,13 @@ namespace detail { using CacheId = uint64_t; +#ifndef DOXYGEN_ONLY +__attribute__ ((visibility ("default"))) +#endif inline cuda::std::atomic CacheIdCounter{0}; template +__attribute__ ((visibility ("default"))) CacheId GetCacheIdFromType() { static CacheId id = CacheIdCounter.fetch_add(1);