kylelutz/compute — pull request #168 by kylelutz (2014-07-03 06:26:12+00:00)
Title: Add check for packed structs in BOOST_COMPUTE_ADAPT_STRUCT()

This adds a compile-time check for non-padded structs in the
`BOOST_COMPUTE_ADAPT_STRUCT()` macro. Also updates the macro to
add `"__attribute__((packed))"` to the OpenCL struct definition.