Questions tagged [intel-oneapi]

Use this tag to ask questions about the overall oneAPI programming model which provides unified developer tools that can be used across multiple hardware platforms, including a range of performance libraries spanning several workload domains. The libraries include functions custom-coded for each target architecture so the same function call delivers optimized performance across supported architectures.

220 questions
0
votes
1 answer

dpc++ error Command group submitted without a kernel or a explicit memory operation. -59 (CL_INVALID_OPERATION)

I was trying out sycl/dpc++. I have written the below code. I am creating an array deviceArr on device side to which values of hostArr are copied using memcpy and then values of the devicearray are incremented by 1 using a parallel_for kernel and…
ArunJose
  • 1,999
  • 1
  • 10
  • 33
0
votes
2 answers

Tensorflow Object Detection API - ImportError when I try to run model_builder_test.py

I am creating a custom object detection model using Tensor Object detection API. I installed everything as mentioned in this notebook and following the same steps as mentioned in this notebook but when I try to run model_builder_test.py file import…
0
votes
1 answer

VScode cannot connect to WSL correctly

I am trying to use vscode to connect to wsl to compile my Fortran code with cmake. When I tried to configure my project, cmake report error says ifort is not able to compile a simple test program.The full cmake output is here: [main] Building…
0
votes
1 answer

DPCPP: Work on 1D vector like a 2D vector in SYCL+ OneAPI

I try to execute my slice_matrix function on GPU. The actual function is: //Function which Slice a specific part of my matricx template std::vector> slice_matrix(std::vector> mat, int i, int j, int…
saharsa
  • 467
  • 1
  • 7
  • 24
0
votes
1 answer

Error no matching function for call to 'slice_matrix' for Cross Correlation function+Sycl

I try to write 2D Cross correlation in Sycl and OneAPI. The idea is to write a kind of Map skeleton which wraps OneAPI calls hiding hardware targeting issues through some parameter specifying the kind of target (CPU or GPU/Accelerator). this is my…
saharsa
  • 467
  • 1
  • 7
  • 24
0
votes
1 answer

Cross Correlation and Errors in Sycl part+ DPCPP

I try to write Cross Correlation function. In my program I wrote a Map skeleton which wraps OneAPI calls hiding hardware targeting issues through some parameter specifying the kind of target (CPU or GPU/Accelerator). The problem is that, in the Sycl…
SSAH
  • 23
  • 5
0
votes
1 answer

C++ compiling and Linking issues

I'm trying to compile a project containing C and C++ files. I'm using icc compiler (Intel OneAPI toolkit) on Ubuntu. I'm also using Makefiles to compile and link programs/libraries. however, I am receiving three following…
0
votes
1 answer

What is the internal container used in tbb::concurrent_bounded_queue?

I know that std::queue uses a std::deque by default as its internal container. I could not find the same info for TBB. I have a legacy multithreaded application that currently uses a thread-safe wrapper around a std::queue>…
Suhail Khan
  • 190
  • 1
  • 1
  • 7
0
votes
1 answer

Create a static or shared library from sycl program using dpc++

I am trying to create a static or shared library from a sycl program and use it from a main application build using gcc/g++/clang++. Everything is fine if I use dpcpp to build my main application, but I need to use g++. For example, my sample…
sriraj
  • 93
  • 5
0
votes
1 answer

Intel one-api compiler errors in compiling GDAL cpp files

I aim to compile gdal cpp files as a mini-stage of compiling a hydrological model. To do so, on Ubuntu, I installed Intel OneAPI base toolkit. Using its compiler, icpx, I tried to compile gdal cpp files. However, it throws errors related of not…
0
votes
1 answer

Error: Could not create output file Processed 0 frames

I am running one of the oneVPL samples- hello-vpp. I've downloaded the samples source code from oneAPI samples repository- https://github.com/oneapi-src/oneAPI-samples.git My OS is Ubuntu 18.04. After build, I tried the below command to get the…
AlekhyaV - Intel
  • 580
  • 3
  • 21
0
votes
1 answer

How to debug the below DPC++ program with the kernel offloaded to the GPU?

I want to run a DPC++ program in Intel GNU Project Debugger. I have downloaded the Intel GDB from Intel OneAPI Basekit. It comes preinstalled with OneAPI Basekit. The link to download is…
AlekhyaV - Intel
  • 580
  • 3
  • 21
0
votes
0 answers

Intel's oneapi C compiler not producing debug information

I have some simple code #include #include int main() { printf("Hello world\n"); return EXIT_SUCCESS; } I would like to debug it so I compile like so icl.exe /Z7 /debug:all /Od main.c -o test.exe I then run the…
DJames
  • 571
  • 3
  • 17
0
votes
2 answers

PATH variable in Visual Studio Code different from Terminal on Mac

The PATH variable in the integrated Terminal in Visual Studio Code is different from the one in the Terminal app. How can I change it? I'm using the Intel Distribution for Python from Intel oneAPI and I have both the setvars.sh script called and the…
Wolfy
  • 1,445
  • 1
  • 14
  • 28
0
votes
1 answer

Simple_Add DPC++ oneAPI example fails to run

I am trying to run a basic Simple_Add DPC++ example from the oneAPI sample browser; I using VS2019 and oneAPI toolkit 2021 Beta Update 10.Running the project, it crashes here  queue q(d_selector, dpc_common::exception_handler); throwing the…
Stefano Piovesan
  • 1,185
  • 3
  • 19
  • 37