Skip to content
This repository was archived by the owner on Aug 11, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update SDK to ComputeCpp v1.0.1
The workaround for the reinterpret feature has been removed, as it is no longer necessary.
  • Loading branch information
DuncanMcBain committed Sep 27, 2018
commit 036cc5dc5e04bd62d6d2a6bc15dfb4729571cd6d
2 changes: 1 addition & 1 deletion .travis/build_computecpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -ev

# Get ComputeCpp
wget --no-check-certificate https://computecpp.codeplay.com/downloads/computecpp-ce/1.0.0/ubuntu-14.04-64bit.tar.gz
wget --no-check-certificate https://computecpp.codeplay.com/downloads/computecpp-ce/1.0.1/ubuntu-14.04-64bit.tar.gz
mkdir -p /tmp/computecpp
tar -xzf ubuntu-14.04-64bit.tar.gz -C /tmp/computecpp --strip-components=1
# Workaround for C99 definition conflict
Expand Down
5 changes: 0 additions & 5 deletions samples/reinterpret/reinterpret.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ int main() {
});
});

/* Workaround for known limitation in ComputeCpp, see blog post for
* details: https://www.codeplay.com/portal/
* 03-09-18-buffer-reinterpret-viewing-data-from-a-different-perspective */
{ auto acc = buf_int.get_access<cl::sycl::access::mode::read>(); }

auto ret = 0;
{
auto acc = buf_float.get_access<cl::sycl::access::mode::read>();
Expand Down