From: Pyry Haulos Date: Mon, 25 Jan 2016 20:15:35 +0000 (-0800) Subject: Limit number of pipelines in object_management.max_concurrent X-Git-Tag: upstream/0.1.0~812^2~84^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=900460e0916f552bd5eb9f8768532cf7d885e25d;p=platform%2Fupstream%2FVK-GL-CTS.git Limit number of pipelines in object_management.max_concurrent See #250 --- diff --git a/external/vulkancts/modules/vulkan/api/vktApiObjectManagementTests.cpp b/external/vulkancts/modules/vulkan/api/vktApiObjectManagementTests.cpp index 140071c..50a3ecc 100644 --- a/external/vulkancts/modules/vulkan/api/vktApiObjectManagementTests.cpp +++ b/external/vulkancts/modules/vulkan/api/vktApiObjectManagementTests.cpp @@ -1345,7 +1345,8 @@ struct GraphicsPipeline static deUint32 getMaxConcurrent (Context&) { - return DEFAULT_MAX_CONCURRENT_OBJECTS; + // \todo [2016-01-26 pyry] Scale this based on pipeline memory usage and available system memory + return 256; } // \todo [2015-09-17 pyry] More interesting configurations @@ -1562,7 +1563,8 @@ struct ComputePipeline static deUint32 getMaxConcurrent (Context&) { - return DEFAULT_MAX_CONCURRENT_OBJECTS; + // \todo [2016-01-26 pyry] Scale this based on pipeline memory usage and available system memory + return 256; } // \todo [2015-09-17 pyry] More interesting configurations