// Copyright Advanced Micro Devices, Inc., or its affiliates. // SPDX-License-Identifier: MIT #pragma once #include #include #include #include /** * Parameterizes the current test with `GENERATE` and enters a `SECTION` for each GPU * target supported by rocRoller. * * Declares a `GPUArchitectureTarget` variable in the current scope named `varname`. */ #define SUPPORTED_ARCH_SECTION(varname) \ GPUArchitectureTarget varname_ = GENERATE( \ from_range(rocRoller::GPUArchitectureLibrary::getInstance()->getAllSupportedISAs())); \ GPUArchitectureTarget varname; \ varname = varname_; \ SECTION(varname_.toString())