On 10/21/14 14:15, Bernd Schmidt wrote:
Since everything in ptx assembly is typed, K&R C is problematic. There are a number of testcases that call functions with the wrong number of arguments, or arguments of the wrong type. I've added a new feature, untyped_assembly, which these tests now require. I've also used this for tests using builtin_apply/builtin_return.
I'd kind of prefer to see the tests fixed, but I can live with this.
FWIW, the PA (32-bit SOM) is very sensitive to this stuff as well, though the linker will detect and correct most of these problems. The PTX model doesn't give you the option to correct this stuff during the link phase
jeff