Allocates an array with random float entries.
| 194 | } |
| 195 | // Allocates an array with random float entries. |
| 196 | void RandomInit(float *data, int n) |
| 197 | { |
| 198 | for (int i = 0; i < n; ++i) { |
| 199 | data[i] = rand() / (float)RAND_MAX; |
| 200 | } |
| 201 | } |
| 202 | |
| 203 | bool inline findModulePath(const char *module_file, string &module_path, char **argv, ostringstream &ostrm) |
| 204 | { |