mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-20 06:29:02 +00:00
Regroup vtbl definitions to one translation unit (#1167)
Move function declarations to a new header file, with relevant existing documentation. Signed-off-by: Marco Antognini <marco.antognini@arm.com>
This commit is contained in:
@@ -13,26 +13,13 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
|
||||
#include "function_list.h"
|
||||
#include "test_functions.h"
|
||||
#include "utility.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
int TestFunc_Float_Float_Float(const Func *f, MTdata, bool relaxedMode);
|
||||
int TestFunc_Double_Double_Double(const Func *f, MTdata, bool relaxedMode);
|
||||
int TestFunc_Float_Float_Float_nextafter(const Func *f, MTdata,
|
||||
bool relaxedMode);
|
||||
int TestFunc_Double_Double_Double_nextafter(const Func *f, MTdata,
|
||||
bool relaxedMode);
|
||||
|
||||
extern const vtbl _binary = { "binary", TestFunc_Float_Float_Float,
|
||||
TestFunc_Double_Double_Double };
|
||||
|
||||
extern const vtbl _binary_nextafter = {
|
||||
"binary_nextafter", TestFunc_Float_Float_Float_nextafter,
|
||||
TestFunc_Double_Double_Double_nextafter
|
||||
};
|
||||
|
||||
const float twoToMinus126 = MAKE_HEX_FLOAT(0x1p-126f, 1, -126);
|
||||
const double twoToMinus1022 = MAKE_HEX_DOUBLE(0x1p-1022, 1, -1022);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user