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.
Questions tagged [intel-oneapi]
220 questions
0
votes
0 answers
GDB skips breakpoint in MPI and DPCPP code
As I understand from this link, MPI and DPCPP is possible together- https://community.intel.com/t5/Intel-oneAPI-HPC-Toolkit/Intel-MPI-support-GPU-Computing/td-p/1204653?profile.language=de
I am trying to use GDB on a simple MPI +DPCPP program as…

BoringSession
- 55
- 1
- 7
0
votes
0 answers
DPCPP+MPI file not found with angled include
I am using Intel OneAPI base kit and HPCToolkit to run a simple MPI and DPCPP program. The program can be found here: https://www.intel.com/content/www/us/en/developer/articles/technical/compile-and-run-mpi-programs-using-dpcpp-language.html
The…

BoringSession
- 55
- 1
- 7
0
votes
1 answer
PackagesNotFoundError When Trying to Install intel_extension_for_pytorch
I am trying to conda install intel_extension_for_pytorch but I keep getting the following error in the command line:
PackagesNotFoundError: The following packages are not available from current channels:
intel_extension_for_pytorch
this is the…

DevKnight2001
- 15
- 3
0
votes
1 answer
Why the Intel oneAPI tbb::blocked_range3d run code many times have different value?
I run this example many time, every time blocked_range3d has different value?
I test this because I make my blocked_range2d+for to blocked_range3d, and it make a lot error vaule. Is it my code have some bug? Can someone help me findout?
I alse post…

Ou QuanQuan
- 1
- 3
0
votes
0 answers
Error Calling dmumps_c() and zmumps_c() for MUMPS 5.5.1.5
I m using MUMPS 5.5.1.5 compiled with CMake 3.24.2 and Intel one Api on Windows .
After generating and Building the projects .
I Had called dmumps_c() and zmumps_c() from mumps libraries .
Errors appeared ::
DirectMumps.obj : error LNK2001:…

Arwa Elwadhane
- 1
- 1
0
votes
1 answer
Configuring CMake and Microsoft Visual Studio 2019 for Use with Intel Compilers
I tried to determine if CMake is an option to simplify the cross-platform development of a c++ library that I am working on. Linux is done. Now, I am trying to use CMake on windows. Setting up CMake using the Visual Studio Generators of CMake was…

user2509663
- 179
- 2
- 2
- 10
0
votes
1 answer
Intel Inspector: "Source file not found. Suggestion: Specify locations in a Project Properties dialog box search tab."
I'm building a small application to my phd research. As the application is presenting some undefined behavior, I decided to use the Intel Inspector standalone GUI to locate memory problems and it manage to find a considerably amount of problems as…

Lgcos
- 91
- 7
0
votes
1 answer
Passing lambda function to a SYCL parallel for region
A SYCL kernel can be submitted to a queue as follows -
Queue.submit([=](handler& cgh){
cgh.parallel_for(_range, [=](nd_item<2> iter{
Write your function (F) here.
});
});
Now, the above mentioned function F is…

Atharva Dubey
- 832
- 1
- 8
- 25
0
votes
1 answer
Bash script to set env variables does not work when using source and only works with bash -c
The oneAPI toolkit provided by Intel requires sourcing of a bash script to add several executables/libraries to $PATH and other environment variables.
For this, the documentation instructs to run a provided script as
source setvars.sh
However, on a…

Cibin Joseph
- 1,173
- 1
- 11
- 16
0
votes
1 answer
How to force ./configure to use intel oneAPI compilers?
I recently installed Intel® oneAPI Base Toolkit and Intel® oneAPI HPC Toolkit using the cimmands:
sudo yum install intel-basekit
sudo yum install intel-hpckit
The packages are installed in /opt/intel/oneapi
but when I run ./configure it usually…

Derive D1
- 25
- 4
0
votes
1 answer
CL/sycl.hpp not located by VS Code (ubuntu 22.04)
I am starting with SYCL and my code runs well. However in the VS Code editor,#include is showing error squiggles and I need to update the include path to get the auto-suggestions. However I am unable to locate where the file is. I did a…

BoringSession
- 55
- 1
- 7
0
votes
1 answer
How to use oneTBB along with openMP
In oneTBB, the number of tasks running in parallel are taken care of by the library to ensure the number of activated threads not exceeding hardware limit. And it also states that the nested parallelism introduced by nested calls to built-in…

Scriabin
- 21
- 6
0
votes
1 answer
Problem to load Qt dependencies for python after load Intel oneAPI environment
I'm trying to automate some tasks for my phd research. Basically I have a .bat script does the following:
Activates the Intel OneAPI environment to compile some C code in order to run some numerical simulations.
Compile the C code
Execute the .exe…

Lgcos
- 91
- 7
0
votes
1 answer
Trying to implement 2d array addition. in DPC++
I am learning dpc++ and trying to implement 2d array matrix program. I am stuck in between the program. Please check the blow code and support me. Need help.
#include
#include
#define N 2
using namespace sycl;
int main(){
int…

BHARATH KUMAR
- 11
- 2
0
votes
1 answer
Where is oneapi/mkl/rng/device.hpp in oneMKL?
I saw this include in some sycl projects using oneMKL library and it is also used by other intel's libraries like dpct.
However browsing oneMKL source code I don't find this file under oneapi/mkl/rng.
Where is it ?

Elle
- 305
- 2
- 10