• Kenneth Moreland's avatar
    Check that all execution objects are trivially copyable · 294a30fd
    Kenneth Moreland authored
    When the dispatcher does it's "transport" phase, it returns an
    "execution object", but this object is held in the control environment
    (on the host) although it may point to resources in the execution
    environment (on the device). For this object to get from host to device,
    it must be trivially copyable. If it is not, compile and/or runtime
    errors could occur. So force this condition with a static assert.
    294a30fd
DispatcherBase.h 31.3 KB