blob: c883282f553544e41aa5001ff74ba4ca84fe35ba [file] [edit]
#include "../utils/TestDevice.h"
int launch_kernel();
#ifdef TEST_SECOND_LIBRARY
int launch_kernel2();
#endif
int main()
{
if (!sycl_test_device_available()) {
return 77;
}
#ifdef TEST_SECOND_LIBRARY
if (launch_kernel2() != 42) {
return 1;
}
#endif
return launch_kernel() == 42 ? 0 : 1;
}