diff --git a/catch/unit/atomics/bitwise_common.hh b/catch/unit/atomics/bitwise_common.hh index dfd9d96148..021bce3f9b 100644 --- a/catch/unit/atomics/bitwise_common.hh +++ b/catch/unit/atomics/bitwise_common.hh @@ -342,12 +342,13 @@ void SingleDeviceSingleKernelTest(const unsigned int width, const unsigned int p } } } - +#ifdef __linux__ SECTION("Shared memory") { params.blocks = dim3(1); params.alloc_type = LinearAllocs::hipMalloc; TestCore(params); } +#endif } template