Questions tagged [oneapi]
17 questions
1
vote
1 answer
Is there a DPC++/SYCL equivalent of CUDA's atomicCAS?
From my understanding, CUDA's atomicCAS has the following definition (this is one of the four)
int atomicCAS(int* address, int compare, int val);
and it compares atomically the values located at address (named in the doc old) in the global shared…

Elle
- 305
- 2
- 10
0
votes
1 answer
mpirun with Intel OneAPI running processes n times
I am new to Intel OneAPI, but I installed the OneAPI package and when I run
mpirun -n ...
I receive an output like the following if I set N = 3 (for example):
Iteration #1...
Iteration #1...
Iteration #1...
Iteration #2...
Iteration…
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
CMake cannot find OneAPI libraries mkl_gf_lp64 and mkl_gnu_thread
I am trying to adapt a source code originally written for Intel MKL to the latest OneAPI and compile it under MacOS.
I have modified the CMakeLists to find OneAPI libraries like this:
option (USE_ONEAPI "Enable MKL solver support via OneAPI Base…

Saeid
- 691
- 7
- 26
0
votes
1 answer
Python Subprocess / Environment Variable Script
I have a compiled Fortran program (lets say in ~/codedir) linked against Intel MKL, which I want to run with a Python script in a certain directory (lets say calculationdir).
I can navigate to calculationdir and execute ~/codedir/code, where code is…

Hendrik
- 1
-2
votes
1 answer
OneAPI 2022's GNU Compiler Collection support are missing
I have tried to install the latest OneAPI base toolkit for MacOS. I need to compile a program that uses OpenMP threading library (mkl_gf_lp64) for the GNU Fortran compiler and LP64 interface library (mkl_gnu_thread) for GNU fortran and C++…

Saeid
- 691
- 7
- 26