From 8a76c69387308ee24041a669d543f0bf7958b87c Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Tue, 10 Sep 2024 14:24:19 +0200 Subject: [PATCH] Move CL wrappers to subfolder. --- lib/{ => cl}/CL.jl | 0 lib/{ => cl}/api.jl | 2 +- lib/{ => cl}/buffer.jl | 0 lib/{ => cl}/cmdqueue.jl | 0 lib/{ => cl}/context.jl | 0 lib/{ => cl}/device.jl | 0 lib/{ => cl}/error.jl | 0 lib/{ => cl}/event.jl | 0 lib/{ => cl}/kernel.jl | 0 lib/{ => cl}/libopencl.jl | 0 lib/{ => cl}/memory.jl | 0 lib/{ => cl}/platform.jl | 0 lib/{ => cl}/program.jl | 0 lib/{ => cl}/state.jl | 0 src/OpenCL.jl | 2 +- 15 files changed, 2 insertions(+), 2 deletions(-) rename lib/{ => cl}/CL.jl (100%) rename lib/{ => cl}/api.jl (98%) rename lib/{ => cl}/buffer.jl (100%) rename lib/{ => cl}/cmdqueue.jl (100%) rename lib/{ => cl}/context.jl (100%) rename lib/{ => cl}/device.jl (100%) rename lib/{ => cl}/error.jl (100%) rename lib/{ => cl}/event.jl (100%) rename lib/{ => cl}/kernel.jl (100%) rename lib/{ => cl}/libopencl.jl (100%) rename lib/{ => cl}/memory.jl (100%) rename lib/{ => cl}/platform.jl (100%) rename lib/{ => cl}/program.jl (100%) rename lib/{ => cl}/state.jl (100%) diff --git a/lib/CL.jl b/lib/cl/CL.jl similarity index 100% rename from lib/CL.jl rename to lib/cl/CL.jl diff --git a/lib/api.jl b/lib/cl/api.jl similarity index 98% rename from lib/api.jl rename to lib/cl/api.jl index c3a52c5f..4340876d 100644 --- a/lib/api.jl +++ b/lib/cl/api.jl @@ -69,7 +69,7 @@ function retry_reclaim(f, isfailed) ret end -include("../lib/libopencl.jl") +include("libopencl.jl") # lazy initialization const initialized = Ref{Bool}(false) diff --git a/lib/buffer.jl b/lib/cl/buffer.jl similarity index 100% rename from lib/buffer.jl rename to lib/cl/buffer.jl diff --git a/lib/cmdqueue.jl b/lib/cl/cmdqueue.jl similarity index 100% rename from lib/cmdqueue.jl rename to lib/cl/cmdqueue.jl diff --git a/lib/context.jl b/lib/cl/context.jl similarity index 100% rename from lib/context.jl rename to lib/cl/context.jl diff --git a/lib/device.jl b/lib/cl/device.jl similarity index 100% rename from lib/device.jl rename to lib/cl/device.jl diff --git a/lib/error.jl b/lib/cl/error.jl similarity index 100% rename from lib/error.jl rename to lib/cl/error.jl diff --git a/lib/event.jl b/lib/cl/event.jl similarity index 100% rename from lib/event.jl rename to lib/cl/event.jl diff --git a/lib/kernel.jl b/lib/cl/kernel.jl similarity index 100% rename from lib/kernel.jl rename to lib/cl/kernel.jl diff --git a/lib/libopencl.jl b/lib/cl/libopencl.jl similarity index 100% rename from lib/libopencl.jl rename to lib/cl/libopencl.jl diff --git a/lib/memory.jl b/lib/cl/memory.jl similarity index 100% rename from lib/memory.jl rename to lib/cl/memory.jl diff --git a/lib/platform.jl b/lib/cl/platform.jl similarity index 100% rename from lib/platform.jl rename to lib/cl/platform.jl diff --git a/lib/program.jl b/lib/cl/program.jl similarity index 100% rename from lib/program.jl rename to lib/cl/program.jl diff --git a/lib/state.jl b/lib/cl/state.jl similarity index 100% rename from lib/state.jl rename to lib/cl/state.jl diff --git a/src/OpenCL.jl b/src/OpenCL.jl index c1c793b3..201fe4fe 100644 --- a/src/OpenCL.jl +++ b/src/OpenCL.jl @@ -6,7 +6,7 @@ using SPIRV_LLVM_Translator_unified_jll using Adapt # library wrappers -include("../lib/CL.jl") +include("../lib/cl/CL.jl") using .cl export cl