rocmlite/test/test_rocmlite_functions.cpp
TEST(TEST_BASE, test_parse_bc_module)
{
    std::string bc = read_bc_from_file("opencl.amdgcn.bc");
    ModuleRef* theRef = ROC_ParseBitcode(bc.c_str(), bc.size());
    ROC_ModuleDestroy(theRef);
}
// Check the module BC parse works cleanly and can then be destroyed.
Check the module BC parse works cleanly and can then be destroyed.
Check the module BC parse works cleanly and can then be destroyed .
TEST(TEST_BASE, test_parse_bc_module)
{
    std::string bc = read_bc_from_file("opencl.amdgcn.bc");
    ModuleRef* theRef = ROC_ParseBitcode(bc.c_str(), bc.size());
    ROC_ModuleDestroy(theRef);
}
TEST ( TEST_BASE , test_parse_bc_module ) { std :: string bc = read_bc_from_file ( " " ) ; ModuleRef * theRef = ROC_ParseBitcode ( bc . c_str ( ) , bc . size ( ) ) ; ROC_ModuleDestroy ( theRef ) ; }
Check the module BC parse works cleanly and can then be destroyed.
Check the module BC parse works cleanly and can then be destroyed .