From c27f1b7668c068621e5ebb4282704afbdbf907be Mon Sep 17 00:00:00 2001 From: bsegovia Date: Mon, 17 Sep 2012 12:46:31 +0000 Subject: Added support for some Gen extensions. The idea is mostly to play with Gen specific hardware and propose simple way to use them. We have three extensions here: - Gen register regions. This allows us to perform strided loads in the register file. To implement that on top of OCL, the idea is to encapsulate them in a function with a side effect. Not really clean but it works. - Gen gather from register file. Same idea but here we simply gather data from a bunch of registers - Vote any/all. This is basically the same idea as ptx i.e. uniform predicates for branches. - block read/write. Just to play with uniform load/store messages I added a bunch of tests for all that and fix thing here and there to make them work --- utests/compiler_if_else.cpp | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'utests/compiler_if_else.cpp') diff --git a/utests/compiler_if_else.cpp b/utests/compiler_if_else.cpp index 44b1a87a..e38b23ff 100644 --- a/utests/compiler_if_else.cpp +++ b/utests/compiler_if_else.cpp @@ -1,22 +1,3 @@ -/* - * Copyright © 2012 Intel Corporation - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - * Author: Benjamin Segovia - */ - #include "utest_helper.hpp" static void compiler_if_else(void) -- cgit v1.2.1