[RPC] Update build support for cross compiling apps/cpp_rpc with OpenCL (#6229)
authorChris Sullivan <csullivan@octoml.ai>
Tue, 11 Aug 2020 07:47:01 +0000 (00:47 -0700)
committerGitHub <noreply@github.com>
Tue, 11 Aug 2020 07:47:01 +0000 (15:47 +0800)
commit14f4efe83ebaa76085c3b5a3f36bbb3037bc385b
tree643c5f7756f48a198d1ebd0f1a6b8770080fe38c
parentee33056f408c55d4a4103dc7444af1b2d670f908
[RPC] Update build support for cross compiling apps/cpp_rpc with OpenCL (#6229)

* Standardize support for building and cross compiling apps/cpp_rpc.
* Add cmake coverage for building the C++ RPC server binary
  and update documentation.
* Add support for linking against custom OpenCL SDK employing
  a custom find_opencl macro. This can be useful when cross
  compiling with a custom OpenCL device driver.

* Update OpenCL related documentation.

* Add embedded linux build instructions to apps/cpp_rpc/README.md and
ensure pthread is linked against when OS=Linux is defined. Remove
outdated apps/cpp_rpc/Makefile.
CMakeLists.txt
apps/cpp_rpc/CMakeLists.txt
apps/cpp_rpc/Makefile [deleted file]
apps/cpp_rpc/README.md
cmake/config.cmake
cmake/modules/OpenCL.cmake
cmake/util/FindOpenCL.cmake [new file with mode: 0644]