mirror of
https://github.com/paboyle/Grid.git
synced 2026-09-30 21:18:05 +01:00
work towards sliceSum for sycl backend
This commit is contained in:
1 parent
5af8da76d7
commit
ab2de131bd
5 files changed
+134
-13
No files matched your search
@@ -26,7 +26,7 @@ int main (int argc, char ** argv) {
|
||||
|
||||
//warmup
|
||||
for (int sweeps = 0; sweeps < 5; sweeps++) {
|
||||
sliceSumGpu(test_data,reduction_result,0);
|
||||
reduction_result = sliceSumGpu(test_data,0);
|
||||
}
|
||||
|
||||
int trace_id = traceStart("sliceSum benchmark");
|
||||
@@ -46,7 +46,7 @@ int main (int argc, char ** argv) {
|
||||
RealD tgpu=-usecond();
|
||||
|
||||
tracePush("sliceSumGpu");
|
||||
sliceSumGpu(test_data,reduction_result,i);
|
||||
reduction_result = sliceSumGpu(test_data,i);
|
||||
tracePop("sliceSumGpu");
|
||||
|
||||
tgpu+=usecond();
|
||||
|
||||
Reference in new issue
Block a user