MCPcopy Create free account
hub / github.com/antmachineintelligence/mtgbmcode / supports_compile_program

Function supports_compile_program

compute/test/quirks.hpp:108–112  ·  view source on GitHub ↗

returns true if the device supports clCompileProgram

Source from the content-addressed store, hash-verified

106
107// returns true if the device supports clCompileProgram
108inline bool supports_compile_program(const boost::compute::device &device)
109{
110 // unimplemented in POCL
111 return !is_pocl_device(device);
112}
113
114// returns true if the device supports clLinkProgram
115inline bool supports_link_program(const boost::compute::device &device)

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 1

is_pocl_deviceFunction · 0.85

Tested by

no test coverage detected