test_vulkan: switch defaults on device local memory (#2365)

Switch the test_vulkan default to use device local memory
This commit is contained in:
joshqti
2025-06-17 10:17:26 -07:00
committed by GitHub
parent 26f8b3a7e8
commit e622512301

View File

@@ -38,7 +38,7 @@ bool multiImport;
bool multiCtx; bool multiCtx;
bool debug_trace = false; bool debug_trace = false;
bool useSingleImageKernel = false; bool useSingleImageKernel = false;
bool useDeviceLocal = false; bool useDeviceLocal = true;
bool useValidationLayers = false; bool useValidationLayers = false;
bool disableNTHandleType = false; bool disableNTHandleType = false;
bool enableOffset = 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--debug_trace - Enables additional debug info logging\n");
log_info("\t--useSingleImageKernel - Use the same image " log_info("\t--useSingleImageKernel - Use the same image "
"(image_single_queue and image_multiple_queue tests)\n"); "(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"); "memory type\n");
log_info("\t--disableNTHandleType - Skip tests that use win32 external " log_info("\t--disableNTHandleType - Skip tests that use win32 external "
"memory handle\n"); "memory handle\n");
@@ -101,9 +101,9 @@ void parseParams(int &argc, const char *argv[])
useSingleImageKernel = true; useSingleImageKernel = true;
argsRemoveNum = 1; argsRemoveNum = 1;
} }
if (!strcmp(argv[i], "--useDeviceLocal")) if (!strcmp(argv[i], "--disableDeviceLocal"))
{ {
useDeviceLocal = true; useDeviceLocal = false;
argsRemoveNum = 1; argsRemoveNum = 1;
} }
if (!strcmp(argv[i], "--useValidationLayers")) if (!strcmp(argv[i], "--useValidationLayers"))