diff --git a/sycl/test/built-ins/vector_math.cpp b/sycl/test/built-ins/vector_math.cpp index d87fa75c6898c..3b1c9d5b1220c 100644 --- a/sycl/test/built-ins/vector_math.cpp +++ b/sycl/test/built-ins/vector_math.cpp @@ -33,26 +33,6 @@ int main() { assert(r2 == 0.4f); } - // native::exp - { - cl::sycl::cl_float2 r{0}; - { - buffer BufR(&r, range<1>(1)); - queue myQueue; - myQueue.submit([&](handler &cgh) { - auto AccR = BufR.get_access(cgh); - cgh.single_task([=]() { - AccR[0] = cl::sycl::native::exp(cl::sycl::cl_float2{1.0f, 2.0f}); - }); - }); - } - cl::sycl::cl_float r1 = r.x(); - cl::sycl::cl_float r2 = r.y(); - std::cout << "r1 " << r1 << " r2 " << r2 << std::endl; - assert(r1 > 2.718 && r1 < 2.719); // ~2.718281828459045 - assert(r2 > 7.389 && r2 < 7.390); // ~7.38905609893065 - } - // fabs { cl::sycl::cl_float2 r{0};