cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

kreon
Journeyman III

Reads/writes to the same image

are ALLOWED in a kernel

Hi guys,

specs says that it is not supported, why it works fine then ?

0 Likes
2 Replies
nou
Exemplar

you can get undefined behaviour. and on some other HW you can get wrong results or crash.

0 Likes
kreon
Journeyman III

I have tested it on AMD5870 and NV9800 - stable and correct results, specs do not say that the result is going to be undefined, but it is not allowed. however is it allowed and the result is correct

have no idea then, i will keep current implementation for the moment, because each time to copy memory from image to image, well you know ...

0 Likes