From 80b867d69d515d82bdb49734cff8f061574a7691 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Wed, 4 Dec 2019 18:20:52 +0000 Subject: COMPMID-2973: Update documentation for exporting libOpenCL.so In some platforms the OpenCL library might need to be exported in the LD_LIBRARY_PATH in order to be "visible". Change-Id: I8ac2e67258d0a4d2ddca3cb4eadce590d7433904 Signed-off-by: Georgios Pinitas Reviewed-on: https://review.mlplatform.org/c/2419 Tested-by: Arm Jenkins Reviewed-by: Michele Di Giorgio --- docs/00_introduction.dox | 1 + docs/02_tests.dox | 1 + 2 files changed, 2 insertions(+) (limited to 'docs') diff --git a/docs/00_introduction.dox b/docs/00_introduction.dox index 301e9755cc..b337d407d5 100644 --- a/docs/00_introduction.dox +++ b/docs/00_introduction.dox @@ -1205,6 +1205,7 @@ i.e. to natively compile the "graph_lenet" example for Linux 64bit: @note If compiling using static libraries, this order must be followed when linking: arm_compute_graph_static, arm_compute, arm_compute_core @note These two commands assume libarm_compute.so is available in your library path, if not add the path to it using -L +@note You might need to export the path to OpenCL library as well in your LD_LIBRARY_PATH if Compute Library was build with OpenCL enabled. To run the built executable simply run: diff --git a/docs/02_tests.dox b/docs/02_tests.dox index 81edcf2b52..37c318e72f 100644 --- a/docs/02_tests.dox +++ b/docs/02_tests.dox @@ -401,6 +401,7 @@ To run the OpenCL precommit benchmark tests with OpenCL kernel timers in milisec LD_LIBRARY_PATH=. ./arm_compute_benchmark --mode=precommit --filter="^CL.*" --instruments="opencl_timer_ms" --iterations=10 +@note You might need to export the path to OpenCL library as well in your LD_LIBRARY_PATH if Compute Library was build with OpenCL enabled. */ } // namespace test } // namespace arm_compute -- cgit v1.2.1