Changeset View
Changeset View
Standalone View
Standalone View
openmp/libomptarget/test/offloading/taskloop_offload_nowait.cpp
// RUN: %libomptarget-compilexx-and-run-generic | // RUN: %libomptarget-compilexx-and-run-generic | ||||
// UNSUPPORTED: x86_64-pc-linux-gnu | // UNSUPPORTED: x86_64-pc-linux-gnu | ||||
// UNSUPPORTED: x86_64-pc-linux-gnu-oldDriver | |||||
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO | // UNSUPPORTED: x86_64-pc-linux-gnu-LTO | ||||
#include <cmath> | #include <cmath> | ||||
#include <cstdlib> | #include <cstdlib> | ||||
#include <iostream> | #include <iostream> | ||||
bool almost_equal(float x, float gold, float tol) { | bool almost_equal(float x, float gold, float tol) { | ||||
if (std::signbit(x) != std::signbit(gold)) | if (std::signbit(x) != std::signbit(gold)) | ||||
Show All 32 Lines |