lang/opensycl: New port: Multi-backend implementation of SYCL for CPUs and GPUs

This commit is contained in:
Yuri Victorovich 2023-04-02 10:50:24 -07:00
parent d09e89181b
commit 18b9e6b0fe
5 changed files with 273 additions and 0 deletions

View file

@ -219,6 +219,7 @@
SUBDIR += onyx
SUBDIR += oo2c
SUBDIR += opencoarrays
SUBDIR += opensycl
SUBDIR += ott
SUBDIR += owl-lisp
SUBDIR += p5-Data-JavaScript

24
lang/opensycl/Makefile Normal file
View file

@ -0,0 +1,24 @@
PORTNAME= opensycl
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.4
CATEGORIES= lang
MAINTAINER= yuri@FreeBSD.org
COMMENT= Multi-backend implementation of SYCL for CPUs and GPUs
WWW= https://github.com/OpenSYCL/OpenSYCL
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= boost-libs>0:devel/boost-libs
USES= cmake compiler:c++11-lang llvm:15 python shebangfix
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= OpenSYCL
GH_PROJECT= OpenSYCL
SHEBANG_FILES= bin/syclcc-clang cmake/syclcc-launcher
.include <bsd.port.mk>

3
lang/opensycl/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1680456959
SHA256 (OpenSYCL-OpenSYCL-v0.9.4_GH0.tar.gz) = 6262533191c812966e2f8b67e6ae510ae5ad2cf7e0caecc9957e8a69423e51c4
SIZE (OpenSYCL-OpenSYCL-v0.9.4_GH0.tar.gz) = 1666100

2
lang/opensycl/pkg-descr Normal file
View file

@ -0,0 +1,2 @@
Open SYCL is a modern SYCL implementation targeting CPUs and GPUs from all major
vendors that supports many use cases and approaches for implementing SYCL.

243
lang/opensycl/pkg-plist Normal file
View file

