2
0
mirror of https://github.com/boostorg/compute.git synced 2026-01-28 07:02:15 +00:00
Files
compute/test/opencl_version_check.hpp
2014-07-12 22:54:16 +04:00

8 lines
213 B
C++

#ifndef BOOST_COMPUTE_TEST_OPENCL_VERSION_CHECK_HPP
#define BOOST_COMPUTE_TEST_OPENCL_VERSION_CHECK_HPP
#define REQUIRES_OPENCL_VERSION(major, minor) \
if (!device.check_version(major, minor)) return
#endif