Questions tagged [sycl]

SYCL (pronounced ‘sickle’) is a royalty-free, cross-platform abstraction layer that builds on the underlying concepts, portability and efficiency of OpenCL that enables code for heterogeneous processors to be written in a “single-source” style using completely standard C++.

SYCL (pronounced ‘sickle’) is a royalty-free, cross-platform abstraction layer that builds on the underlying concepts, portability and efficiency of OpenCL that enables code for heterogeneous processors to be written in a “single-source” style using completely standard C++. SYCL is developed by the Khronos group.

SYCL single-source programming enables the host and kernel code for an application to be contained in the same source file, in a type-safe way and with the simplicity of a cross-platform asynchronous task graph. SYCL includes templates and generic lambda functions to enable higher-level application software to be cleanly coded with optimized acceleration of kernel code across the extensive range of shipping OpenCL 1.2 implementations.

Developers program at a higher level than OpenCL C or C++, but always have access to lower-level code through seamless integration with OpenCL, C/C++ libraries, and frameworks such as OpenCV™ or OpenMP™.

Implementations of SYCL include ComputeCpp and triSYCL.

151 questions
1
vote
0 answers

Tensorflow with sycl with fpga acceleration

So I need to have some form of low latency hardware acceleration for Tensorflow inferencing on a raspberry-pi. I looked into using leflow but it cannot support large tensorflow models on small FPGAs. I have figured out how to build tensorflow from…
dadrake
  • 112
  • 7
1
vote
0 answers

Crashed after running my tensorflow code on an armv8 device with GPU

I wanna run the deeplab models on my armv8 device with GPU through using the sycl. But I got stuck there. I have already built from source then installed the Tensorflow wheel on my firefly RK3399 device and no errors happened. But when I run the…
yrd241
  • 49
  • 1
  • 10
1
vote
1 answer

SYCL exception caught: Error: [ComputeCpp:RT0101] Failed to create kernel ((Kernel Name: SYCL_class_multiply))

I cloned https://github.com/codeplaysoftware/computecpp-sdk.git and modified the computecpp-sdk/samples/accessors/accessors.cpp file. I just added std::cout << "SYCL exception caught: " << e.get_cl_code() << '\n';. See the fully modified…
Akhilesh
  • 1,024
  • 1
  • 9
  • 26
1
vote
3 answers

terminate called after throwing an instance of 'cl::sycl::detail::exception_implementation<(cl::sycl::detail::exception_types)9>'

I am newbie in SYCL/OpenCL/GPGPU. I am trying to build and run sample code of constant addition program, #include #include #include #include namespace sycl = cl::sycl; //<
Akhilesh
  • 1,024
  • 1
  • 9
  • 26
1
vote
1 answer

Is there a way I can create an array of cl::sycl::pipe?

I am using the Xilinx's triSYCL github implementation,https://github.com/triSYCL/triSYCL. I am trying to create a design with 100 cl::sycl::pipes each with capacity= 6. And I am gonna access each pipe through a separate thread in my SYCL code. Here…
Tushar
  • 415
  • 2
  • 16
1
vote
2 answers

How to create an array of cl::sycl::buffers?

I am using the Xilinx's triSYCL github implementation,https://github.com/triSYCL/triSYCL. I am trying to create a design with 100 producer/consumer to read/write from 100 pipes. What I am not sure of is, How to create an array of cl::sycl::buffer…
Tushar
  • 415
  • 2
  • 16
1
vote
2 answers

How is control flow extracted from a SYCL kernel?

Using SYCL to run code on any OpenCL device doesn't require a custom compiler, as everything is done in a library (full of template magic), and a standard GCC/Clang will do just fine. Is this correct? (Especially in the case of triSYCL, which I'm…
Attila
  • 1,445
  • 1
  • 11
  • 21
0
votes
0 answers

How to use kernel_bundle with custom kernels in SYCL?

I'm trying to get a handle on SYCL's kernel_bundle functionality. My target is to use it as a db storage for my AOT precompiled custom kernels. The desirable result is to precompile these kernels into a stand alone library for other libraries to…
0
votes
2 answers

How do I Manage a Stateful Data Structure in Local Memory Shared by All Workitems in a OpenCL/SYCL Workgroup

I'm trying to optimize my memory-bound numerical simulation kernel in OpenCL/SYCL using local memory to allow data sharing between workitems, so that I can reduce redundant global memory traffic. When there's little to no data dependency within…
比尔盖子
  • 2,693
  • 5
  • 37
  • 53
0
votes
1 answer

SYCL USM on integrated devices

SYCL USM will work on discrete GPU if-and-only-if the GPU's hardware supports unified virtual address space. What is case regarding integrated GPUs? Can we assume that any integrated GPU supports USM? Thanks in advance. Ami
Ami
  • 1
0
votes
0 answers

Purpose of `use_host_ptr` property in SYCL

What is the point of use_host_ptr property in SYCL? Why will the SYCL runtime not use the memory pointed to by the provided host pointer? https://registry.khronos.org/SYCL/specs/sycl-2020/html/sycl-2020.html#sec:buffer-properties
ggg
  • 1,857
  • 2
  • 21
  • 33
0
votes
0 answers

SYCL - no GPU platform detected in Windows Visual Studio

I want to do workload on Nvidia GPU with SYCL in Windows 10 Pro 21H2 19044.3086. SYCL guide states that CUDA backend in supported on Windows: Build DPC++ toolchain with support for NVIDIA CUDA To enable support for CUDA devices, follow the…
Vladislav Kogan
  • 561
  • 6
  • 15
0
votes
2 answers

does valgrind support profiling SYCL applications

I'm trying to identify valgrind's support for different Programing languages, I just want to find the valgrind's support for the SYCL applications, if supports how to profile the SYCL Application, If not why? I tried finding the documents related to…
0
votes
0 answers

cannot copy results from device allocated memory to host SYCL unified shared memory

I'm new to SYCL and trying to run very simple vector addition program using ComputeCpp. #include #include class vector_addition; class vector_initialization; int main() { constexpr int size = 10; try { …
Dmytro
  • 190
  • 8
0
votes
0 answers

SYCL Explicit Data Movement from Image to Host

I'm having trouble trying to figure out how to do explicit data transfer to/from host when using sycl::image. I'm familiar with sycl::handler.copy when using buffers: float* host_ptr; sycl::buffer buf; sycl::queue&…
Biggy Smith
  • 910
  • 7
  • 14