We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb2e640 commit b1b3986Copy full SHA for b1b3986
1 file changed
lib/node_modules/@stdlib/blas/ext/base/dvander/benchmark/c/benchmark.length.c
@@ -179,11 +179,11 @@ int main( void ) {
179
print_version();
180
count = 0;
181
for ( i = MIN; i <= MAX; i++ ) {
182
- len = (int)floor( pow( pow( 10, i ), 1.0/2.0 ) );
+ len = (int)pow( 10, i );
183
iter = ITERATIONS / pow( 10, i-1 );
184
for ( j = 0; j < REPEATS; j++ ) {
185
count += 1;
186
- printf( "# c::native::%s:size=%d\n", NAME, len*len );
+ printf( "# c::native::%s:len=%d\n", NAME, len );
187
elapsed = benchmark1( iter, len );
188
print_results( iter, elapsed );
189
printf( "ok %d benchmark finished\n", count );
@@ -194,7 +194,7 @@ int main( void ) {
194
195
196
197
- printf( "# c::native::%s:ndarray:size=%d\n", NAME, len*len );
+ printf( "# c::native::%s:ndarray:len=%d\n", NAME, len );
198
elapsed = benchmark2( iter, len );
199
200
0 commit comments