/* * Copyright (c) Advanced Micro Devices, Inc., or its affiliates. * * SPDX-License-Identifier: MIT */ #define HIP_ENABLE_WARP_SYNC_BUILTINS #define HIP_ENABLE_EXTRA_WARP_SYNC_TYPES #include "warp_common.hh" #include #include #include #include #define NELEMS(array) (sizeof(array) / sizeof(array[0])) // compiles the program, reusing the same compiling session for all the types // (as opposed as calling the rtc compiler for each of the types) template