]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/compute/example/hello_world.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / compute / example / hello_world.cpp
index a7fa16a57f0c6eb0951a1b25b7e403faef7a6be7..ef45fdd6a3552c7c1b17b1cf643a488f9ce304f2 100644 (file)
@@ -21,8 +21,9 @@ int main()
     // get the default device
     compute::device device = compute::system::default_device();
 
-    // print the device's name
-    std::cout << "hello from " << device.name() << std::endl;
+    // print the device's name and platform
+    std::cout << "hello from " << device.name();
+    std::cout << " (platform: " << device.platform().name() << ")" << std::endl;
 
     return 0;
 }