m4rs-mt / ILGPU

ILGPU JIT Compiler for high-performance .Net GPU programs

Home Page:http://www.ilgpu.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[QUESTION]: How to resolve the calculation accuracy error between CPU and GPU.

qian-o opened this issue · comments

Question

I am not very familiar with GPU programming, and I have just started using ILGPU. When I tried to migrate my existing computational code to ILGPU, I found that the results on CPU and GPU were completely different. I suspect it may be a precision issue. Therefore, I was wondering if there is any configuration in this library that can improve the calculation precision without making too many changes to the code.

Environment

No response

Additional context

No response