Fixed a couple of compilation warnings

This commit is contained in:
Benoit Steiner 2016-10-05 15:00:32 -07:00
parent ae1385c7e4
commit d7f9679a34
2 changed files with 6 additions and 4 deletions

View File

@ -13,7 +13,7 @@
#define EIGEN_TEST_NO_LONGDOUBLE
#define EIGEN_TEST_NO_COMPLEX
#define EIGEN_TEST_FUNC cxx11_tensor_sycl_broadcast
#define EIGEN_TEST_FUNC cxx11_tensor_broadcast_sycl
#define EIGEN_DEFAULT_DENSE_INDEX_TYPE int
#define EIGEN_USE_SYCL
@ -74,6 +74,6 @@ static void test_sycl_broadcast(){
printf("Broadcast Test Passed\n");
}
void test_cxx11_tensor_sycl_broadcast() {
void test_cxx11_tensor_broadcast_sycl() {
CALL_SUBTEST(test_sycl_broadcast());
}

View File

@ -13,7 +13,7 @@
#define EIGEN_TEST_NO_LONGDOUBLE
#define EIGEN_TEST_NO_COMPLEX
#define EIGEN_TEST_FUNC cxx11_tensor_sycl_forced_eval
#define EIGEN_TEST_FUNC cxx11_tensor_forced_eval_sycl
#define EIGEN_DEFAULT_DENSE_INDEX_TYPE int
#define EIGEN_USE_SYCL
@ -65,4 +65,6 @@ void test_sycl_gpu() {
printf("(a+b)*b Test Passed\n");
}
void test_cxx11_tensor_sycl_forced_eval() { CALL_SUBTEST(test_sycl_gpu()); }
void test_cxx11_tensor_forced_eval_sycl() {
CALL_SUBTEST(test_sycl_gpu());
}