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

Function bug_in_struct_assignment

compute/test/quirks.hpp:38–41  ·  view source on GitHub ↗

AMD platforms have a bug when using struct assignment. this affects algorithms like fill() when used with pairs/tuples. see: https://community.amd.com/thread/166622

Source from the content-addressed store, hash-verified

36//
37// see: https://community.amd.com/thread/166622
38inline bool bug_in_struct_assignment(const boost::compute::device &device)
39{
40 return boost::compute::detail::is_amd_device(device);
41}
42
43// clEnqueueSVMMemcpy() operation does not work on AMD devices. This affects
44// copy() algorithm. This bug was fixed in AMD drivers for Windows.

Callers 4

CHECK_RANGE_EQUALFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 1

is_amd_deviceFunction · 0.85

Tested by

no test coverage detected