mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-23 15:39:03 +00:00
Corrected test_vulkan to use specific platform/device from harness (#2154)
Fixes #1926 according to task description
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// Copyright (c) 2022 The Khronos Group Inc.
|
||||
// Copyright (c) 2024 The Khronos Group Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -32,9 +32,12 @@
|
||||
|
||||
const VulkanInstance& getVulkanInstance();
|
||||
const VulkanPhysicalDevice& getVulkanPhysicalDevice();
|
||||
const VulkanQueueFamily&
|
||||
getVulkanQueueFamily(uint32_t queueFlags = VULKAN_QUEUE_FLAG_GRAPHICS
|
||||
| VULKAN_QUEUE_FLAG_COMPUTE);
|
||||
const VulkanPhysicalDevice&
|
||||
getAssociatedVulkanPhysicalDevice(cl_device_id deviceId);
|
||||
const VulkanQueueFamily& getVulkanQueueFamily(
|
||||
const VulkanPhysicalDevice& physicalDevice = getVulkanPhysicalDevice(),
|
||||
uint32_t queueFlags = VULKAN_QUEUE_FLAG_GRAPHICS
|
||||
| VULKAN_QUEUE_FLAG_COMPUTE);
|
||||
const VulkanMemoryType&
|
||||
getVulkanMemoryType(const VulkanDevice& device,
|
||||
VulkanMemoryTypeProperty memoryTypeProperty);
|
||||
|
||||
Reference in New Issue
Block a user