@ -0,0 +1,243 @@
bin/hipsycl-hcf-tool
bin/hipsycl-info
bin/syclcc
bin/syclcc-clang
etc/hipSYCL/syclcc.json
include/CL/sycl.hpp
include/SYCL/sycl.hpp
include/hipSYCL/common/config.hpp
include/hipSYCL/common/debug.hpp
include/hipSYCL/common/hcf_container.hpp
include/hipSYCL/common/reinterpret_pointer_cast.hpp
include/hipSYCL/common/small_map.hpp
include/hipSYCL/compiler/Attributes.hpp
include/hipSYCL/compiler/CompilationState.hpp
include/hipSYCL/compiler/Frontend.hpp
include/hipSYCL/compiler/FrontendPlugin.hpp
include/hipSYCL/compiler/GlobalsPruningPass.hpp
include/hipSYCL/compiler/cbs/AllocaSSA.hpp
include/hipSYCL/compiler/cbs/CanonicalizeBarriers.hpp
include/hipSYCL/compiler/cbs/IRUtils.hpp
include/hipSYCL/compiler/cbs/KernelFlattening.hpp
include/hipSYCL/compiler/cbs/LoopSimplify.hpp
include/hipSYCL/compiler/cbs/LoopSplitterInlining.hpp
include/hipSYCL/compiler/cbs/LoopsParallelMarker.hpp
include/hipSYCL/compiler/cbs/MathUtils.hpp
include/hipSYCL/compiler/cbs/PHIsToAllocas.hpp
include/hipSYCL/compiler/cbs/PipelineBuilder.hpp
include/hipSYCL/compiler/cbs/Region.hpp
include/hipSYCL/compiler/cbs/RemoveBarrierCalls.hpp
include/hipSYCL/compiler/cbs/SimplifyKernel.hpp
include/hipSYCL/compiler/cbs/SplitterAnnotationAnalysis.hpp
include/hipSYCL/compiler/cbs/SubCfgFormation.hpp
include/hipSYCL/compiler/cbs/SyncDependenceAnalysis.hpp
include/hipSYCL/compiler/cbs/UniformityAnalysis.hpp
include/hipSYCL/compiler/cbs/VectorShape.hpp
include/hipSYCL/compiler/cbs/VectorShapeTransformer.hpp
include/hipSYCL/compiler/cbs/VectorizationInfo.hpp
include/hipSYCL/glue/backend_interop.hpp
include/hipSYCL/glue/cuda/cuda_interop.hpp
include/hipSYCL/glue/cuda/cuda_kernel_launcher.hpp
include/hipSYCL/glue/embedded_pointer.hpp
include/hipSYCL/glue/error.hpp
include/hipSYCL/glue/generic/code_object.hpp
include/hipSYCL/glue/generic/hiplike/clang.hpp
include/hipSYCL/glue/generic/hiplike/hiplike_kernel_launcher.hpp
include/hipSYCL/glue/generic/hiplike/hiplike_reducer.hpp
include/hipSYCL/glue/generic/hiplike/nvcxx.hpp
include/hipSYCL/glue/generic/host/collective_execution_engine.hpp
include/hipSYCL/glue/generic/host/iterate_range.hpp
include/hipSYCL/glue/generic/host/range_decomposition.hpp
include/hipSYCL/glue/generic/host/sequential_reducer.hpp
include/hipSYCL/glue/hip/hip_interop.hpp
include/hipSYCL/glue/hip/hip_kernel_launcher.hpp
include/hipSYCL/glue/kernel_launcher_factory.hpp
include/hipSYCL/glue/kernel_names.hpp
include/hipSYCL/glue/omp/omp_interop.hpp
include/hipSYCL/glue/omp/omp_kernel_launcher.hpp
include/hipSYCL/glue/persistent_runtime.hpp
include/hipSYCL/glue/ze/ze_interop.hpp
include/hipSYCL/glue/ze/ze_kernel_launcher.hpp
include/hipSYCL/runtime/allocator.hpp
include/hipSYCL/runtime/application.hpp
include/hipSYCL/runtime/async_errors.hpp
include/hipSYCL/runtime/backend.hpp
include/hipSYCL/runtime/backend_loader.hpp
include/hipSYCL/runtime/code_object_invoker.hpp
include/hipSYCL/runtime/cuda/cuda_allocator.hpp
include/hipSYCL/runtime/cuda/cuda_backend.hpp
include/hipSYCL/runtime/cuda/cuda_code_object.hpp
include/hipSYCL/runtime/cuda/cuda_device_manager.hpp
include/hipSYCL/runtime/cuda/cuda_event.hpp
include/hipSYCL/runtime/cuda/cuda_event_pool.hpp
include/hipSYCL/runtime/cuda/cuda_hardware_manager.hpp
include/hipSYCL/runtime/cuda/cuda_instrumentation.hpp
include/hipSYCL/runtime/cuda/cuda_queue.hpp
include/hipSYCL/runtime/dag.hpp
include/hipSYCL/runtime/dag_builder.hpp
include/hipSYCL/runtime/dag_direct_scheduler.hpp
include/hipSYCL/runtime/dag_manager.hpp
include/hipSYCL/runtime/dag_node.hpp
include/hipSYCL/runtime/dag_submitted_ops.hpp
include/hipSYCL/runtime/dag_unbound_scheduler.hpp
include/hipSYCL/runtime/data.hpp
include/hipSYCL/runtime/device_id.hpp
include/hipSYCL/runtime/device_list.hpp
include/hipSYCL/runtime/error.hpp
include/hipSYCL/runtime/event.hpp
include/hipSYCL/runtime/event_pool.hpp
include/hipSYCL/runtime/executor.hpp
include/hipSYCL/runtime/generic/async_worker.hpp
include/hipSYCL/runtime/generic/host_timestamped_event.hpp
include/hipSYCL/runtime/generic/multi_event.hpp
include/hipSYCL/runtime/generic/timestamp_delta_instrumentation.hpp
include/hipSYCL/runtime/hardware.hpp
include/hipSYCL/runtime/hints.hpp
include/hipSYCL/runtime/hip/hip_allocator.hpp
include/hipSYCL/runtime/hip/hip_backend.hpp
include/hipSYCL/runtime/hip/hip_code_object.hpp
include/hipSYCL/runtime/hip/hip_device_manager.hpp
include/hipSYCL/runtime/hip/hip_event.hpp
include/hipSYCL/runtime/hip/hip_event_pool.hpp
include/hipSYCL/runtime/hip/hip_hardware_manager.hpp
include/hipSYCL/runtime/hip/hip_instrumentation.hpp
include/hipSYCL/runtime/hip/hip_queue.hpp
include/hipSYCL/runtime/hip/hip_target.hpp
include/hipSYCL/runtime/hw_model/cost.hpp
include/hipSYCL/runtime/hw_model/hw_model.hpp
include/hipSYCL/runtime/hw_model/memcpy.hpp
include/hipSYCL/runtime/inorder_executor.hpp
include/hipSYCL/runtime/inorder_queue.hpp
include/hipSYCL/runtime/inorder_queue_event.hpp
include/hipSYCL/runtime/instrumentation.hpp
include/hipSYCL/runtime/kernel_cache.hpp
include/hipSYCL/runtime/kernel_launcher.hpp
include/hipSYCL/runtime/multi_queue_executor.hpp
include/hipSYCL/runtime/omp/omp_allocator.hpp
include/hipSYCL/runtime/omp/omp_backend.hpp
include/hipSYCL/runtime/omp/omp_event.hpp
include/hipSYCL/runtime/omp/omp_hardware_manager.hpp
include/hipSYCL/runtime/omp/omp_queue.hpp
include/hipSYCL/runtime/operations.hpp
include/hipSYCL/runtime/queue_completion_event.hpp
include/hipSYCL/runtime/runtime.hpp
include/hipSYCL/runtime/scheduler.hpp
include/hipSYCL/runtime/serialization/serialization.hpp
include/hipSYCL/runtime/settings.hpp
include/hipSYCL/runtime/signal_channel.hpp
include/hipSYCL/runtime/util.hpp
include/hipSYCL/runtime/ze/ze_allocator.hpp
include/hipSYCL/runtime/ze/ze_backend.hpp
include/hipSYCL/runtime/ze/ze_code_object.hpp
include/hipSYCL/runtime/ze/ze_event.hpp
include/hipSYCL/runtime/ze/ze_hardware_manager.hpp
include/hipSYCL/runtime/ze/ze_queue.hpp
include/hipSYCL/std/hiplike/complex
include/hipSYCL/sycl.hpp
include/hipSYCL/sycl/access.hpp
include/hipSYCL/sycl/aspect.hpp
include/hipSYCL/sycl/backend.hpp
include/hipSYCL/sycl/backend_interop.hpp
include/hipSYCL/sycl/buffer.hpp
include/hipSYCL/sycl/buffer_allocator.hpp
include/hipSYCL/sycl/buffer_explicit_behavior.hpp
include/hipSYCL/sycl/context.hpp
include/hipSYCL/sycl/detail/function_set.hpp
include/hipSYCL/sycl/detail/util.hpp
include/hipSYCL/sycl/device.hpp
include/hipSYCL/sycl/device_selector.hpp
include/hipSYCL/sycl/event.hpp
include/hipSYCL/sycl/exception.hpp
include/hipSYCL/sycl/extensions.hpp
include/hipSYCL/sycl/handler.hpp
include/hipSYCL/sycl/info/context.hpp
include/hipSYCL/sycl/info/device.hpp
include/hipSYCL/sycl/info/event.hpp
include/hipSYCL/sycl/info/info.hpp
include/hipSYCL/sycl/info/kernel.hpp
include/hipSYCL/sycl/info/param_traits.hpp
include/hipSYCL/sycl/info/platform.hpp
include/hipSYCL/sycl/info/program.hpp
include/hipSYCL/sycl/info/queue.hpp
include/hipSYCL/sycl/interop_handle.hpp
include/hipSYCL/sycl/kernel.hpp
include/hipSYCL/sycl/libkernel/accessor.hpp
include/hipSYCL/sycl/libkernel/atomic.hpp
include/hipSYCL/sycl/libkernel/atomic_builtins.hpp
include/hipSYCL/sycl/libkernel/atomic_ref.hpp
include/hipSYCL/sycl/libkernel/backend.hpp
include/hipSYCL/sycl/libkernel/builtin_interface.hpp
include/hipSYCL/sycl/libkernel/builtin_kernels.hpp
include/hipSYCL/sycl/libkernel/builtins.hpp
include/hipSYCL/sycl/libkernel/cuda/cuda_backend.hpp
include/hipSYCL/sycl/libkernel/cuda/group_functions.hpp
include/hipSYCL/sycl/libkernel/detail/builtin_dispatch.hpp
include/hipSYCL/sycl/libkernel/detail/data_layout.hpp
include/hipSYCL/sycl/libkernel/detail/device_array.hpp
include/hipSYCL/sycl/libkernel/detail/device_barrier.hpp
include/hipSYCL/sycl/libkernel/detail/local_memory_allocator.hpp
include/hipSYCL/sycl/libkernel/detail/mem_fence.hpp
include/hipSYCL/sycl/libkernel/detail/mobile_shared_ptr.hpp
include/hipSYCL/sycl/libkernel/detail/thread_hierarchy.hpp
include/hipSYCL/sycl/libkernel/detail/vec_simple_swizzles.hpp
include/hipSYCL/sycl/libkernel/device_event.hpp
include/hipSYCL/sycl/libkernel/functional.hpp
include/hipSYCL/sycl/libkernel/generic/hiplike/atomic_builtins.hpp
include/hipSYCL/sycl/libkernel/generic/hiplike/builtins.hpp
include/hipSYCL/sycl/libkernel/generic/hiplike/group_functions.hpp
include/hipSYCL/sycl/libkernel/generic/hiplike/warp_shuffle.hpp
include/hipSYCL/sycl/libkernel/group.hpp
include/hipSYCL/sycl/libkernel/group_functions.hpp
include/hipSYCL/sycl/libkernel/group_functions_alias.hpp
include/hipSYCL/sycl/libkernel/group_traits.hpp
include/hipSYCL/sycl/libkernel/h_item.hpp
include/hipSYCL/sycl/libkernel/hip/group_functions.hpp
include/hipSYCL/sycl/libkernel/hip/hip_backend.hpp
include/hipSYCL/sycl/libkernel/host/atomic_builtins.hpp
include/hipSYCL/sycl/libkernel/host/builtins.hpp
include/hipSYCL/sycl/libkernel/host/group_functions.hpp
include/hipSYCL/sycl/libkernel/host/host_backend.hpp
include/hipSYCL/sycl/libkernel/id.hpp
include/hipSYCL/sycl/libkernel/item.hpp
include/hipSYCL/sycl/libkernel/local_memory.hpp
include/hipSYCL/sycl/libkernel/memory.hpp
include/hipSYCL/sycl/libkernel/memory_environment.hpp
include/hipSYCL/sycl/libkernel/multi_ptr.hpp
include/hipSYCL/sycl/libkernel/nd_item.hpp
include/hipSYCL/sycl/libkernel/nd_range.hpp
include/hipSYCL/sycl/libkernel/private_memory.hpp
include/hipSYCL/sycl/libkernel/range.hpp
include/hipSYCL/sycl/libkernel/reduction.hpp
include/hipSYCL/sycl/libkernel/sp_group.hpp
include/hipSYCL/sycl/libkernel/sp_item.hpp
include/hipSYCL/sycl/libkernel/sp_private_memory.hpp
include/hipSYCL/sycl/libkernel/spirv/atomic_builtins.hpp
include/hipSYCL/sycl/libkernel/spirv/builtins.hpp
include/hipSYCL/sycl/libkernel/spirv/group_functions.hpp
include/hipSYCL/sycl/libkernel/spirv/spirv_backend.hpp
include/hipSYCL/sycl/libkernel/spirv/spirv_ops.hpp
include/hipSYCL/sycl/libkernel/spirv/spirv_types.hpp
include/hipSYCL/sycl/libkernel/spirv/spirv_vars.hpp
include/hipSYCL/sycl/libkernel/stream.hpp
include/hipSYCL/sycl/libkernel/sub_group.hpp
include/hipSYCL/sycl/libkernel/vec.hpp
include/hipSYCL/sycl/platform.hpp
include/hipSYCL/sycl/program.hpp
include/hipSYCL/sycl/property.hpp
include/hipSYCL/sycl/queue.hpp
include/hipSYCL/sycl/serialization/serialization.hpp
include/hipSYCL/sycl/sycl.hpp
include/hipSYCL/sycl/types.hpp
include/hipSYCL/sycl/usm.hpp
include/hipSYCL/sycl/usm_query.hpp
include/hipSYCL/sycl/version.hpp
include/sycl/sycl.hpp
lib/cmake/hipSYCL/hipsycl-config-version.cmake
lib/cmake/hipSYCL/hipsycl-config.cmake
lib/cmake/hipSYCL/hipsycl-targets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/hipSYCL/hipsycl-targets.cmake
lib/cmake/hipSYCL/syclcc-launch.rule.in
lib/cmake/hipSYCL/syclcc-launcher
lib/hipSYCL/librt-backend-omp.so
lib/libhipSYCL-rt.so
lib/libhipSYCL_clang.so