diff --git a/test/gpu_basic.cu b/test/gpu_basic.cu index 1935f0bc6..b2e657e72 100644 --- a/test/gpu_basic.cu +++ b/test/gpu_basic.cu @@ -409,6 +409,9 @@ EIGEN_DECLARE_TEST(gpu_basic) // (aka 'ArrayBase, -1, -1> >') has protected default constructor CALL_SUBTEST( run_and_compare_to_gpu(replicate(), nthreads, in, out) ); CALL_SUBTEST( run_and_compare_to_gpu(replicate(), nthreads, in, out) ); + + // HIP does not support new/delete on device. + CALL_SUBTEST( run_and_compare_to_gpu(alloc_new_delete(), nthreads, in, out) ); #endif CALL_SUBTEST( run_and_compare_to_gpu(redux(), nthreads, in, out) ); @@ -438,5 +441,4 @@ EIGEN_DECLARE_TEST(gpu_basic) typedef Matrix Matrix6f; CALL_SUBTEST( run_and_compare_to_gpu(eigenvalues(), nthreads, in, out) ); #endif - CALL_SUBTEST( run_and_compare_to_gpu(alloc_new_delete(), nthreads, in, out) ); }