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
gpu_selector is giving runtime error like CL_DEVICE_NOT_FOUND, in sycl dpc++
In my Ubuntu 20.04 version, we have installed intel one API dpc++. The version is; Intel(R) one API DPC++/C++ Compiler 2022.1.0 (2022.1.0.20220316)
Where we have nvidia gpu. (Got to know by command: nvidia-smi) There we have NVIDIA GeForce ...…

BHARATH KUMAR
- 11
- 2
0
votes
1 answer
Installation error for Intel Fortran Compiler on Windows-PC: "Failed to load package"
As stated in the header, I'm trying to install the Intel Fortran Compiler on my Windows-PC but always get the following error:
The error occurs not only for the installation of Fortran compiler but as well for the installation of other Intel…

Schotti
- 35
- 5
0
votes
1 answer
Change the default value of CL_DEVICE_IMAGE3D_MAX_WIDTH
I have a 3d image with dimensions of more than 2048. When I try to load the image into the OpenCL program using the clCreateImage3d() call, I get an error. Because the underlying device can also support up to 2048…

rathod dinesh
- 13
- 4
0
votes
1 answer
mpirun error of oneAPI with Slurm (and PBS) in old cluster
Recently I installed Intel OneAPI including c compiler, FORTRAN compiler and mpi library and complied VASP with it.
Before presenting the question, there are some tricks I need to clarify during the installation of VASP:
GLIBC2.14: the cluster is…

Léon
- 1
0
votes
1 answer
cannot capture the struct value inside of the kernal function
It is so strange and I am struggling with this problem for the whole week. I just want to use the variable which is defined inside of the struct constructor, but fail to do that. The simple code is here:
#include
#include…

Mac cchiatooo
- 53
- 6
0
votes
1 answer
does mkl_vml_serv_threader in the gprofile means MKL is not running sequentially
We're running an application that's in the process of being MKL BLAS enhaced. We've been told not to hyperthread.
In order for multithreaded (so-called parallel?) version to not be considered during compilation, i.e. to disable hyperthreading but…

Gaston
- 537
- 4
- 10
0
votes
1 answer
SYCL kernel cannot call an undefined function without SYCL_EXTERNAL attribute
I am trying to calculate the euclidean distance for KNN but in parallel using dpc++. the training dataset contains 5 features and 1600 rows, while I want to calculate the distance between the current test point and each training point on the grid in…

Amal Taha
- 3
- 4
0
votes
1 answer
How can I add intel Fortran compiler after installed intel oneAPI and visual studio?
I installed visual studio 2022 Community. Also, I installed Intel® oneAPI Base Toolkit and Intel® oneAPI HPC Toolkit. However, I do not know how to configure fortran compiler into visual studio so I can make Fortran project. Can you please help me…

Jon Jeon
- 1
- 1
0
votes
1 answer
Intel oneapi detect if I'm on FPGA
Is there any way to detect via CMake whether an FPGA accelerator is available or not ?
I'd like to do something like
if (FPGA_AVAILABLE or FPGA_EMULATOR_ON)
# set stuff here
add_subdirectory(fpga_src)
endif()
Is there any way to do this ? I…

Elle
- 305
- 2
- 10
0
votes
1 answer
DPC++ & MPI, buffer, shared memory, variable declare
I am new to DPC++, and I try to develop a MPI based DPC++ Poisson solver. I read the book and am very confused about the buffer and the pointer with the shared or host memoery. What is the difference between those two things, and what should I use…

Mac cchiatooo
- 53
- 6
0
votes
0 answers
My DPC++ program can't run on an intel ATS-P GPU. why?
The DPC++ code is very simple, just have a local array ,set the value of array be 0 and barrier mem.
#include
using namespace sycl;
#define WRAP_SIZE 32
int main(){
sycl::gpu_selector selector;
queue exec_queue(selector);
…
0
votes
2 answers
How can I make a binary that uses openmp and compiled with intel's C compiler portable?
Normally I compile code (all in a single file main.c) with the intel oneapi command prompt like so
icl.exe main.c -o binary_name
I can then run binary_name.exe without issue from a regular command prompt. However, when I recently exploited openmp…

DJames
- 571
- 3
- 17
0
votes
1 answer
I cannot find compilervars.sh after installing Intel Compiler
I have installed intel compiler on my Ubuntu 18.04 machine through the following link: https://www.intel.com/content/www/us/en/developer/articles/tool/oneapi-standalone-components.html#dpcpp-cpp
I specifically installed Intel® DPC++/C++ Compiler for…

Tawfiq Abuaita
- 59
- 4
0
votes
2 answers
Intel oneAPI dpcpp compiler with google test
I'm kinda new to the world of Intel's HPC toolchain and I'm facing some troubles making even simple DPC++ application to work when gtest is used as a testing framework
This is the CMakeLists "structure" I'm following
cmake_minimum_required(VERSION…

Elle
- 305
- 2
- 10
0
votes
1 answer
QtCreator with Intel OneAPI SYCL
I started my study with OneAPI SYCL but I normally use QtCreator as my IDE. I did a HelloSYCL project with CMake and works fine in the terminal and in the VSCode with OneAPI Extension as well, but didn't work in the QtCreator.
Every time I want to…

André Agenor
- 15
- 6