Changeset 12431 for trunk/psLib/test/math/tap_psMatrixVectorArithmetic01.c
- Timestamp:
- Mar 13, 2007, 2:39:51 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/math/tap_psMatrixVectorArithmetic01.c
r11397 r12431 4 4 * 5 5 * This test driver tests combinations of matrix, vector, and scalar binary operations including: 6 * Matrix-matrix with +,-,*,/ with S32, F32, F64 , C327 * Matrix-vector with +,-,*,/ with S32, F32, F64 , C328 * Matrix-scalar with +,-,*,/ with S32, F32, F64 , C326 * Matrix-matrix with +,-,*,/ with S32, F32, F64 7 * Matrix-vector with +,-,*,/ with S32, F32, F64 8 * Matrix-scalar with +,-,*,/ with S32, F32, F64 9 9 * 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $13 * @date $Date: 2007-0 1-30 00:11:31 $12 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2007-03-14 00:39:51 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 140 140 ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-matrix, +, F64)"); 141 141 ok(memoryFlag== false, "no memory leaks"); 142 testBinaryOpMM(+,C32,10.0+10.0i,10.0+10.0i,3,2,errorFlag,memoryFlag);143 ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-matrix, +, C32)");144 ok(memoryFlag== false, "no memory leaks");145 142 testBinaryOpMM(-,S32,20,10,3,2,errorFlag,memoryFlag); 146 143 ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-matrix, -, S32)"); … … 161 158 ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-matrix, *, F64)"); 162 159 ok(memoryFlag== false, "no memory leaks"); 163 testBinaryOpMM(*,C32,20.0+20.0i,10.0+10.0i,3,2,errorFlag,memoryFlag);164 ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-matrix, *, C32)");165 ok(memoryFlag== false, "no memory leaks");166 160 testBinaryOpMM(/,S32,20,10,3,2,errorFlag,memoryFlag); 167 161 ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-matrix, /, S32)"); … … 172 166 testBinaryOpMM(/,F64,20.0,10.0,3,2,errorFlag,memoryFlag); 173 167 ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-matrix, /, F64)"); 174 ok(memoryFlag== false, "no memory leaks");175 testBinaryOpMM(/,C32,20.0+20.0i,10.0+10.0i,3,2,errorFlag,memoryFlag);176 ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-matrix, /, C32)");177 168 ok(memoryFlag== false, "no memory leaks"); 178 169 … … 187 178 ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-vector, +, F64)"); 188 179 ok(memoryFlag== false, "no memory leaks"); 189 testBinaryOpMV(+,C32,10.0+10.0i,5.0+5.0i,3,2,errorFlag,memoryFlag);190 ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-vector, +, C32)");191 ok(memoryFlag== false, "no memory leaks");192 180 testBinaryOpMV(-,S32,20,5,3,2,errorFlag,memoryFlag); 193 181 ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-vector, -, S32)"); … … 208 196 ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-vector, *, F64)"); 209 197 ok(memoryFlag== false, "no memory leaks"); 210 testBinaryOpMV(*,C32,20.0+20.0i,5.0+5.0i,3,2,errorFlag,memoryFlag);211 ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-vector, *, C32)");212 ok(memoryFlag== false, "no memory leaks");213 198 testBinaryOpMV(/,S32,20,5,3,2,errorFlag,memoryFlag); 214 199 ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-vector, /, S32)"); … … 219 204 testBinaryOpMV(/,F64,20.0,5.0,3,2,errorFlag,memoryFlag); 220 205 ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-vector, /, F64)"); 221 ok(memoryFlag== false, "no memory leaks");222 testBinaryOpMV(/,C32,20.0+20.0i,5.0+5.0i,3,2,errorFlag,memoryFlag);223 ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-vector, /, C32)");224 206 ok(memoryFlag== false, "no memory leaks"); 225 207 … … 234 216 ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-scalar, +, F64)"); 235 217 ok(memoryFlag== false, "no memory leaks"); 236 testBinaryOpMS(+,C32,10.0+10.0i,5.0+5.0i,3,2,errorFlag,memoryFlag);237 ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-scalar, +, C32)");238 ok(memoryFlag== false, "no memory leaks");239 218 testBinaryOpMS(-,S32,20,5,3,2,errorFlag,memoryFlag); 240 219 ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-scalar, -, S32)"); … … 255 234 ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-scalar, *, F64)"); 256 235 ok(memoryFlag== false, "no memory leaks"); 257 testBinaryOpMS(*,C32,20.0+20.0i,5.0+5.0i,3,2,errorFlag,memoryFlag);258 ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-scalar, *, C32)");259 ok(memoryFlag== false, "no memory leaks");260 236 testBinaryOpMS(/,S32,20,5,3,2,errorFlag,memoryFlag); 261 237 ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-scalar, /, S32)"); … … 267 243 ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-scalar, /, F64)"); 268 244 ok(memoryFlag== false, "no memory leaks"); 269 testBinaryOpMS(/,C32,20.0+20.0i,5.0+5.0i,3,2,errorFlag,memoryFlag);270 ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-scalar, /, C32)");271 ok(memoryFlag== false, "no memory leaks");272 245 return 0; 273 246 }
Note:
See TracChangeset
for help on using the changeset viewer.
