From b772d00fe407bfb0499b05d79513bc7986dbff3a Mon Sep 17 00:00:00 2001 From: Tom Deakin Date: Tue, 18 May 2021 16:44:06 +0100 Subject: [PATCH] Revert "Add check for FP64 support" --- CHANGELOG.md | 1 - SYCLStream.cpp | 8 -------- 2 files changed, 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3dbabed..29702d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,6 @@ All notable changes to this project will be documented in this file. - Support for CUDA Managed Memory and Page Fault memory. - Added nstream kernel from PRK with associate command line option. - CMake build system added for all models. -- SYCL device check for FP64 support. ### Changed - Default branch renamed from `master` to `main`. diff --git a/SYCLStream.cpp b/SYCLStream.cpp index 00c043f..49ad3ac 100644 --- a/SYCLStream.cpp +++ b/SYCLStream.cpp @@ -28,14 +28,6 @@ SYCLStream::SYCLStream(const int ARRAY_SIZE, const int device_index) throw std::runtime_error("Invalid device index"); device dev = devices[device_index]; - // Check device can support FP64 if needed - if (sizeof(T) == sizeof(double)) - { - if (dev.get_info().size() == 0) { - throw std::runtime_error("Device does not support double precision, please use --float"); - } - } - // Determine sensible dot kernel NDRange configuration if (dev.is_cpu()) {