From d23ea95e64a9fa1ad1a8c10a2814b3fbba588436 Mon Sep 17 00:00:00 2001 From: Alejandro Saucedo Date: Sat, 20 Mar 2021 08:49:36 +0000 Subject: [PATCH] Updated single include --- single_include/kompute/Kompute.hpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/single_include/kompute/Kompute.hpp b/single_include/kompute/Kompute.hpp index cd313e6e7..0093eddc1 100755 --- a/single_include/kompute/Kompute.hpp +++ b/single_include/kompute/Kompute.hpp @@ -2156,10 +2156,19 @@ class Manager void clear(); /** - * Return a struct containing information about the device. + * Information about the current device. + * + * @return vk::PhysicalDeviceProperties containing information about the device **/ vk::PhysicalDeviceProperties getDeviceProperties() const; + /** + * List the devices available in the current vulkan instance. + * + * @return vector of physical devices containing their respective properties + **/ + std::vector listDevices() const; + private: // -------------- OPTIONALLY OWNED RESOURCES std::shared_ptr mInstance = nullptr;