Getting “double precision not supported on this device” error when trying to run a program using OpenCL in ubuntu 18.04“32-bit libraries not found on this system” when trying to install the Intel C++ ComposerI am using ubuntu 18.04.I got this error when i try to upgradeGetting this error when I want to install PyAutoItGetting error when try to run 'software-properties-gtk'
Why would oxygen be stored as a super critical fluid?
Direct consequences for Trump if he continues hindering impeachment investigation?
Christmas party at employers home
Why do we need the coupling small when doing perturbative QFT calculation?
Uniform Roe algebra of virtually abelian group is type I C*-algebra?
If I did not sign promotion bonus document, my career would be over. Is this duress?
Why is technology bad for children?
Code Golf Measurer © 2019
Word for 'most late'
What would be the effect of a giant magical fireball burning in the ocean?
What's that funny "illo" I keep hearing in Southern Spain?
Why do military jets sometimes have elevators in a depressed position when parked?
How to prove that invoices are really unpaid?
Vergil Book XII, Line 756 | Meter Question
How to deal with people whose priority is to not get blamed?
I run daily 5kms but I cant seem to improve stamina when playing soccer
How to increment the value of a (decimal) variable (with leading zero) by +1?
When to use the gestalt principle of common region?
Is the tap water in France safe to drink?
Why is my paper "under review" if it contains no results?
Mapping string into integers
How should I understand FPGA architecture?
Generating sequential alphanumeric values that match a certain pattern
Does my protagonist need to be the most important character?
Getting “double precision not supported on this device” error when trying to run a program using OpenCL in ubuntu 18.04
“32-bit libraries not found on this system” when trying to install the Intel C++ ComposerI am using ubuntu 18.04.I got this error when i try to upgradeGetting this error when I want to install PyAutoItGetting error when try to run 'software-properties-gtk'
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
I am trying to run a C++ program on my laptop with ubuntu 18.04, it compiles but I get an error when I try to run it in the terminal.
The program uses OpenCL because I am trying to learn how to use it. I installed OpenCl using the following:
sudo apt install ocl-icd-libopencl1
sudo apt install opencl-headers
sudo apt install clinfo
sudo apt install ocl-icd-opencl-dev
sudo apt install beignet
When I try to run a sample code I got this error:
ASSERTION FAILED: Double precision not supported on this device (if this is a literal, use '1.0f' not '1.0')
at file /build/beignet-Bevceu/beignet-1.3.2/backend/src/backend/gen_insn_selection.cpp, function void gbe::ConvertInstructionPattern::convertBetweenFloatDouble(gbe::Selection::Opaque&, const gbe::ir::ConvertInstruction&, bool&) const, line 6227
Trace/breakpoint trap (core dumped)
This is a sample code my professor wrote last semester when we were learning how to use OpenCL on the school computers we were given. The code worked there now I am trying to get it to work on my computer but I get this error.
My laptop doesn't have a GPU but has integrated graphics with an Intel® Core™ i5-3210M Processor.
Any help with what this error means or how I can fix it would be great.
18.04 c++ opencl
add a comment
|
I am trying to run a C++ program on my laptop with ubuntu 18.04, it compiles but I get an error when I try to run it in the terminal.
The program uses OpenCL because I am trying to learn how to use it. I installed OpenCl using the following:
sudo apt install ocl-icd-libopencl1
sudo apt install opencl-headers
sudo apt install clinfo
sudo apt install ocl-icd-opencl-dev
sudo apt install beignet
When I try to run a sample code I got this error:
ASSERTION FAILED: Double precision not supported on this device (if this is a literal, use '1.0f' not '1.0')
at file /build/beignet-Bevceu/beignet-1.3.2/backend/src/backend/gen_insn_selection.cpp, function void gbe::ConvertInstructionPattern::convertBetweenFloatDouble(gbe::Selection::Opaque&, const gbe::ir::ConvertInstruction&, bool&) const, line 6227
Trace/breakpoint trap (core dumped)
This is a sample code my professor wrote last semester when we were learning how to use OpenCL on the school computers we were given. The code worked there now I am trying to get it to work on my computer but I get this error.
My laptop doesn't have a GPU but has integrated graphics with an Intel® Core™ i5-3210M Processor.
Any help with what this error means or how I can fix it would be great.
18.04 c++ opencl
3
It could simply be true, what the error message is saying: your graphics card only supports single precision, while the computers at your school had fancier graphics cards that also supported double precision. Perhaps you could try some other sample code, that does not use double precision?
– Elias
May 13 at 18:00
@Elias, what exactly does it mean by double precision?
– Shady
May 13 at 19:29
en.wikipedia.org/wiki/Double-precision_floating-point_format
– Elias
May 13 at 19:55
add a comment
|
I am trying to run a C++ program on my laptop with ubuntu 18.04, it compiles but I get an error when I try to run it in the terminal.
The program uses OpenCL because I am trying to learn how to use it. I installed OpenCl using the following:
sudo apt install ocl-icd-libopencl1
sudo apt install opencl-headers
sudo apt install clinfo
sudo apt install ocl-icd-opencl-dev
sudo apt install beignet
When I try to run a sample code I got this error:
ASSERTION FAILED: Double precision not supported on this device (if this is a literal, use '1.0f' not '1.0')
at file /build/beignet-Bevceu/beignet-1.3.2/backend/src/backend/gen_insn_selection.cpp, function void gbe::ConvertInstructionPattern::convertBetweenFloatDouble(gbe::Selection::Opaque&, const gbe::ir::ConvertInstruction&, bool&) const, line 6227
Trace/breakpoint trap (core dumped)
This is a sample code my professor wrote last semester when we were learning how to use OpenCL on the school computers we were given. The code worked there now I am trying to get it to work on my computer but I get this error.
My laptop doesn't have a GPU but has integrated graphics with an Intel® Core™ i5-3210M Processor.
Any help with what this error means or how I can fix it would be great.
18.04 c++ opencl
I am trying to run a C++ program on my laptop with ubuntu 18.04, it compiles but I get an error when I try to run it in the terminal.
The program uses OpenCL because I am trying to learn how to use it. I installed OpenCl using the following:
sudo apt install ocl-icd-libopencl1
sudo apt install opencl-headers
sudo apt install clinfo
sudo apt install ocl-icd-opencl-dev
sudo apt install beignet
When I try to run a sample code I got this error:
ASSERTION FAILED: Double precision not supported on this device (if this is a literal, use '1.0f' not '1.0')
at file /build/beignet-Bevceu/beignet-1.3.2/backend/src/backend/gen_insn_selection.cpp, function void gbe::ConvertInstructionPattern::convertBetweenFloatDouble(gbe::Selection::Opaque&, const gbe::ir::ConvertInstruction&, bool&) const, line 6227
Trace/breakpoint trap (core dumped)
This is a sample code my professor wrote last semester when we were learning how to use OpenCL on the school computers we were given. The code worked there now I am trying to get it to work on my computer but I get this error.
My laptop doesn't have a GPU but has integrated graphics with an Intel® Core™ i5-3210M Processor.
Any help with what this error means or how I can fix it would be great.
18.04 c++ opencl
18.04 c++ opencl
edited May 13 at 18:49
Romeo Ninov
5873 silver badges10 bronze badges
5873 silver badges10 bronze badges
asked May 13 at 17:35
ShadyShady
61 bronze badge
61 bronze badge
3
It could simply be true, what the error message is saying: your graphics card only supports single precision, while the computers at your school had fancier graphics cards that also supported double precision. Perhaps you could try some other sample code, that does not use double precision?
– Elias
May 13 at 18:00
@Elias, what exactly does it mean by double precision?
– Shady
May 13 at 19:29
en.wikipedia.org/wiki/Double-precision_floating-point_format
– Elias
May 13 at 19:55
add a comment
|
3
It could simply be true, what the error message is saying: your graphics card only supports single precision, while the computers at your school had fancier graphics cards that also supported double precision. Perhaps you could try some other sample code, that does not use double precision?
– Elias
May 13 at 18:00
@Elias, what exactly does it mean by double precision?
– Shady
May 13 at 19:29
en.wikipedia.org/wiki/Double-precision_floating-point_format
– Elias
May 13 at 19:55
3
3
It could simply be true, what the error message is saying: your graphics card only supports single precision, while the computers at your school had fancier graphics cards that also supported double precision. Perhaps you could try some other sample code, that does not use double precision?
– Elias
May 13 at 18:00
It could simply be true, what the error message is saying: your graphics card only supports single precision, while the computers at your school had fancier graphics cards that also supported double precision. Perhaps you could try some other sample code, that does not use double precision?
– Elias
May 13 at 18:00
@Elias, what exactly does it mean by double precision?
– Shady
May 13 at 19:29
@Elias, what exactly does it mean by double precision?
– Shady
May 13 at 19:29
en.wikipedia.org/wiki/Double-precision_floating-point_format
– Elias
May 13 at 19:55
en.wikipedia.org/wiki/Double-precision_floating-point_format
– Elias
May 13 at 19:55
add a comment
|
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1142931%2fgetting-double-precision-not-supported-on-this-device-error-when-trying-to-run%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1142931%2fgetting-double-precision-not-supported-on-this-device-error-when-trying-to-run%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
3
It could simply be true, what the error message is saying: your graphics card only supports single precision, while the computers at your school had fancier graphics cards that also supported double precision. Perhaps you could try some other sample code, that does not use double precision?
– Elias
May 13 at 18:00
@Elias, what exactly does it mean by double precision?
– Shady
May 13 at 19:29
en.wikipedia.org/wiki/Double-precision_floating-point_format
– Elias
May 13 at 19:55