🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

What data is saved in Single (Double) precision in Hybrid precision setting?

User: "Shinichiro_Oshiro"
Altair Community Member
Updated by Shinichiro_Oshiro

Hello.

I would like to know the specifications of Hybrid precision setting in order to appropriately select the precision of the CUDA solver.

What data is saved in Single (or Double) Precision in Hybrid Precision setting?

Best regards,
Oshiro

Find more posts tagged with

Sort by:
1 - 4 of 41
    User: "Stephen Cole"
    Altair Employee
    Updated by Stephen Cole

    Hi,

     

    The precision modes save the same data, it's the accuracy of the calculation which is changed.

    This is outlined further here:

    EDEM Particle Simulation: CUDA GPU and Precision Modes

    Which also gives links to our e-learning lesson on the GPU.


    Regards

    Stephen

    User: "Shinichiro_Oshiro"
    Altair Community Member
    OP
    Updated by Shinichiro_Oshiro

    Hello, Stephen.

    Thank you for your response.

    What I would like to know is which physical quantities are stored in single precision or double precision in the context of hybrid precision.

    I apologize for the lack of clarity in my question, which may have caused confusion.

     

    Best regards,

    Oshiro

    User: "Stephen Cole"
    Altair Employee
    Updated by Stephen Cole

    Hello, Stephen.

    Thank you for your response.

    What I would like to know is which physical quantities are stored in single precision or double precision in the context of hybrid precision.

    I apologize for the lack of clarity in my question, which may have caused confusion.

     

    Best regards,

    Oshiro

    Hi Oshiro,

    To clarify by stored were you looking for the size in Mb of data stored, or the calculation accuracy?

    In terms of the calculation we don't have a set list however it should follow what we see in the API.

    Absolute values like Positions are typically calculated/stored as Double precision when using the Mixed precision solver.  All other variables would be Single Precision.  Positions include Center of Mass, particle position, geometry node position, Field Data position, Contact Point. Other variables calculated as doubles include the current Simulation Time.


    Regards

    Stephen

    User: "Shinichiro_Oshiro"
    Altair Community Member
    OP
    Updated by Shinichiro_Oshiro

    Hi Oshiro,

    To clarify by stored were you looking for the size in Mb of data stored, or the calculation accuracy?

    In terms of the calculation we don't have a set list however it should follow what we see in the API.

    Absolute values like Positions are typically calculated/stored as Double precision when using the Mixed precision solver.  All other variables would be Single Precision.  Positions include Center of Mass, particle position, geometry node position, Field Data position, Contact Point. Other variables calculated as doubles include the current Simulation Time.


    Regards

    Stephen

    Hello, Stephen.


    What I wanted to know was about the calculation accuracy.
    The information you provided is the answer I was looking for.
    Thank you very much.

     

    Best Regards,

    Oshiro