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
Fortran .for file and Microsoft Visual Studio. How Can I Run It?
I'm new in Fortran and I need your help.
I'm a space engineering student and I'm used to code in MATLAB.
Right now I'm writing my MSc thesis and I have to deal with a code written in fortran77 (I'm guessing it by its extension ".for"). The code has…

Catarella
- 111
- 3
0
votes
1 answer
C header/API for intel dal?
I'm trying to use Intel Onedal (https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/onedal.html) to do some machine leaning training/inference.
Based on the source code I found in github, it seems that all the code is in…

lezebulon
- 7,607
- 11
- 42
- 73
0
votes
2 answers
Random exit code on giving larger array sizes in DPC++ Vector Addition
I am trying to run a hello-world DPC++ sample of oneAPI which adds two 1-D Arrays on both CPU and GPU, and verifies the results. Code is shown below:
/*
DataParallel Addition of two Vectors
*/
#include
#include
#include…

Karan Shah
- 417
- 6
- 21
0
votes
1 answer
intel-oneApi CUDA support was not enabled at compilation time
I am new to intel-oneapi, I followed intel's instructions to install oneApi on Ubuntu 20.04.
I successfully compiled vector-add example. Unfortunately, during runtime I get the following exception:
pi_die: CUDA support was not enabled at compilation…

Piotr Barejko
- 608
- 4
- 15
0
votes
1 answer
Intel Advisor beta offloading analysis: No execution count
I am trying to use Intel oneAPI advisor beta to do a GPU offloading analysis (via analyze.py and collect.py). I have the problem that all non offloaded regions show Cannot be modelled: No Execution Count.
Furthermore I get the warning
advixe:…

lm1909
- 35
- 7
0
votes
1 answer
casting accessors to C++ pointers in kernel code (esp. (int (*)[Nelem])
Environment: Ubuntu 18.04, OneAPI beta 6
Full code is below, but here's the offending error:
#dpcpp -O2 -g -o so2 so2.cpp -lOpenCL -lsycl
so2.cpp:64:38: error: cannot cast from type 'global_ptr' (aka 'multi_ptr

justapony
- 129
- 8
-1
votes
0 answers
Using vscode for oneAPI can't find "CL/sycl.hpp"
I have installed the oneAPI on the Linux server.And it runs well when I use command icpx -fsycl test.cpp -o test to compile source file.
Now I use vscode on Windows to connect to the server, but it can't find the head file correctly.
Error message…
-1
votes
1 answer
"rc.exe not found" with VS 2022 over and over again
My installation of Visual Studio 2022 somehow does not find my installed "rc.exe" files, even tough they are installed in the propper directories (e.g. C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x86) in Lib and bin and under different…

FredericM
- 11
- 3
-1
votes
1 answer
Unable to Import Numba Package Getting Error
I had run the test code in the comon conda python3.8 with…

Aishwarya
- 29
- 4
-1
votes
2 answers
Unable to build GROMACS with icc compiler
I am trying to build GROMACS with icc compiler but it is throwing error I have provided the error below.
": internal error: 0_76
compilation aborted for /global/scratch/groups/hpcperf/2022_Refresh/gromacs/api/nblib/topology.cpp (code 4)
make[2]:…

Pksingh
- 53
- 4
-1
votes
1 answer
Is it possible to write a function that changes based on the template type?
I'm trying to create a class that can generate a random variable. I want to be able to generate any random type based on the templated value at runtime. I figured I can do this by making this function works for ints, strings, and double data types…

bob games
- 1
- 1
-1
votes
3 answers
Intel VTune Installer doesn't launch properly on my Windows 11 machine
I'm trying to install VTune on my machine (I have windows 11 (x64), 8GB of RAM with Intel I7), however the installer gives me this message (see image attached) and when I click continue, the window pops out and quits and so it doesn't get installed…

محمد خير الخلق
- 153
- 1
- 9
-1
votes
1 answer
Issue in installing ICC from intel oneapi basetoolkit issue with license file
We are trying to build ORAN- ODU-Low library (https://docs.o-ran-sc.org/projects/o-ran-sc-o-du-phy/en/latest/build_prerequisite.html).
We have downloaded and built DPDK ,
#wget http://static.dpdk.org/rel/dpdk-18.08.tar.x
#tar -xf…
-1
votes
1 answer
Not able to find a migrated dpcpp output file and dpct responds as "Migration not necessary"
I am trying to migrate my cuda application using the dpct. When calling dpct; I see it processes CUDA files and generates some benign warnings but at the end it exits without writing out any DPC++ equivalent file.I can clearly see CUDA functions…

Arpita - Intel
- 37
- 1
- 10
-1
votes
1 answer
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' when installing Intel oneAPI base toolkit in Ubuntu system
I tried to install the Intel oneAPI toolkit (For using Fortran compiler) in the Ubuntu, by commanding
sudo bash l_BaseKit_p_2021.2.0.2883_offline.sh
After that, I checked that "Extract l_BaseKit_p_2021.2.0.2883_offline completed!"
and…

Crackerslover
- 13
- 1
- 4