Rename files for consistency (#1166)

Signed-off-by: Marco Antognini <marco.antognini@arm.com>
This commit is contained in:
Marco Antognini
2021-02-17 17:05:09 +00:00
committed by GitHub
parent c67aa0535b
commit 7181bcdbac
25 changed files with 48 additions and 48 deletions

View File

@@ -1,24 +1,24 @@
set(MODULE_NAME BRUTEFORCE) set(MODULE_NAME BRUTEFORCE)
set(${MODULE_NAME}_SOURCES set(${MODULE_NAME}_SOURCES
FunctionList.cpp
Sleep.cpp
binary.cpp binary.cpp
binaryOperator.cpp
Utility.cpp
binary_i.cpp binary_i.cpp
binary_operator.cpp
binary_two_results_i.cpp binary_two_results_i.cpp
function_list.cpp
i_unary.cpp i_unary.cpp
macro_binary.cpp macro_binary.cpp
macro_unary.cpp macro_unary.cpp
mad.cpp mad.cpp
main.cpp main.cpp
reference_math.cpp reference_math.cpp
sleep.cpp
ternary.cpp ternary.cpp
unary.cpp unary.cpp
unary_two_results.cpp unary_two_results.cpp
unary_two_results_i.cpp unary_two_results_i.cpp
unary_u.cpp unary_u.cpp
utility.cpp
) )
if (NOT CMAKE_CL_64 AND NOT MSVC AND NOT ANDROID) if (NOT CMAKE_CL_64 AND NOT MSVC AND NOT ANDROID)

View File

@@ -13,10 +13,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
// //
#include "Utility.h" #include "function_list.h"
#include "utility.h"
#include <string.h> #include <string.h>
#include "FunctionList.h"
int TestFunc_Float_Float_Float(const Func *f, MTdata, bool relaxedMode); int TestFunc_Float_Float_Float(const Func *f, MTdata, bool relaxedMode);
int TestFunc_Double_Double_Double(const Func *f, MTdata, bool relaxedMode); int TestFunc_Double_Double_Double(const Func *f, MTdata, bool relaxedMode);

View File

@@ -13,11 +13,11 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
// //
#include "Utility.h" #include "function_list.h"
#include "utility.h"
#include <limits.h> #include <limits.h>
#include <string.h> #include <string.h>
#include "FunctionList.h"
int TestFunc_Float_Float_Int(const Func *f, MTdata, bool relaxedMode); int TestFunc_Float_Float_Int(const Func *f, MTdata, bool relaxedMode);
int TestFunc_Double_Double_Int(const Func *f, MTdata, bool relaxedMode); int TestFunc_Double_Double_Int(const Func *f, MTdata, bool relaxedMode);

View File

@@ -13,10 +13,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
// //
#include "Utility.h" #include "function_list.h"
#include "utility.h"
#include <string.h> #include <string.h>
#include "FunctionList.h"
int TestFunc_Float_Float_Float_Operator(const Func *f, MTdata, int TestFunc_Float_Float_Float_Operator(const Func *f, MTdata,
bool relaxedMode); bool relaxedMode);

View File

@@ -13,11 +13,11 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
// //
#include "Utility.h" #include "function_list.h"
#include "utility.h"
#include <limits.h> #include <limits.h>
#include <string.h> #include <string.h>
#include "FunctionList.h"
int TestFunc_FloatI_Float_Float(const Func *f, MTdata, bool relaxedMode); int TestFunc_FloatI_Float_Float(const Func *f, MTdata, bool relaxedMode);
int TestFunc_DoubleI_Double_Double(const Func *f, MTdata, bool relaxedMode); int TestFunc_DoubleI_Double_Double(const Func *f, MTdata, bool relaxedMode);

View File

@@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
// //
#include "FunctionList.h" #include "function_list.h"
#include "reference_math.h" #include "reference_math.h"
#define FTZ_ON 1 #define FTZ_ON 1

View File

@@ -13,8 +13,8 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
// //
#ifndef FUNCTIONLIST_H #ifndef FUNCTION_LIST_H
#define FUNCTIONLIST_H #define FUNCTION_LIST_H
#include "harness/compat.h" #include "harness/compat.h"

View File

@@ -13,10 +13,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
// //
#include "Utility.h" #include "function_list.h"
#include "utility.h"
#include <string.h> #include <string.h>
#include "FunctionList.h"
int TestFunc_Int_Float(const Func *f, MTdata, bool relaxedMode); int TestFunc_Int_Float(const Func *f, MTdata, bool relaxedMode);
int TestFunc_Int_Double(const Func *f, MTdata, bool relaxedMode); int TestFunc_Int_Double(const Func *f, MTdata, bool relaxedMode);

View File

@@ -13,10 +13,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
// //
#include "Utility.h" #include "function_list.h"
#include "utility.h"
#include <string.h> #include <string.h>
#include "FunctionList.h"
int TestMacro_Int_Float_Float(const Func *f, MTdata, bool relaxedMode); int TestMacro_Int_Float_Float(const Func *f, MTdata, bool relaxedMode);
int TestMacro_Int_Double_Double(const Func *f, MTdata, bool relaxedMode); int TestMacro_Int_Double_Double(const Func *f, MTdata, bool relaxedMode);

View File

@@ -13,10 +13,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
// //
#include "Utility.h" #include "function_list.h"
#include "utility.h"
#include <string.h> #include <string.h>
#include "FunctionList.h"
int TestMacro_Int_Float(const Func *f, MTdata, bool relaxedMode); int TestMacro_Int_Float(const Func *f, MTdata, bool relaxedMode);
int TestMacro_Int_Double(const Func *f, MTdata, bool relaxedMode); int TestMacro_Int_Double(const Func *f, MTdata, bool relaxedMode);

View File

@@ -13,10 +13,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
// //
#include "Utility.h" #include "function_list.h"
#include "utility.h"
#include <string.h> #include <string.h>
#include "FunctionList.h"
int TestFunc_mad(const Func *f, MTdata, bool relaxedMode); int TestFunc_mad(const Func *f, MTdata, bool relaxedMode);
int TestFunc_mad_Double(const Func *f, MTdata, bool relaxedMode); int TestFunc_mad_Double(const Func *f, MTdata, bool relaxedMode);

View File

@@ -13,14 +13,14 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
// //
#include "Utility.h" #include "function_list.h"
#include "sleep.h"
#include "utility.h"
#include <cstdio> #include <cstdio>
#include <cstdlib> #include <cstdlib>
#include <string> #include <string>
#include <time.h> #include <time.h>
#include "FunctionList.h"
#include "Sleep.h"
#include "harness/errorHelpers.h" #include "harness/errorHelpers.h"
#include "harness/kernelHelpers.h" #include "harness/kernelHelpers.h"

View File

@@ -21,7 +21,7 @@
#include <string.h> #include <string.h>
#endif #endif
#include "Utility.h" #include "utility.h"
#if defined(__SSE__) \ #if defined(__SSE__) \
|| (defined(_MSC_VER) && (defined(_M_IX86) || defined(_M_X64))) || (defined(_MSC_VER) && (defined(_M_IX86) || defined(_M_X64)))

View File

@@ -13,8 +13,8 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
// //
#include "Sleep.h" #include "sleep.h"
#include "Utility.h" #include "utility.h"
#if defined(__APPLE__) #if defined(__APPLE__)
#include <IOKit/pwr_mgt/IOPMLib.h> #include <IOKit/pwr_mgt/IOPMLib.h>

View File

@@ -13,10 +13,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
// //
#include "Utility.h" #include "function_list.h"
#include "utility.h"
#include <string.h> #include <string.h>
#include "FunctionList.h"
#define CORRECTLY_ROUNDED 0 #define CORRECTLY_ROUNDED 0
#define FLUSHED 1 #define FLUSHED 1

View File

@@ -13,10 +13,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
// //
#include "Utility.h" #include "function_list.h"
#include "utility.h"
#include <string.h> #include <string.h>
#include "FunctionList.h"
#if defined(__APPLE__) #if defined(__APPLE__)
#include <sys/time.h> #include <sys/time.h>

View File

@@ -13,10 +13,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
// //
#include "Utility.h" #include "function_list.h"
#include "utility.h"
#include <string.h> #include <string.h>
#include "FunctionList.h"
int TestFunc_Float2_Float(const Func *f, MTdata, bool relaxedMode); int TestFunc_Float2_Float(const Func *f, MTdata, bool relaxedMode);
int TestFunc_Double2_Double(const Func *f, MTdata, bool relaxedMode); int TestFunc_Double2_Double(const Func *f, MTdata, bool relaxedMode);

View File

@@ -13,11 +13,11 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
// //
#include "Utility.h" #include "function_list.h"
#include "utility.h"
#include <limits.h> #include <limits.h>
#include <string.h> #include <string.h>
#include "FunctionList.h"
int TestFunc_FloatI_Float(const Func *f, MTdata, bool relaxedMode); int TestFunc_FloatI_Float(const Func *f, MTdata, bool relaxedMode);
int TestFunc_DoubleI_Double(const Func *f, MTdata, bool relaxedMode); int TestFunc_DoubleI_Double(const Func *f, MTdata, bool relaxedMode);

View File

@@ -13,10 +13,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
// //
#include "Utility.h" #include "function_list.h"
#include "utility.h"
#include <string.h> #include <string.h>
#include "FunctionList.h"
int TestFunc_Float_UInt(const Func *f, MTdata, bool relaxedMode); int TestFunc_Float_UInt(const Func *f, MTdata, bool relaxedMode);
int TestFunc_Double_ULong(const Func *f, MTdata, bool relaxedMode); int TestFunc_Double_ULong(const Func *f, MTdata, bool relaxedMode);

View File

@@ -13,8 +13,8 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
// //
#include "Utility.h" #include "utility.h"
#include "FunctionList.h" #include "function_list.h"
#if defined(__PPC__) #if defined(__PPC__)
// Global varaiable used to hold the FPU control register state. The FPSCR // Global varaiable used to hold the FPU control register state. The FPSCR
@@ -188,4 +188,4 @@ float getAllowedUlpError(const Func *f, const bool relaxed)
} }
return ulp; return ulp;
} }

