Forums - Opencl float error

2 posts / 0 new
Last post
Opencl float error
zeekim
Join Date: 29 Mar 18
Posts: 15
Posted: Wed, 2018-10-10 23:37

Hi all,

         I try to use float8 in my kernels. I have use printf fuction, the calculation is correct.   
               1、But when i store them to global buffer. it whill be error.
               2、Then, I try the half8, it succeed. But the precision of half calculation is not enough for me.

         Does some one has the same problem?

         Test devices:  S7 edge

 

 

  • Up0
  • Down0
zeekim
Join Date: 29 Mar 18
Posts: 15
Posted: Thu, 2018-10-11 00:19

Hi,

      Can some one has the same problem, i check it again, and the error result is regular to that: 
When i convert to uchar8 and printf the uchar8 data, it is always correct, and i vstore8 to the grobale buffer, the uchar8.s01 is error, while uchar8.s234567 is right.[but half8 has no problem]

Thanks!!!

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.