Home
last modified time | relevance | path

Searched refs:deviceProperties (Results 1 – 18 of 18) 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.cpp857 VkPhysicalDeviceProperties deviceProperties; in isSupportedSampleCount() local
859 instanceInterface.getPhysicalDeviceProperties(physicalDevice, &deviceProperties); in isSupportedSampleCount()
861 return !!(deviceProperties.limits.framebufferColorSampleCounts & rasterizationSamples); in isSupportedSampleCount()
1628 VkPhysicalDeviceProperties deviceProperties; in verifyImage() local
1630 …tInstanceInterface().getPhysicalDeviceProperties(m_context.getPhysicalDevice(), &deviceProperties); in verifyImage()
1633 renderState.point.pointSize = deFloatMin(m_pointSize, deviceProperties.limits.pointSizeRange[1]); in verifyImage()
/external/angle/src/common/vulkan/
Dvulkan_icd.cpp81 return [](const VkPhysicalDeviceProperties &deviceProperties) { in GetFilterForICD() argument
82 return ((deviceProperties.vendorID == kMockVendorID) && in GetFilterForICD()
83 (deviceProperties.deviceID == kMockDeviceID) && in GetFilterForICD()
84 (strcmp(deviceProperties.deviceName, kMockDeviceName) == 0)); in GetFilterForICD()
87 return [](const VkPhysicalDeviceProperties &deviceProperties) { in GetFilterForICD() argument
88 return ((deviceProperties.vendorID == kGoogleVendorID) && in GetFilterForICD()
89 (deviceProperties.deviceID == kSwiftShaderDeviceID) && in GetFilterForICD()
90 (strncmp(deviceProperties.deviceName, kSwiftShaderDeviceName, in GetFilterForICD()
96 return [anglePreferredDevice](const VkPhysicalDeviceProperties &deviceProperties) { in GetFilterForICD() argument
98 anglePreferredDevice == deviceProperties.deviceName); in GetFilterForICD()
/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.cpp265 …const VkPhysicalDeviceProperties deviceProperties = getPhysicalDeviceProperties(instance, physical… in isImageSizeSupported() local
270 return imageSize.x() <= deviceProperties.limits.maxImageDimension1D; in isImageSizeSupported()
272 return imageSize.x() <= deviceProperties.limits.maxImageDimension1D && in isImageSizeSupported()
273 imageSize.z() <= deviceProperties.limits.maxImageArrayLayers; in isImageSizeSupported()
275 return imageSize.x() <= deviceProperties.limits.maxImageDimension2D && in isImageSizeSupported()
276 imageSize.y() <= deviceProperties.limits.maxImageDimension2D; in isImageSizeSupported()
278 return imageSize.x() <= deviceProperties.limits.maxImageDimension2D && in isImageSizeSupported()
279 imageSize.y() <= deviceProperties.limits.maxImageDimension2D && in isImageSizeSupported()
280 imageSize.z() <= deviceProperties.limits.maxImageArrayLayers; in isImageSizeSupported()
282 return imageSize.x() <= deviceProperties.limits.maxImageDimensionCube && in isImageSizeSupported()
[all …]
DvktSparseResourcesShaderIntrinsicsSampled.cpp550 …const VkPhysicalDeviceProperties deviceProperties = getPhysicalDeviceProperties(instance, physical… in recordCommands() local
552 if (imageSparseInfo.extent.width > deviceProperties.limits.maxFramebufferWidth || in recordCommands()
553 imageSparseInfo.extent.height > deviceProperties.limits.maxFramebufferHeight || in recordCommands()
554 imageSparseInfo.arrayLayers > deviceProperties.limits.maxFramebufferLayers) in recordCommands()
/external/angle/src/libANGLE/renderer/vulkan/
DRendererVk.cpp1293 VkPhysicalDeviceProperties2 deviceProperties = {}; in queryDeviceExtensionFeatures() local
1294 deviceProperties.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2; in queryDeviceExtensionFeatures()
1312 vk::AddToPNextChain(&deviceProperties, &mVertexAttributeDivisorProperties); in queryDeviceExtensionFeatures()
1336 vk::AddToPNextChain(&deviceProperties, &mExternalMemoryHostProperties); in queryDeviceExtensionFeatures()
1354 vk::AddToPNextChain(&deviceProperties, &mDepthStencilResolveProperties); in queryDeviceExtensionFeatures()
1368 vk::AddToPNextChain(&deviceProperties, &mMultiviewProperties); in queryDeviceExtensionFeatures()
1374 vk::AddToPNextChain(&deviceProperties, &mDriverProperties); in queryDeviceExtensionFeatures()
1384 vk::AddToPNextChain(&deviceProperties, &mSubgroupProperties); in queryDeviceExtensionFeatures()
1390 vk::AddToPNextChain(&deviceProperties, &mProtectedMemoryProperties); in queryDeviceExtensionFeatures()
1394 vkGetPhysicalDeviceProperties2KHR(mPhysicalDevice, &deviceProperties); in queryDeviceExtensionFeatures()
[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.cpp3075 vk::VkPhysicalDeviceProperties2 deviceProperties; in verifyIndependenceSettings() local
3076 deviceProperties.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2; in verifyIndependenceSettings()
3077 deviceProperties.pNext = &fcProperties; in verifyIndependenceSettings()
3086 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/llvm-project/mlir/tools/mlir-vulkan-runner/
DVulkanRuntime.cpp769 VkPhysicalDeviceProperties deviceProperties = {}; in createQueryPool() local
770 vkGetPhysicalDeviceProperties(physicalDevice, &deviceProperties); in createQueryPool()
771 timestampPeriod = deviceProperties.limits.timestampPeriod; in createQueryPool()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassDepthStencilResolveTests.cpp270 VkPhysicalDeviceProperties2 deviceProperties; in isFeaturesSupported() local
271 deviceProperties.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2; in isFeaturesSupported()
272 deviceProperties.pNext = &dsResolveProperties; in isFeaturesSupported()
277 instanceInterface.getPhysicalDeviceProperties2(physicalDevice, &deviceProperties); in isFeaturesSupported()
/external/deqp/external/vulkancts/modules/vulkan/imageless_framebuffer/
DvktImagelessFramebufferTests.cpp1757 VkPhysicalDeviceProperties2 deviceProperties; in DepthResolveImagelessTestInstance() local
1760 deMemset(&deviceProperties, 0, sizeof(deviceProperties)); in DepthResolveImagelessTestInstance()
1763 deviceProperties.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2; in DepthResolveImagelessTestInstance()
1764 deviceProperties.pNext = &dsResolveProperties; in DepthResolveImagelessTestInstance()
1769 vki.getPhysicalDeviceProperties2(physDevice, &deviceProperties); in DepthResolveImagelessTestInstance()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp1248 …const VkPhysicalDeviceProperties deviceProperties = getPhysicalDeviceProperties(instance, physic… in uploadSparseImage() local
1261 if (isImageSizeSupported(imageCreateInfo.imageType, texSize, deviceProperties.limits) == false) in uploadSparseImage()
/external/deqp/external/vulkancts/framework/vulkan/
DvkImageUtil.cpp4865 …const VkPhysicalDeviceProperties deviceProperties = getPhysicalDeviceProperties(instance, physic… in allocateAndBindSparseImage() local
4923 if (memoryRequirements.size > deviceProperties.limits.sparseAddressSpaceSize) in allocateAndBindSparseImage()
/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/modules/vulkan/api/
DvktApiFeatureInfo.cpp2475 tcu::TestStatus deviceProperties (Context& context) in deviceProperties() function
5722 addFunctionCase(testGroup, "device_properties", "Device Properties", deviceProperties); in createFeatureInfoDeviceTests()