From e62251230135d8affd95d87c680d5ed36f6bb5e4 Mon Sep 17 00:00:00 2001 From: joshqti Date: Tue, 17 Jun 2025 10:17:26 -0700 Subject: [PATCH] test_vulkan: switch defaults on device local memory (#2365) Switch the test_vulkan default to use device local memory --- test_conformance/vulkan/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test_conformance/vulkan/main.cpp b/test_conformance/vulkan/main.cpp index fdc1e8fc..aa32dd3a 100644 --- a/test_conformance/vulkan/main.cpp +++ b/test_conformance/vulkan/main.cpp @@ -38,7 +38,7 @@ bool multiImport; bool multiCtx; bool debug_trace = false; bool useSingleImageKernel = false; -bool useDeviceLocal = false; +bool useDeviceLocal = true; bool useValidationLayers = false; bool disableNTHandleType = false; bool enableOffset = false; @@ -59,7 +59,7 @@ static void printUsage(const char *execName) log_info("\t--debug_trace - Enables additional debug info logging\n"); log_info("\t--useSingleImageKernel - Use the same image " "(image_single_queue and image_multiple_queue tests)\n"); - log_info("\t--useDeviceLocal - Skip tests that use images with local " + log_info("\t--disableDeviceLocal - Skip tests that use images with local " "memory type\n"); log_info("\t--disableNTHandleType - Skip tests that use win32 external " "memory handle\n"); @@ -101,9 +101,9 @@ void parseParams(int &argc, const char *argv[]) useSingleImageKernel = true; argsRemoveNum = 1; } - if (!strcmp(argv[i], "--useDeviceLocal")) + if (!strcmp(argv[i], "--disableDeviceLocal")) { - useDeviceLocal = true; + useDeviceLocal = false; argsRemoveNum = 1; } if (!strcmp(argv[i], "--useValidationLayers"))