mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
test_vulkan: switch defaults on device local memory (#2365)
Switch the test_vulkan default to use device local memory
This commit is contained in:
@@ -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"))
|
||||||
|
|||||||
Reference in New Issue
Block a user