 #include "gtest/gtest.h"
 #include "hemi/launch.h"
 
-inline void ASSERT_SUCCESS(cudaError_t res) {
-	ASSERT_EQ(cudaSuccess, res);
-}
+#define ASSERT_SUCCESS(res) ASSERT_EQ(cudaSuccess, (res));
+#define ASSERT_FAILURE(res) ASSERT_NE(cudaSuccess, (res));
 
 struct Kernel {
 	template <typename... Arguments>

	ASSERT_EQ(bdim, 128);	
}



	ASSERT_GE(gdim, smCount);
	ASSERT_EQ(gdim%smCount, 0);
	ASSERT_GE(bdim, 32);
}

TEST_F(LaunchTest, ExplicitBlockSize) 
