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
0 answers

In function `_start': (.text+0x20): undefined reference to `main' UsingMCX.o: In function

I am trying to compile some Fortran code using intel oneapi compiler (ifort -v 2021.2.0) and linking it with another Fortran library (MultiZ) previously coded. I am using the following makefile: # User parameters LIBPATHS =…
0
votes
1 answer

Error facing with range function in DPC++

I'm new to Sycl/DPC++ language. I wrote a sample vector addition code using Unified shared memory (USM): #include #include #include using namespace sycl; int main() { int n=100; int i; queue q{ }; …
abc
  • 13
  • 2
0
votes
1 answer

Different compiler flags for different compilers?

I have a cc_library (tbb) that requires the compiler flag -mwaitpkg on some compilers (Clang) to compile successfully. At the same time, there are older versions of GCC (4.9) that do not know this flag, and therefore the compilation via GCC 4.9…
Vertexwahn
  • 7,709
  • 6
  • 64
  • 90
0
votes
1 answer

CMake Configuration issue: Problem enabling 64 bit Fortran compilation on Windows using Intel OneAPI Compilers

I am trying to enable 64 bit integer size for a sample hello world kind of Fortran test code, in an MPI setup. OS: Windows 10 Compilers used: Intel OneAPI 2021.4.0 MPI: Intel MPI There are 2 scenarios I tried to test, using a single line command to…
Vishy
  • 1
  • 2
0
votes
1 answer

Unexpected error when Intel python3.7 shell is launched : impossible to do any command - abort error

I get the following error when I do a simple command a=1 (or any other command) once an Intel python3 shell is launched on a Debian 10: Python 3.7.11 (default, Sep 9 2021, 02:06:38) [GCC 9.3.0] :: Intel Corporation on linux Type "help",…
user1773603
0
votes
2 answers

How to enable mixed precision training while using Intel Extension for PyTorch (IPEX)?

I am working on Dog-Cat classifier using Intel extension for Pytorch (Ref - https://github.com/amitrajitbose/cat-v-dog-classifier-pytorch). I want to reduce the training time for my model. How do I enable mixed precision in my code? Referred this…
0
votes
1 answer

Unable to use Intel oneAPI DPCT for migration of my applicaiton: Error Code -5

I'm attempting to follow the instructions from this site https://software.intel.com/content/www/us/en/develop/documentation/get-started-with-intel-dpcpp-compatibility-tool/top.html. I receive an error when I use the dpct command, stating that the…
Ashley
  • 3
  • 2
0
votes
1 answer

DPCT migration fails with error code (-5)

I have updated my CUDA toolkit version to 11.4. When I try to migrate any CUDA code to DPC++ using DPCT tool, I get the following error: dpct exited with code: -5 (Error: Path for CUDA header files is invalid or not available. Specify with…
0
votes
1 answer

Unable to migrate a simple CUDA vectorAdd sample using dpct tool. Fatal Error: 'helper_cuda.h' file not found

I am trying to migrate a simple vectorAdd.cu from NVDIA CUDA samples to DPCPP. I am getting the following error during migration when using DPCT. fatal error: 'helper_cude.h' file not found File not found error Command used: dpct --in-root=./…
Ashley
  • 3
  • 2
0
votes
1 answer

DPCT migration issue with Nvidia sample application

I’m trying to migrate CUDA code to Dpc++ using Intel DPCT tool. Here are my details: OS: Ubuntu 20.04 Application: BlackScholes (Finance app. Nvidia CUDA toolkit samples) During migration, lot of warnings have been generated by the DPCT…
0
votes
1 answer

Unable to get values from kernel code in SYCL/DPC++

I am a beginner in SYCL/DPC++. I have created an array and by using buffers I am updating the values in the device code but when I try to print the updated values in the kernel/device code I am getting error. I am able to print the updated values…
sv6
  • 11
  • 4
0
votes
2 answers

Raw output file got damaged

I’m working on oneVPL samples from this GitHub repository (https://github.com/oneapi-src/oneAPI-samples ) and I’m trying to build hello-vpp sample. After running the program with the command in readme.md file, I wanted to increase the video size to…
user16867861
0
votes
1 answer

fatal error C1083: Cannot open include file: 'CL/sycl.hpp': No such file or directory

I’m working on oneVPL samples from this GitHub repository (https://github.com/oneapi-src/oneAPI-samples ) and I’m trying to build dpcpp-blur sample. I am getting the below error: fatal error C1083: Cannot open include file: 'CL/sycl.hpp': No such…
user16867861
0
votes
1 answer

Unexpected/Incorrect Results while running SYCL/DPC++ code

I am a beginner in SYCl/DPC++. I want to print multiples of 10 but, instead of that, I am getting 0's in place of that. I am using the USM (Unified Shared Memory) and I am checking the data movement in the shared memory and host memory implicitly.…
sv6
  • 11
  • 4
0
votes
0 answers

C++ 'unresolved errors' using Intel's oneAPI compiler, possibly involved with the Math Kernel Library?

I'm trying to run the following code on an Ubuntu machine: /** For compiling --> export…