Home
last modified time | relevance | path

Searched refs:deviceProperties (Results 1 – 16 of 16) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleBase.cpp41 …const VkPhysicalDeviceProperties deviceProperties = getPhysicalDeviceProperties(instance, physical… in validateImageSize() local
48 isImageSizeValid = imageSize.x() <= deviceProperties.limits.maxImageDimension1D; in validateImageSize()
51 isImageSizeValid = imageSize.x() <= deviceProperties.limits.maxImageDimension1D && in validateImageSize()
52 imageSize.z() <= deviceProperties.limits.maxImageArrayLayers; in validateImageSize()
55 isImageSizeValid = imageSize.x() <= deviceProperties.limits.maxImageDimension2D && in validateImageSize()
56 imageSize.y() <= deviceProperties.limits.maxImageDimension2D; in validateImageSize()
59 isImageSizeValid = imageSize.x() <= deviceProperties.limits.maxImageDimension2D && in validateImageSize()
60 imageSize.y() <= deviceProperties.limits.maxImageDimension2D && in validateImageSize()
61 imageSize.z() <= deviceProperties.limits.maxImageArrayLayers; in validateImageSize()
64 isImageSizeValid = imageSize.x() <= deviceProperties.limits.maxImageDimensionCube && in validateImageSize()
[all …]
DvktPipelineMultisampleTests.cpp849 VkPhysicalDeviceProperties deviceProperties; in isSupportedSampleCount() local
851 instanceInterface.getPhysicalDeviceProperties(physicalDevice, &deviceProperties); in isSupportedSampleCount()
853 return !!(deviceProperties.limits.framebufferColorSampleCounts & rasterizationSamples); in isSupportedSampleCount()
1620 VkPhysicalDeviceProperties deviceProperties; in verifyImage() local
1622 …tInstanceInterface().getPhysicalDeviceProperties(m_context.getPhysicalDevice(), &deviceProperties); in verifyImage()
1625 renderState.point.pointSize = deFloatMin(m_pointSize, deviceProperties.limits.pointSizeRange[1]); in verifyImage()
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorDeviceCuda.h24 virtual const cudaDeviceProp& deviceProperties() const = 0;
136 const cudaDeviceProp& deviceProperties() const { in initializeDeviceProp() function
279 return stream_->deviceProperties().multiProcessorCount; in initializeDeviceProp()
282 return stream_->deviceProperties().maxThreadsPerBlock; in initializeDeviceProp()
285 return stream_->deviceProperties().maxThreadsPerMultiProcessor; in initializeDeviceProp()
288 return stream_->deviceProperties().sharedMemPerBlock; in initializeDeviceProp()
291 return stream_->deviceProperties().major; in initializeDeviceProp()
294 return stream_->deviceProperties().minor; in initializeDeviceProp()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesTestsUtil.cpp248 …const VkPhysicalDeviceProperties deviceProperties = getPhysicalDeviceProperties(instance, physical… in isImageSizeSupported() local
253 return imageSize.x() <= deviceProperties.limits.maxImageDimension1D; in isImageSizeSupported()
255 return imageSize.x() <= deviceProperties.limits.maxImageDimension1D && in isImageSizeSupported()
256 imageSize.z() <= deviceProperties.limits.maxImageArrayLayers; in isImageSizeSupported()
258 return imageSize.x() <= deviceProperties.limits.maxImageDimension2D && in isImageSizeSupported()
259 imageSize.y() <= deviceProperties.limits.maxImageDimension2D; in isImageSizeSupported()
261 return imageSize.x() <= deviceProperties.limits.maxImageDimension2D && in isImageSizeSupported()
262 imageSize.y() <= deviceProperties.limits.maxImageDimension2D && in isImageSizeSupported()
263 imageSize.z() <= deviceProperties.limits.maxImageArrayLayers; in isImageSizeSupported()
265 return imageSize.x() <= deviceProperties.limits.maxImageDimensionCube && in isImageSizeSupported()
[all …]
DvktSparseResourcesShaderIntrinsicsSampled.cpp517 …const VkPhysicalDeviceProperties deviceProperties = getPhysicalDeviceProperties(instance, physical… in recordCommands() local
519 if (imageSparseInfo.extent.width > deviceProperties.limits.maxFramebufferWidth || in recordCommands()
520 imageSparseInfo.extent.height > deviceProperties.limits.maxFramebufferHeight || in recordCommands()
521 imageSparseInfo.arrayLayers > deviceProperties.limits.maxFramebufferLayers) in recordCommands()
/external/angle/src/libANGLE/renderer/vulkan/
DRendererVk.cpp505 return [](const VkPhysicalDeviceProperties &deviceProperties) { in GetFilterForICD() argument
506 return ((deviceProperties.vendorID == kMockVendorID) && in GetFilterForICD()
507 (deviceProperties.deviceID == kMockDeviceID) && in GetFilterForICD()
508 (strcmp(deviceProperties.deviceName, kMockDeviceName) == 0)); in GetFilterForICD()
511 return [](const VkPhysicalDeviceProperties &deviceProperties) { in GetFilterForICD() argument
512 return (IsSwiftshader(deviceProperties.vendorID, deviceProperties.deviceID) && in GetFilterForICD()
513 (strncmp(deviceProperties.deviceName, kSwiftShaderDeviceName, in GetFilterForICD()
519 return [anglePreferredDevice](const VkPhysicalDeviceProperties &deviceProperties) { in GetFilterForICD() argument
521 anglePreferredDevice == deviceProperties.deviceName); in GetFilterForICD()
1000 VkPhysicalDeviceProperties2 deviceProperties = {}; in queryDeviceExtensionFeatures() local
[all …]
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmUtils.cpp226 VkPhysicalDeviceProperties2 deviceProperties; in isFloatControlsFeaturesSupported() local
227 deviceProperties.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2; in isFloatControlsFeaturesSupported()
228 deviceProperties.pNext = &refControls; in isFloatControlsFeaturesSupported()
233 instanceInterface.getPhysicalDeviceProperties2(physicalDevice, &deviceProperties); in isFloatControlsFeaturesSupported()
DvktSpvAsmFloatControlsTests.cpp2875 vk::VkPhysicalDeviceProperties2 deviceProperties; in verifyIndependenceSettings() local
2876 deviceProperties.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2; in verifyIndependenceSettings()
2877 deviceProperties.pNext = &fcProperties; in verifyIndependenceSettings()
2886 instanceInterface.getPhysicalDeviceProperties2(physicalDevice, &deviceProperties); in verifyIndependenceSettings()
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateRSTests.cpp579 vk::VkPhysicalDeviceProperties deviceProperties; in iterate() local
580 …tInstanceInterface().getPhysicalDeviceProperties(m_context.getPhysicalDevice(), &deviceProperties); in iterate()
585 setDynamicRasterizationState(deFloatFloor(deviceProperties.limits.lineWidthRange[1])); in iterate()
617 … float lineHalfWidth = (float)(deFloor(deviceProperties.limits.lineWidthRange[1]) / frameHeight); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeIndirectComputeDispatchTests.cpp78 vk::VkPhysicalDeviceProperties deviceProperties; in getResultBlockAlignedSize() local
79 instance_interface.getPhysicalDeviceProperties(physicalDevice, &deviceProperties); in getResultBlockAlignedSize()
80 vk::VkDeviceSize alignment = deviceProperties.limits.minStorageBufferOffsetAlignment; in getResultBlockAlignedSize()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassDepthStencilResolveTests.cpp233 VkPhysicalDeviceProperties2 deviceProperties; in isFeaturesSupported() local
234 deviceProperties.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2; in isFeaturesSupported()
235 deviceProperties.pNext = &dsResolveProperties; in isFeaturesSupported()
240 instanceInterface.getPhysicalDeviceProperties2(physicalDevice, &deviceProperties); in isFeaturesSupported()
/external/deqp/external/vulkancts/modules/vulkan/imageless_framebuffer/
DvktImagelessFramebufferTests.cpp1755 VkPhysicalDeviceProperties2 deviceProperties; in DepthResolveImagelessTestInstance() local
1758 deMemset(&deviceProperties, 0, sizeof(deviceProperties)); in DepthResolveImagelessTestInstance()
1761 deviceProperties.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2; in DepthResolveImagelessTestInstance()
1762 deviceProperties.pNext = &dsResolveProperties; in DepthResolveImagelessTestInstance()
1767 vki.getPhysicalDeviceProperties2(physDevice, &deviceProperties); in DepthResolveImagelessTestInstance()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp1232 …const VkPhysicalDeviceProperties deviceProperties = getPhysicalDeviceProperties(instance, physic… in uploadSparseImage() local
1245 if (isImageSizeSupported(imageCreateInfo.imageType, texSize, deviceProperties.limits) == false) in uploadSparseImage()
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_device.cc141 const gpuDeviceProp_t& deviceProperties() const override { in deviceProperties() function in tensorflow::EigenGpuStreamDevice
/external/deqp/external/vulkancts/framework/vulkan/
DvkImageUtil.cpp4573 …const VkPhysicalDeviceProperties deviceProperties = getPhysicalDeviceProperties(instance, physic… in allocateAndBindSparseImage() local
4631 if (memoryRequirements.size > deviceProperties.limits.sparseAddressSpaceSize) in allocateAndBindSparseImage()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiFeatureInfo.cpp2474 tcu::TestStatus deviceProperties (Context& context) in deviceProperties() function
5903 addFunctionCase(testGroup, "device_properties", "Device Properties", deviceProperties); in createFeatureInfoDeviceTests()