tests/smoke/blt_hip_gtest_smoke.cpp
//------------------------------------------------------------------------------
// Simple smoke test for gtest+HIP
//------------------------------------------------------------------------------
Simple smoke test for gtest+HIP
Simple smoke test for gtest + HIP
TEST(blt_hip_gtest_smoke,basic_assert_example)
{
  int num_threads = STR_LENGTH;
  int num_blocks = 1;
  hipLaunchKernelGGL((hello), dim3(num_blocks), dim3(num_threads),0,0);
  hipDeviceSynchronize();
  EXPECT_TRUE( true );
}
TEST ( blt_hip_gtest_smoke , basic_assert_example ) { int num_threads = STR_LENGTH ; int num_blocks = 1 ; hipLaunchKernelGGL ( ( hello ) , dim3 ( num_blocks ) , dim3 ( num_threads ) , 0 , 0 ) ; hipDeviceSynchronize ( ) ; EXPECT_TRUE ( true ) ; }
Simple smoke test for gtest+HIP
Simple smoke test for gtest + HIP