From 020a802dab4ba855a5a3c40b463d0efa7a5f6207 Mon Sep 17 00:00:00 2001 From: Bernhard Manfred Gruber Date: Thu, 1 Feb 2024 20:53:27 +0100 Subject: [PATCH] Use size_t for array extents in viewcopy --- examples/viewcopy/viewcopy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/viewcopy/viewcopy.cpp b/examples/viewcopy/viewcopy.cpp index 7478bf9cb3..5a54f1fd5a 100644 --- a/examples/viewcopy/viewcopy.cpp +++ b/examples/viewcopy/viewcopy.cpp @@ -17,7 +17,7 @@ #include constexpr auto repetitions = 20; // excluding 1 warmup run -constexpr auto extents = llama::ArrayExtents{512, 512, 16}; +constexpr auto extents = llama::ArrayExtentsDynamic{512, 512, 16}; constexpr auto measureMemcpy = false; constexpr auto runParallelVersions = true; constexpr auto maxMismatchesPrintedPerFailedCopy = 10;