summaryrefslogtreecommitdiff
path: root/tests/cppbasic/compute.cpp
diff options
context:
space:
mode:
authorYong Chen <yong.a.chen@intel.com>2014-08-14 18:28:38 +0800
committerTim Murray <timmurray@google.com>2014-08-18 20:57:38 +0000
commit4e3633777ac5aadab5358b65b30ad4806432df83 (patch)
treed5173d71b9f9edf4022b29c8d50d07784a21fefb /tests/cppbasic/compute.cpp
parentcd8df40f07d88f896bea05ed06a20d1a4d5e9728 (diff)
Explicitly accept RS large objects as references.
AArch64 promotes large objects to be passed by reference. As a result, if large objects as passed by value in rsdRuntimeStubs, the AArch64 kernel and an AArch64 rsdRuntimeStubs will have the same calling convention, both will promote, and everything will work. However, other architectures do not share this same behavior by promoting large object structs to being passed by reference. As a result, an AArch64 kernel and an x86_64 rsdRuntimeStubs will disagree on the calling convention, causing a crash. AArch64 continues to work despite this change because the calling conventions continue to line up, even if the rsdRuntimeStubs side explicitly uses pointers while the kernel side does not. Change-Id: I5bc29de5259eda26967f2b32980d40ce249f9599 Signed-off-by: Yong Chen <yong.a.chen@intel.com>
Diffstat (limited to 'tests/cppbasic/compute.cpp')
0 files changed, 0 insertions, 0 deletions