ayazhassan/gpuocelot

Globally scoped .local variables are not handled correctly.

Closed this issue · 1 comments

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

I added a fix and regression test in the trunk.

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

  • Changed state: Fixed