mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-24 14:45:14 +08:00
Changes required for new ComputeCpp CE version.
This commit is contained in:
parent
84d7be103a
commit
2062ac9958
@ -46,8 +46,8 @@ struct SyclAllocator {
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
#define ConvertToActualTypeSycl(Scalar, buf_acc) reinterpret_cast<typename cl::sycl::global_ptr<Scalar>::pointer_t>((&(*buf_acc.get_pointer())))
|
||||
#define ConvertToActualSyclOffset(Scalar, offset) offset/sizeof(Scalar)
|
||||
#define ConvertToActualTypeSycl(Scalar, buf_acc) static_cast<Scalar*>(static_cast<void*>(((buf_acc.get_pointer().get()))))
|
||||
#define ConvertToActualSyclOffset(Scalar, offset) offset/sizeof(Scalar)
|
||||
|
||||
|
||||
template <typename Scalar, typename read_accessor, typename write_accessor> class MemCopyFunctor {
|
||||
|
Loading…
Reference in New Issue
Block a user