From 3072e5b58e2e18f2691ab1b4afda505f5ccaf56c Mon Sep 17 00:00:00 2001 From: Wilson Fung Date: Thu, 6 Sep 2012 02:31:24 -0800 Subject: Added implementation of vote.ballot (passing directed test). Added popc (not tested). Reducing number of iterations for radixSortThrust for regression. [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13993] --- src/cuda-sim/ptx.y | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cuda-sim/ptx.y') diff --git a/src/cuda-sim/ptx.y b/src/cuda-sim/ptx.y index d9c9267..6e39e50 100644 --- a/src/cuda-sim/ptx.y +++ b/src/cuda-sim/ptx.y @@ -172,6 +172,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. %token FULL_OPTION %token ANY_OPTION %token ALL_OPTION +%token BALLOT_OPTION %token GLOBAL_OPTION %token CTA_OPTION %token SYS_OPTION @@ -398,6 +399,7 @@ option: type_spec | WIDE_OPTION { add_option(WIDE_OPTION); } | ANY_OPTION { add_option(ANY_OPTION); } | ALL_OPTION { add_option(ALL_OPTION); } + | BALLOT_OPTION { add_option(BALLOT_OPTION); } | GLOBAL_OPTION { add_option(GLOBAL_OPTION); } | CTA_OPTION { add_option(CTA_OPTION); } | SYS_OPTION { add_option(SYS_OPTION); } -- cgit v1.3