15# include <sycl/sycl.hpp>
19 template<
typename T_Platform>
28 template<
typename T_Platform>
31 size_t operator()(syclGeneric::Device<T_Platform>
const& device)
const
41 sycl::device
const dev = std::get<0>(
device.getNativeHandle());
42 return dev.get_info<sycl::ext::intel::info::device::free_memory>();
#define ALPAKA_TYPEOF(...)
Get the type of instance.
auto getFreeGlobalMemBytes() -> std::size_t
Device(Handle< T_Device > &&) -> Device< ALPAKA_TYPEOF(alpaka::internal::getApi(std::declval< T_Device >())), ALPAKA_TYPEOF(alpaka::internal::getDeviceKind(std::declval< T_Device >()))>
size_t operator()(auto const &device) const