Skip to content

Instantly share code, notes, and snippets.

@mcopik
Created November 14, 2016 23:15
Show Gist options
  • Save mcopik/cef7c4e2de382609b46a489573443474 to your computer and use it in GitHub Desktop.
Save mcopik/cef7c4e2de382609b46a489573443474 to your computer and use it in GitHub Desktop.
In file included from /home/mcopik/projects/sycl/hpx_algorithms/executor_transform/sycl_tests/executor_tests/executor_test.cpp:10:
In file included from /home/mcopik/projects/sycl/hpx_algorithms/executor_transform/hpx/hpx.hpp:9:
In file included from /home/mcopik/projects/sycl/hpx_algorithms/executor_transform/hpx/exception.hpp:14:
In file included from /home/mcopik/projects/sycl/hpx_algorithms/executor_transform/hpx/error_code.hpp:14:
In file included from /home/mcopik/projects/sycl/hpx_algorithms/executor_transform/hpx/exception_fwd.hpp:69:
In file included from /home/mcopik/projects/sycl/hpx_algorithms/executor_transform/hpx/throw_exception.hpp:17:
In file included from /usr/include/boost/exception_ptr.hpp:9:
In file included from /usr/include/boost/exception/detail/exception_ptr.hpp:20:
In file included from /usr/include/boost/exception/info.hpp:18:
In file included from /usr/include/boost/shared_ptr.hpp:17:
In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:27:
In file included from /usr/include/boost/config/no_tr1/memory.hpp:21:
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/memory:82:
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/bits/shared_ptr.h:52:
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/bits/shared_ptr_base.h:149:6: error: [Computecpp:CC0006]: virtual function call is not allowed within SYCL device code
_M_dispose();
^~~~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/bits/shared_ptr_base.h:166:10: error: [Computecpp:CC0006]: virtual function call is not allowed within SYCL device code
_M_destroy();
^~~~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/bits/shared_ptr_base.h:126:9: error: [Computecpp:CC0006]: Dynamic memory handling is not allowed within SYCL device code
{ delete this; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment