Reshape test: variable used for polling should be volatile#344
Reshape test: variable used for polling should be volatile#344bosilca merged 1 commit intoICLDisco:masterfrom
Conversation
Signed-off-by: Joseph Schuchart <schuchart@icl.utk.edu>
|
Don't think that fix is entirely correct https://www.kernel.org/doc/Documentation/process/volatile-considered-harmful.rst Should have the memory yield instruction in the loop instead. @ICLDisco/staff |
|
I agree that volatile is not the perfect choice here, I am not worried about performance in this case though. And we do not have something like |
Signed-off-by: Joseph Schuchart schuchart@icl.utk.edu