@@ -30,7 +30,7 @@ static inline float powfRoundedExponent(float Base, float Exponent) {
3030namespace mathtest {
3131
3232template <> struct FunctionConfig <powf> {
33- static constexpr llvm::StringRef Name = " powf (real exponent )" ;
33+ static constexpr llvm::StringRef Name = " powf (real exponents )" ;
3434 static constexpr llvm::StringRef KernelName = " powfKernel" ;
3535
3636 // Source: The Khronos Group, The OpenCL C Specification v3.0.19, Sec. 7.4,
@@ -39,7 +39,7 @@ template <> struct FunctionConfig<powf> {
3939};
4040
4141template <> struct FunctionConfig <powfRoundedExponent> {
42- static constexpr llvm::StringRef Name = " powf (integer exponent )" ;
42+ static constexpr llvm::StringRef Name = " powf (integer exponents )" ;
4343 static constexpr llvm::StringRef KernelName = " powfRoundedExponentKernel" ;
4444
4545 // Source: The Khronos Group, The OpenCL C Specification v3.0.19, Sec. 7.4,
@@ -64,11 +64,11 @@ int main(int argc, const char **argv) {
6464 const llvm::StringRef DeviceBinaryDir = DEVICE_BINARY_DIR;
6565 const bool IsVerbose = cl::IsVerbose;
6666
67- bool RealExponentPassed =
67+ bool RealExponentsPassed =
6868 runTests<powf>(Generator0, Configs, DeviceBinaryDir, IsVerbose);
69- bool IntegerExponentPassed = runTests<powfRoundedExponent>(
69+ bool IntegerExponentsPassed = runTests<powfRoundedExponent>(
7070 Generator1, Configs, DeviceBinaryDir, IsVerbose);
7171
72- return (RealExponentPassed && IntegerExponentPassed ) ? EXIT_SUCCESS
73- : EXIT_FAILURE;
72+ return (RealExponentsPassed && IntegerExponentsPassed ) ? EXIT_SUCCESS
73+ : EXIT_FAILURE;
7474}
0 commit comments