From 6debd8a04fc37975a9f2a981b993955a30c69b8b Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Mon, 15 Apr 2024 16:30:04 +0200 Subject: io_codec: Fixed rpc issues and removed includes for opencl in headers --- modules/remote-opencl/.nix/derivation.nix | 1 + modules/remote-opencl/SConstruct | 3 ++- modules/remote-opencl/c++/remote.hpp | 10 ++++------ 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'modules/remote-opencl') 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 - -#include +#include namespace saw { namespace rmt { @@ -15,7 +13,7 @@ private: SAW_FORBID_COPY(remote); SAW_FORBID_MOVE(remote); public: - remote_api(){} + remote(){} /* error_or create_remote(){ @@ -27,12 +25,12 @@ public: template<> struct remote_address { private: - remote_ctx* ctx_; + remote* ctx_; SAW_FORBID_COPY(remote_address); SAW_FORBID_MOVE(remote_address); public: - remote(remote_ctx& r_ctx): + remote_address(remote& r_ctx): ctx_{&r_ctx} {} -- cgit v1.2.3