diff options
| author | Guillermo Julián <[email protected]> | 2015-07-11 11:20:52 +0200 |
|---|---|---|
| committer | Guillermo Julián <[email protected]> | 2015-07-11 11:20:52 +0200 |
| commit | b1fd283c064222579ee5174a980abf72e8e6ef26 (patch) | |
| tree | 6971d6d511e92f916f8ddc028604adcfff23c511 /src | |
| parent | 6d99ddf6d366302c29890a98f217a3885ce3d0e2 (diff) | |
Allow const directives in the parameter specification
Diffstat (limited to 'src')
| -rw-r--r-- | src/cuda-sim/ptx.y | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cuda-sim/ptx.y b/src/cuda-sim/ptx.y index a6cdfda..8f47867 100644 --- a/src/cuda-sim/ptx.y +++ b/src/cuda-sim/ptx.y @@ -259,6 +259,7 @@ ptr_spec: /*empty*/ ptr_space_spec: GLOBAL_DIRECTIVE { add_ptr_spec(global_space); } | LOCAL_DIRECTIVE { add_ptr_spec(local_space); } | SHARED_DIRECTIVE { add_ptr_spec(shared_space); } + | CONST_DIRECTIVE { add_ptr_spec(global_space); } ptr_align_spec: ALIGN_DIRECTIVE INT_OPERAND |
