|
12 | 12 |
|
13 | 13 | add_sycl_plugin(opencl
|
14 | 14 | SOURCES
|
| 15 | + # Some code is shared with the UR adapter |
| 16 | + "../unified_runtime/pi2ur.hpp" |
| 17 | + "../unified_runtime/pi2ur.cpp" |
| 18 | + "../unified_runtime/ur/ur.hpp" |
| 19 | + "../unified_runtime/ur/ur.cpp" |
| 20 | + "../unified_runtime/ur/adapters/opencl/adapter.cpp" |
| 21 | + "../unified_runtime/ur/adapters/opencl/adapter.hpp" |
| 22 | + "../unified_runtime/ur/adapters/opencl/common.cpp" |
| 23 | + "../unified_runtime/ur/adapters/opencl/common.hpp" |
| 24 | + "../unified_runtime/ur/adapters/opencl/context.cpp" |
| 25 | + "../unified_runtime/ur/adapters/opencl/context.hpp" |
| 26 | + "../unified_runtime/ur/adapters/opencl/device.cpp" |
| 27 | + "../unified_runtime/ur/adapters/opencl/device.hpp" |
| 28 | + "../unified_runtime/ur/adapters/opencl/enqueue.cpp" |
| 29 | + "../unified_runtime/ur/adapters/opencl/image.cpp" |
| 30 | + "../unified_runtime/ur/adapters/opencl/kernel.cpp" |
| 31 | + "../unified_runtime/ur/adapters/opencl/platform.cpp" |
| 32 | + "../unified_runtime/ur/adapters/opencl/platform.hpp" |
| 33 | + "../unified_runtime/ur/adapters/opencl/sampler.cpp" |
| 34 | + "../unified_runtime/ur/adapters/opencl/memory.cpp" |
| 35 | + "../unified_runtime/ur/adapters/opencl/usm.cpp" |
| 36 | + "../unified_runtime/ur/adapters/opencl/program.cpp" |
| 37 | + "../unified_runtime/ur/adapters/opencl/event.cpp" |
| 38 | + "../unified_runtime/ur/adapters/opencl/queue.cpp" |
| 39 | + "../unified_runtime/ur/adapters/opencl/command_buffer.hpp" |
| 40 | + "../unified_runtime/ur/adapters/opencl/command_buffer.cpp" |
| 41 | + "../unified_runtime/ur/adapters/opencl/usm_p2p.cpp" |
| 42 | + # --- |
15 | 43 | "${sycl_inc_dir}/sycl/detail/pi.h"
|
16 | 44 | "pi_opencl.cpp"
|
| 45 | + INCLUDE_DIRS |
| 46 | + ${sycl_inc_dir} |
| 47 | + ${CMAKE_CURRENT_SOURCE_DIR}/../unified_runtime |
17 | 48 | LIBRARIES
|
| 49 | + UnifiedRuntime-Headers |
18 | 50 | OpenCL-ICD
|
19 | 51 | )
|
20 | 52 |
|
|
0 commit comments