mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-12 14:25:16 +08:00
Fixed a couple of compilation warnings
This commit is contained in:
parent
ae1385c7e4
commit
d7f9679a34
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
#define EIGEN_TEST_NO_LONGDOUBLE
|
#define EIGEN_TEST_NO_LONGDOUBLE
|
||||||
#define EIGEN_TEST_NO_COMPLEX
|
#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_DEFAULT_DENSE_INDEX_TYPE int
|
||||||
#define EIGEN_USE_SYCL
|
#define EIGEN_USE_SYCL
|
||||||
|
|
||||||
@ -74,6 +74,6 @@ static void test_sycl_broadcast(){
|
|||||||
printf("Broadcast Test Passed\n");
|
printf("Broadcast Test Passed\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
void test_cxx11_tensor_sycl_broadcast() {
|
void test_cxx11_tensor_broadcast_sycl() {
|
||||||
CALL_SUBTEST(test_sycl_broadcast());
|
CALL_SUBTEST(test_sycl_broadcast());
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
#define EIGEN_TEST_NO_LONGDOUBLE
|
#define EIGEN_TEST_NO_LONGDOUBLE
|
||||||
#define EIGEN_TEST_NO_COMPLEX
|
#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_DEFAULT_DENSE_INDEX_TYPE int
|
||||||
#define EIGEN_USE_SYCL
|
#define EIGEN_USE_SYCL
|
||||||
|
|
||||||
@ -65,4 +65,6 @@ void test_sycl_gpu() {
|
|||||||
printf("(a+b)*b Test Passed\n");
|
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());
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user