changed device code tests to work not to work as one

Change-Id: I0eec1eab19dda3b703bc3a0d778a6bbb2802a412
This commit is contained in:
Aditya Atluri
2017-01-27 09:20:14 -06:00
parent a8c51b822b
commit eee520def9
11 changed files with 116 additions and 10 deletions
@@ -19,6 +19,14 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
/* HIT_START
* BUILD: %t %s ../test_common.cpp
* RUN: %t
* HIT_END
*/
#include <hip/hip_runtime.h>
#include <hip/device_functions.h>
#include "test_common.h"
@@ -57,3 +65,9 @@ __global__ void compileIntegerIntrinsics(hipLaunchParm lp, int ignored)
{
integer_intrinsics();
}
int main()
{
hipLaunchKernel(compileIntegerIntrinsics, dim3(1,1,1), dim3(1,1,1), 0, 0, 1);
passed();
}