Displaying 2 results from an estimated 2 matches for "add_numb".
Did you mean:
add_name
2019 Sep 19
2
Execute OpenCL
...im trying to use this tools for generating a
bytecode, then apply it modular optimizations and then generate an
executable to test the result.
First, I only want to compile a project and execute it to see how it works,
specifically this one:
https://github.com/rsnemmen/OpenCL-examples/tree/master/add_numbers
Which commands would you use?
I want to do that the .c file uses the .cl that i have compiled before with
clang and i do not know how to do it.
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attac...
2019 Sep 26
3
Execute OpenCL
...20 sept. 2019 a las 12:34, Sachkov, Alexey (<
alexey.sachkov at intel.com>) escribió:
> Hi Enrique,
>
>
>
> > First, I only want to compile a project and execute it to see how it
> works, specifically this one:
> https://github.com/rsnemmen/OpenCL-examples/tree/master/add_numbers
>
> As I can see, it has a Makefile which you could use. Anyway, on Linux you
> need to do something like:
>
> clang -std=c99 add_numbers.c -lOpenCL -I/path/to/folder/with/CL/cl.h
>
>
>
> Usually, libOpenCL.so and CL/cl.h are provided by OpenCL SDKs from HW/SW
> ven...