diff options
Diffstat (limited to 'modules/remote-opencl')
-rw-r--r-- | modules/remote-opencl/.nix/derivation.nix | 1 | ||||
-rw-r--r-- | modules/remote-opencl/SConstruct | 3 | ||||
-rw-r--r-- | modules/remote-opencl/c++/remote.hpp | 10 |
3 files changed, 7 insertions, 7 deletions
diff --git a/modules/remote-opencl/.nix/derivation.nix b/modules/remote-opencl/.nix/derivation.nix index 8c14796..2d095df 100644 --- a/modules/remote-opencl/.nix/derivation.nix +++ b/modules/remote-opencl/.nix/derivation.nix @@ -26,6 +26,7 @@ in stdenv.mkDerivation { forstio.codec forstio.async forstio.io + forstio.io_codec opencl-clhpp ]; diff --git a/modules/remote-opencl/SConstruct b/modules/remote-opencl/SConstruct index e344f75..2734d6e 100644 --- a/modules/remote-opencl/SConstruct +++ b/modules/remote-opencl/SConstruct @@ -50,7 +50,8 @@ env=Environment(ENV=os.environ, variables=env_vars, CPPPATH=[], 'forstio-core', 'forstio-codec', 'forstio-async', - 'forstio-io' + 'forstio-io', + 'forstio-io_codec' ] ); env.__class__.add_source_files = add_kel_source_files diff --git a/modules/remote-opencl/c++/remote.hpp b/modules/remote-opencl/c++/remote.hpp index 7ede933..3073b23 100644 --- a/modules/remote-opencl/c++/remote.hpp +++ b/modules/remote-opencl/c++/remote.hpp @@ -1,8 +1,6 @@ #pragma once -#include <CL/opencl.hpp> - -#include <forstio/codec/rpc.hpp> +#include <forstio/io_codec/rpc.hpp> namespace saw { namespace rmt { @@ -15,7 +13,7 @@ private: SAW_FORBID_COPY(remote); SAW_FORBID_MOVE(remote); public: - remote_api(){} + remote(){} /* error_or<void> create_remote(){ @@ -27,12 +25,12 @@ public: template<> struct remote_address<rmt::OpenCl> { private: - remote_ctx<rmt::OpenCl>* ctx_; + remote<rmt::OpenCl>* ctx_; SAW_FORBID_COPY(remote_address); SAW_FORBID_MOVE(remote_address); public: - remote(remote_ctx<rmt::OpenCl>& r_ctx): + remote_address(remote<rmt::OpenCl>& r_ctx): ctx_{&r_ctx} {} |