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

Function supports_link_program

compute/test/quirks.hpp:115–119  ·  view source on GitHub ↗

returns true if the device supports clLinkProgram

Source from the content-addressed store, hash-verified

113
114// returns true if the device supports clLinkProgram
115inline bool supports_link_program(const boost::compute::device &device)
116{
117 // unimplemented in POCL
118 return !is_pocl_device(device);
119}
120
121// See https://github.com/pocl/pocl/issues/577, POCL fails when a program
122// with incorrect code is built for the 2nd time

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 1

is_pocl_deviceFunction · 0.85

Tested by

no test coverage detected