View File

@@ -9,7 +9,7 @@ set (SPIR_SOURCES
run_build_test.cpp run_build_test.cpp
run_services.cpp run_services.cpp
kernelargs.cpp kernelargs.cpp
../math_brute_force/FunctionList.cpp ../math_brute_force/function_list.cpp
) )
add_executable(${SPIR_OUT} add_executable(${SPIR_OUT}

View File

@@ -33,12 +33,12 @@
#include "harness/clImageHelper.h" #include "harness/clImageHelper.h"
#include "harness/os_helpers.h" #include "harness/os_helpers.h"
#include "../math_brute_force/function_list.h"
#include "datagen.h"
#include "exceptions.h" #include "exceptions.h"
#include "kernelargs.h" #include "kernelargs.h"
#include "datagen.h"
#include "run_services.h"
#include "run_build_test.h" #include "run_build_test.h"
#include "../math_brute_force/FunctionList.h" #include "run_services.h"
#include <CL/cl.h> #include <CL/cl.h>
// //
// Task // Task

View File

@@ -18,8 +18,8 @@ file(GLOB SPIRV_NEW_SOURCES "*.cpp")
set(TEST_HARNESS_SOURCES set(TEST_HARNESS_SOURCES
../../test_conformance/math_brute_force/reference_math.cpp ../../test_conformance/math_brute_force/reference_math.cpp
../../test_conformance/math_brute_force/Utility.cpp ../../test_conformance/math_brute_force/utility.cpp
) )
set(${MODULE_NAME}_SOURCES ${SPIRV_NEW_SOURCES} ${TEST_HARNESS_SOURCES}) set(${MODULE_NAME}_SOURCES ${SPIRV_NEW_SOURCES} ${TEST_HARNESS_SOURCES})