Open bd4 opened 1 year ago
I think the reason is that clib
provides functionality for one particular backend, the one that is generally used to generate the clib functionality, as that can not be templated by space. I'm not sure there's a good C++ interface to the same functionality at this point, there is backend_ops<space::cuda/whatever>::is_device_accessible
where the actual implementation lives.
There should probably by something like gt::is_device_accessible<SPACE>(ptr)
.
Why is
is_device_accessible
for example ingt::backend::clib
, rather than justgt::backend
?