On R600, some address spaces have more strict alignment requirements than others.
Updating the uses to pass the address space will be a separate patch.
Differential D2522
Add address space argument to allowsUnalignedMemoryAccess. arsenm on Jan 8 2014, 1:56 PM. Authored by
Details
Diff Detail Event TimelineComment Actions Hi Matt, The overall fix goes in the right direction, but you have a couple of typos in the subclasses when you overload the allowsUnalignedMemoryAccesses. I am not in favor of the change of order for the Fast argument in the modified API. That said, I understand the form you are proposing is more convenient for your target, thus if the majority agrees for the order change, I can cope with that :). Thanks, Quentin
Comment Actions The reason I swapped the order was because the address space could be necessary for correctness, but Fast in principle could always be optional. When updating the uses of it, more places required throwing in a null pointer for Fast just to specify the address space rather than the other way around. Comment Actions Fair enough. Still there are a bunch of places where you forgot to swap the arguments. Thanks, Comment Actions Hi Matt, This is looking good. There is just one little quirk that I mentioned in the inline comments. With this change, LGTM. Thanks,
|
Since you are updating the command, you could fix the typo here :).
The sentence is not finished here, thus the period should be removed.