mirror of
https://github.com/paboyle/Grid.git
synced 2026-05-23 02:24:17 +01:00
Aurora compile fix for new compiler
This commit is contained in:
@@ -124,7 +124,7 @@ template<class vobj> void Cshift_simple(Lattice<vobj>& ret,const Lattice<vobj> &
|
|||||||
void *hsend_buf = (void *)&hrhs[0];
|
void *hsend_buf = (void *)&hrhs[0];
|
||||||
void *hrecv_buf = (void *)&hret[0];
|
void *hrecv_buf = (void *)&hret[0];
|
||||||
|
|
||||||
acceleratorCopyFromDevice(&send_buf[0],&hsend_buf[0],bytes);
|
acceleratorCopyFromDevice(send_buf,hsend_buf,bytes);
|
||||||
|
|
||||||
grid->SendToRecvFrom(hsend_buf,
|
grid->SendToRecvFrom(hsend_buf,
|
||||||
xmit_to_rank,
|
xmit_to_rank,
|
||||||
@@ -132,7 +132,7 @@ template<class vobj> void Cshift_simple(Lattice<vobj>& ret,const Lattice<vobj> &
|
|||||||
recv_from_rank,
|
recv_from_rank,
|
||||||
bytes);
|
bytes);
|
||||||
|
|
||||||
acceleratorCopyToDevice(&hrecv_buf[0],&recv_buf[0],bytes);
|
acceleratorCopyToDevice(hrecv_buf,recv_buf,bytes);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -411,7 +411,7 @@ void WilsonKernels<Impl>::DhopDirKernel( StencilImpl &st, DoubledGaugeField &U,S
|
|||||||
#undef LoopBody
|
#undef LoopBody
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef GRID_SYCL
|
#if 0
|
||||||
extern "C" {
|
extern "C" {
|
||||||
ulong SYCL_EXTERNAL __attribute__((overloadable)) intel_get_cycle_counter( void );
|
ulong SYCL_EXTERNAL __attribute__((overloadable)) intel_get_cycle_counter( void );
|
||||||
uint SYCL_EXTERNAL __attribute__((overloadable)) intel_get_active_channel_mask( void );
|
uint SYCL_EXTERNAL __attribute__((overloadable)) intel_get_active_channel_mask( void );
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ export HDF5=/opt/cray/pe/hdf5/1.12.2.3/gnu/9.1
|
|||||||
--disable-gparity \
|
--disable-gparity \
|
||||||
--disable-fermion-reps \
|
--disable-fermion-reps \
|
||||||
--enable-shm=nvlink \
|
--enable-shm=nvlink \
|
||||||
--enable-checksum-comms=yes \
|
--enable-checksum-comms=no \
|
||||||
--enable-log-views=yes \
|
--enable-log-views=yes \
|
||||||
--enable-accelerator=sycl \
|
--enable-accelerator=sycl \
|
||||||
--enable-accelerator-aware-mpi=no \
|
--enable-accelerator-aware-mpi=no \
|
||||||
|
|||||||
Reference in New Issue
Block a user