From ff530500344e63d4db39090d268a24852bffdea4 Mon Sep 17 00:00:00 2001 From: Mehdi Goli Date: Wed, 1 Feb 2017 15:36:03 +0000 Subject: Converting ptrdiff_t type to int64_t type in cxx11_tensor_contract_sycl.cpp in order to be the same as other tests. --- unsupported/test/cxx11_tensor_contract_sycl.cpp | 36 ++++++++++++------------- 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'unsupported/test/cxx11_tensor_contract_sycl.cpp') diff --git a/unsupported/test/cxx11_tensor_contract_sycl.cpp b/unsupported/test/cxx11_tensor_contract_sycl.cpp index 41acd5579..5bace66c5 100644 --- a/unsupported/test/cxx11_tensor_contract_sycl.cpp +++ b/unsupported/test/cxx11_tensor_contract_sycl.cpp @@ -254,26 +254,26 @@ void test_sycl_contraction_sizes(const Device& sycl_device) { template void tensorContractionPerDevice(Dev_selector& s){ QueueInterface queueInterface(s); auto sycl_device=Eigen::SyclDevice(&queueInterface); - test_sycl_contraction(sycl_device, 32, 32, 32); - test_sycl_contraction(sycl_device, 32, 32, 32); - test_scalar(sycl_device, 32, 32, 32); - test_scalar(sycl_device, 32, 32, 32); + test_sycl_contraction(sycl_device, 32, 32, 32); + test_sycl_contraction(sycl_device, 32, 32, 32); + test_scalar(sycl_device, 32, 32, 32); + test_scalar(sycl_device, 32, 32, 32); std::chrono::time_point start, end; start = std::chrono::system_clock::now(); - test_sycl_contraction(sycl_device, 128, 128, 128); - test_sycl_contraction(sycl_device, 128, 128, 128); - test_scalar(sycl_device, 128, 128, 128); - test_scalar(sycl_device, 128, 128, 128); - test_sycl_contraction_m(sycl_device); - test_sycl_contraction_m(sycl_device); - test_sycl_contraction_n(sycl_device); - test_sycl_contraction_n(sycl_device); - test_sycl_contraction_k(sycl_device); - test_sycl_contraction_k(sycl_device); - test_sycl_contraction_sizes(sycl_device); - test_sycl_contraction_sizes(sycl_device); - test_TF(sycl_device); - test_TF(sycl_device); + test_sycl_contraction(sycl_device, 128, 128, 128); + test_sycl_contraction(sycl_device, 128, 128, 128); + test_scalar(sycl_device, 128, 128, 128); + test_scalar(sycl_device, 128, 128, 128); + test_sycl_contraction_m(sycl_device); + test_sycl_contraction_m(sycl_device); + test_sycl_contraction_n(sycl_device); + test_sycl_contraction_n(sycl_device); + test_sycl_contraction_k(sycl_device); + test_sycl_contraction_k(sycl_device); + test_sycl_contraction_sizes(sycl_device); + test_sycl_contraction_sizes(sycl_device); + test_TF(sycl_device); + test_TF(sycl_device); end = std::chrono::system_clock::now(); std::chrono::duration elapsed_seconds = end-start; -- cgit v1.2.3