summaryrefslogtreecommitdiff
path: root/modules/remote-sycl/benchmarks/mixed_precision.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/remote-sycl/benchmarks/mixed_precision.cpp')
-rw-r--r--modules/remote-sycl/benchmarks/mixed_precision.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/remote-sycl/benchmarks/mixed_precision.cpp b/modules/remote-sycl/benchmarks/mixed_precision.cpp
index e804f4e..8c6d4c9 100644
--- a/modules/remote-sycl/benchmarks/mixed_precision.cpp
+++ b/modules/remote-sycl/benchmarks/mixed_precision.cpp
@@ -119,9 +119,9 @@ int main(int argc, char** argv){
float64_host_data.at(i) = static_cast<double>(gen_num);
float32_host_data.at(i) = static_cast<float>(gen_num);
}
- data<sch::MixedArray, encode::Native, rmt::Sycl> mixed_device_data{mixed_host_data};
- data<sch::Float64Array, encode::Native, rmt::Sycl> float64_device_data{float64_host_data};
- data<sch::Float32Array, encode::Native, rmt::Sycl> float32_device_data{float32_host_data};
+ data<sch::MixedArray, encode::Sycl<encode::Native>> mixed_device_data{mixed_host_data};
+ data<sch::Float64Array, encode::Sycl<encode::Native>> float64_device_data{float64_host_data};
+ data<sch::Float32Array, encode::Sycl<encode::Native>> float32_device_data{float32_host_data};
sycl_iface.template call<"float64_32">(mixed_device_data, &(device.get_handle()));
sycl_iface.template call<"float64">(float64_device_data, &(device.get_handle()));
@@ -157,9 +157,9 @@ int main(int argc, char** argv){
float32_host_data.at(i) = static_cast<float>(gen_num);
}
- data<sch::MixedArray, encode::Native, rmt::Sycl> mixed_device_data{mixed_host_data};
- data<sch::Float64Array, encode::Native, rmt::Sycl> float64_device_data{float64_host_data};
- data<sch::Float32Array, encode::Native, rmt::Sycl> float32_device_data{float32_host_data};
+ data<sch::MixedArray, encode::Sycl<encode::Native>> mixed_device_data{mixed_host_data};
+ data<sch::Float64Array, encode::Sycl<encode::Native>> float64_device_data{float64_host_data};
+ data<sch::Float32Array, encode::Sycl<encode::Native>> float32_device_data{float32_host_data};
sycl_iface.template call<"float64_32">(mixed_device_data, &(device.get_handle()));
device.get_handle().wait();