Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7857913
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T21:11:34+00:00 2026-06-02T21:11:34+00:00

If I perform a float (single precision) operation on a Host and a Device

  • 0

If I perform a float (single precision) operation on a Host and a Device (GPU arch sm_13) , then will the values be different ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T21:11:36+00:00Added an answer on June 2, 2026 at 9:11 pm

    A good discussion of this is availble in a whitepaper from NVIDIA. Basically:

    • IEEE-754 is implemented by almost everything currently;
    • Even between faithful implementation of this standard, you can still see differences in results (famously, Intel’s doing 80-bit internally for double precision), or high optimization settings with your compiler can change results
    • Compute capability 2.0 and later NVIDIA cards support IEEE-754 in both single and double precision, with only very small caveats
      • Some rounding modes aren’t supported for some operations – this is only relevant if you explicitly change rounding modes in your code
      • There’s some subtleties involving fused multiply and adds
      • CUDA also provides (slightly) lower precision but faster implementations of several operations, and of course if you use those explicitly or implicitly (with compiler options) you naturally won’t get full ieee-754 results
    • Compute capability 1.3 cards support ieee-754 as above in double precision but not in single precision; (single precision doesn’t support denormal – eg very small – numbers, no FMAs, square root and division aren’t fully accurate)
    • Compute capability 1.2 cards only have single precision and those aren’t full ieee-754 as above.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I try to perform such pixel shader: #ifdef GL_ES\n precision highp float;\n #endif\n \n
I want to perform the following operation: decimal = decimal? * float / 100
I'm trying perform a relatively basic TCP socket send/receive operation on Windows CE using
Will GHC perform tail-call optimization on the following function by default? The only weird
If I have an enumeration of dictionaries IEnumerable<IDictionary<string, float>> enumeration can I perform a
It is bad practise to perform a delete operation via get request so I
I am trying to perform a simple operation that i have done alot in
I need to keep track of units on float and int values in Python,
I was supposed to write a method, which will perform addition on collection of
In Python, functions like str(), int(), float(), etc. are generally used to perform type

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.