diff --git a/example/bufferCopy/src/bufferCopy.cpp b/example/bufferCopy/src/bufferCopy.cpp index 7c2f9e164d6a..91ccef012726 100644 --- a/example/bufferCopy/src/bufferCopy.cpp +++ b/example/bufferCopy/src/bufferCopy.cpp @@ -239,6 +239,8 @@ auto example(TAccTag const&) -> int auto main() -> int { + std::cout << "Check enabled accelerator tags:" << std::endl; + alpaka::printTagNames(); // Execute the example once for each enabled accelerator. // If you would like to execute it for a single accelerator only you can use the following code. // \code{.cpp} diff --git a/example/complex/src/complex.cpp b/example/complex/src/complex.cpp index d9da52a0718a..5e594474e148 100644 --- a/example/complex/src/complex.cpp +++ b/example/complex/src/complex.cpp @@ -80,6 +80,8 @@ auto example(TAccTag const&) -> int auto main() -> int { + std::cout << "Check enabled accelerator tags:" << std::endl; + alpaka::printTagNames(); // Execute the example once for each enabled accelerator. // If you would like to execute it for a single accelerator only you can use the following code. // \code{.cpp} diff --git a/example/conv2DWithMdspan/src/conv2DWithMdspan.cpp b/example/conv2DWithMdspan/src/conv2DWithMdspan.cpp index 698a8d12fa75..745cbb7568c1 100644 --- a/example/conv2DWithMdspan/src/conv2DWithMdspan.cpp +++ b/example/conv2DWithMdspan/src/conv2DWithMdspan.cpp @@ -230,6 +230,8 @@ auto example(TAccTag const&) -> int auto main() -> int { + std::cout << "Check enabled accelerator tags:" << std::endl; + alpaka::printTagNames(); // Execute the example once for each enabled accelerator. // If you would like to execute it for a single accelerator only you can use the following code. // \code{.cpp} diff --git a/example/convolution1D/src/convolution1D.cpp b/example/convolution1D/src/convolution1D.cpp index 1e3aec673af7..8a969b54aa35 100644 --- a/example/convolution1D/src/convolution1D.cpp +++ b/example/convolution1D/src/convolution1D.cpp @@ -190,6 +190,8 @@ auto example(TAccTag const&) -> int auto main() -> int { + std::cout << "Check enabled accelerator tags:" << std::endl; + alpaka::printTagNames(); // Execute the example once for each enabled accelerator. // If you would like to execute it for a single accelerator only you can use the following code. // \code{.cpp} diff --git a/example/convolution2D/src/convolution2D.cpp b/example/convolution2D/src/convolution2D.cpp index 87f618c7380e..6677ea004ee2 100644 --- a/example/convolution2D/src/convolution2D.cpp +++ b/example/convolution2D/src/convolution2D.cpp @@ -394,6 +394,8 @@ auto example(TAccTag const&) -> int auto main() -> int { + std::cout << "Check enabled accelerator tags:" << std::endl; + alpaka::printTagNames(); // Execute the example once for each enabled accelerator. // If you would like to execute it for a single accelerator only you can use the following code. // \code{.cpp} diff --git a/example/counterBasedRng/src/counterBasedRng.cpp b/example/counterBasedRng/src/counterBasedRng.cpp index d96ab2b775a2..d8b1c398e261 100644 --- a/example/counterBasedRng/src/counterBasedRng.cpp +++ b/example/counterBasedRng/src/counterBasedRng.cpp @@ -226,6 +226,8 @@ auto example(TAccTag const&) -> int auto main() -> int { + std::cout << "Check enabled accelerator tags:" << std::endl; + alpaka::printTagNames(); // Execute the example once for each enabled accelerator. // If you would like to execute it for a single accelerator only you can use the following code. // \code{.cpp} diff --git a/example/heatEquation/src/heatEquation.cpp b/example/heatEquation/src/heatEquation.cpp index a13b3f00bc26..878aecf28744 100644 --- a/example/heatEquation/src/heatEquation.cpp +++ b/example/heatEquation/src/heatEquation.cpp @@ -186,6 +186,8 @@ auto example(TAccTag const&) -> int auto main() -> int { + std::cout << "Check enabled accelerator tags:" << std::endl; + alpaka::printTagNames(); // Execute the example once for each enabled accelerator. // If you would like to execute it for a single accelerator only you can use the following code. // \code{.cpp} diff --git a/example/heatEquation2D/src/heatEquation2D.cpp b/example/heatEquation2D/src/heatEquation2D.cpp index 051ae43d0657..d3e40a55adb9 100644 --- a/example/heatEquation2D/src/heatEquation2D.cpp +++ b/example/heatEquation2D/src/heatEquation2D.cpp @@ -204,6 +204,8 @@ auto example(TAccTag const&) -> int auto main() -> int { + std::cout << "Check enabled accelerator tags:" << std::endl; + alpaka::printTagNames(); // Execute the example once for each enabled accelerator. // If you would like to execute it for a single accelerator only you can use the following code. // \code{.cpp} @@ -215,8 +217,5 @@ auto main() -> int // TagCpuSerial, TagGpuHipRt, TagGpuCudaRt, TagCpuOmp2Blocks, TagCpuTbbBlocks, // TagCpuOmp2Threads, TagCpuSycl, TagCpuTbbBlocks, TagCpuThreads, // TagFpgaSyclIntel, TagGenericSycl, TagGpuSyclIntel - - std::cout << "Check enabled accelerator tags:" << std::endl; - alpaka::printTagNames(); return alpaka::executeForEachAccTag([=](auto const& tag) { return example(tag); }); } diff --git a/example/helloWorld/src/helloWorld.cpp b/example/helloWorld/src/helloWorld.cpp index e18df95a5a90..71d66c5802d4 100644 --- a/example/helloWorld/src/helloWorld.cpp +++ b/example/helloWorld/src/helloWorld.cpp @@ -161,6 +161,8 @@ auto example(TAccTag const&) -> int auto main() -> int { + std::cout << "Check enabled accelerator tags:" << std::endl; + alpaka::printTagNames(); // Execute the example once for each enabled accelerator. // If you would like to execute it for a single accelerator only you can use the following code. // \code{.cpp} diff --git a/example/helloWorldLambda/src/helloWorldLambda.cpp b/example/helloWorldLambda/src/helloWorldLambda.cpp index 143b9e7c8cbc..b0f1ca14d850 100644 --- a/example/helloWorldLambda/src/helloWorldLambda.cpp +++ b/example/helloWorldLambda/src/helloWorldLambda.cpp @@ -134,6 +134,8 @@ auto example(TAccTag const&) -> int auto main() -> int { + std::cout << "Check enabled accelerator tags:" << std::endl; + alpaka::printTagNames(); // Execute the example once for each enabled accelerator. // If you would like to execute it for a single accelerator only you can use the following code. // \code{.cpp} diff --git a/example/kernelSpecialization/src/kernelSpecialization.cpp b/example/kernelSpecialization/src/kernelSpecialization.cpp index f33306ec5100..848ba867bb99 100644 --- a/example/kernelSpecialization/src/kernelSpecialization.cpp +++ b/example/kernelSpecialization/src/kernelSpecialization.cpp @@ -95,6 +95,8 @@ auto example(TAccTag const&) -> int auto main() -> int { + std::cout << "Check enabled accelerator tags:" << std::endl; + alpaka::printTagNames(); // Execute the example once for each enabled accelerator. // If you would like to execute it for a single accelerator only you can use the following code. // \code{.cpp} diff --git a/example/matrixMulWithMdspan/src/matrixMulMdSpan.cpp b/example/matrixMulWithMdspan/src/matrixMulMdSpan.cpp index e34dcb2d60fe..f28eac114723 100644 --- a/example/matrixMulWithMdspan/src/matrixMulMdSpan.cpp +++ b/example/matrixMulWithMdspan/src/matrixMulMdSpan.cpp @@ -192,6 +192,8 @@ auto example(TAccTag const&) -> int auto main() -> int { + std::cout << "Check enabled accelerator tags:" << std::endl; + alpaka::printTagNames(); // Execute the example once for each enabled accelerator. // If you would like to execute it for a single accelerator only you can use the following code. // \code{.cpp} diff --git a/example/monteCarloIntegration/src/monteCarloIntegration.cpp b/example/monteCarloIntegration/src/monteCarloIntegration.cpp index b26cd2af10fa..c6369735f1ee 100644 --- a/example/monteCarloIntegration/src/monteCarloIntegration.cpp +++ b/example/monteCarloIntegration/src/monteCarloIntegration.cpp @@ -139,6 +139,8 @@ auto example(TAccTag const&) -> int auto main() -> int { + std::cout << "Check enabled accelerator tags:" << std::endl; + alpaka::printTagNames(); // Execute the example once for each enabled accelerator. // If you would like to execute it for a single accelerator only you can use the following code. // \code{.cpp} diff --git a/example/parallelLoopPatterns/src/parallelLoopPatterns.cpp b/example/parallelLoopPatterns/src/parallelLoopPatterns.cpp index a7e05b362b98..4304a9d58a56 100644 --- a/example/parallelLoopPatterns/src/parallelLoopPatterns.cpp +++ b/example/parallelLoopPatterns/src/parallelLoopPatterns.cpp @@ -435,6 +435,8 @@ auto example(TAccTag const&) -> int auto main() -> int { + std::cout << "Check enabled accelerator tags:" << std::endl; + alpaka::printTagNames(); // Execute the example once for each enabled accelerator. // If you would like to execute it for a single accelerator only you can use the following code. // \code{.cpp} diff --git a/example/randomCells2D/src/randomCells2D.cpp b/example/randomCells2D/src/randomCells2D.cpp index 36bc1258d3b0..658d3b8a43b9 100644 --- a/example/randomCells2D/src/randomCells2D.cpp +++ b/example/randomCells2D/src/randomCells2D.cpp @@ -309,6 +309,8 @@ auto example(TAccTag const&) -> int auto main() -> int { + std::cout << "Check enabled accelerator tags:" << std::endl; + alpaka::printTagNames(); // Execute the example once for each enabled accelerator. // If you would like to execute it for a single accelerator only you can use the following code. // \code{.cpp} diff --git a/example/randomStrategies/src/randomStrategies.cpp b/example/randomStrategies/src/randomStrategies.cpp index 6a1940c8b244..588616b0abb9 100644 --- a/example/randomStrategies/src/randomStrategies.cpp +++ b/example/randomStrategies/src/randomStrategies.cpp @@ -340,6 +340,8 @@ auto example(TAccTag const&) -> int auto main() -> int { + std::cout << "Check enabled accelerator tags:" << std::endl; + alpaka::printTagNames(); // Execute the example once for each enabled accelerator. // If you would like to execute it for a single accelerator only you can use the following code. // \code{.cpp} diff --git a/example/tagSpecialization/src/tagSpecialization.cpp b/example/tagSpecialization/src/tagSpecialization.cpp index dac94bbaa32b..e353fe1cca5e 100644 --- a/example/tagSpecialization/src/tagSpecialization.cpp +++ b/example/tagSpecialization/src/tagSpecialization.cpp @@ -119,6 +119,8 @@ auto example(TAccTag const&) -> int auto main() -> int { + std::cout << "Check enabled accelerator tags:" << std::endl; + alpaka::printTagNames(); // Execute the example once for each enabled accelerator. // If you would like to execute it for a single accelerator only you can use the following code. // \code{.cpp} diff --git a/example/vectorAdd/src/vectorAdd.cpp b/example/vectorAdd/src/vectorAdd.cpp index 91d7bc7baea4..c5392820f88a 100644 --- a/example/vectorAdd/src/vectorAdd.cpp +++ b/example/vectorAdd/src/vectorAdd.cpp @@ -190,6 +190,8 @@ auto example(TAccTag const&) -> int auto main() -> int { + std::cout << "Check enabled accelerator tags:" << std::endl; + alpaka::printTagNames(); // Execute the example once for each enabled accelerator. // If you would like to execute it for a single accelerator only you can use the following code. // \code{.cpp}