Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22130

error when trying to offload code to gpu in openmp

$
0
0

Starting build...C:\mingw64\bin\gcc.exe -fdiagnostics-color=always -g "C:\Users\Admin\Desktop\NIT Trichy\CFD\heated_plate_offloading\heated_plate_offloading.c" -fopenmp -o "C:\Users\Admin\Desktop\NIT Trichy\CFD\heated_plate_offloading\heated_plate_offloading.exe"lto-wrapper.exe: fatal error: could not find accel/nvptx-none/mkoffload in c:/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/12.1.0/;c:/mingw64/bin/../libexec/gcc/;c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ (consider using '-B')compilation terminated.c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: error: lto-wrapper failedcollect2.exe: error: ld returned 1 exit status

Build finished with error(s).The terminal process failed to launch (exit code: -1).

I am facing the above error. What am I supposed to do? How to solve this in windows 11 vscode for nvidia GPU


Viewing all articles
Browse latest Browse all 22130

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>