We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2075c7 commit 917d9c9Copy full SHA for 917d9c9
sycl/include/syclcompat/device.hpp
@@ -395,6 +395,10 @@ class device_ext : public sycl::device {
395
return get_device_info().get_global_mem_size();
396
}
397
398
+ size_t get_local_mem_size() const {
399
+ return get_device_info().get_local_mem_size();
400
+ }
401
+
402
/// Get the number of bytes of free and total memory on the SYCL device.
403
/// \param [out] free_memory The number of bytes of free memory on the SYCL
404
/// device.
0 commit comments