thesaintatpriapus / gpuocelot

Automatically exported from code.google.com/p/gpuocelot
0 stars 0 forks source link

Globally scoped .local variables are not handled correctly. #53

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Write a PTX assembly file with a .local outside of function scope.
2. Run using any of the Ocelot backends.

What is the expected output? What do you see instead?
I expect to be able to read/write the variable, instead a segfault or assertion 
is triggered.

Original issue reported on code.google.com by SolusStu...@gmail.com on 1 Jun 2011 at 10:05

GoogleCodeExporter commented 8 years ago
I added a fix and regression test in the trunk.

Original comment by gregory....@gatech.edu on 23 Jun 2011 at 9:55