Skip to content

Commit 2df9e80

Browse files
committed
Auto-generated commit
1 parent bdba74d commit 2df9e80

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444

4545
# Configure directories which should *not* be included in GitHub language statistics:
4646
/deps/** linguist-vendored
47+
/dist/** linguist-generated
4748
/workshops/** linguist-vendored
4849

4950
benchmark/** linguist-vendored
@@ -57,6 +58,9 @@ tools/** linguist-vendored
5758
# Configure files which should *not* be included in GitHub language statistics:
5859
Makefile linguist-vendored
5960
*.mk linguist-vendored
61+
*.jl linguist-vendored
62+
*.py linguist-vendored
63+
*.R linguist-vendored
6064

6165
# Configure files which should be included in GitHub language statistics:
6266
docs/types/*.d.ts -linguist-documentation

CONTRIBUTORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Chinmay Joshi <86140365+JawHawk@users.noreply.github.com>
1919
Christopher Dambamuromo <chridam@gmail.com>
2020
Dan Rose <danoftheroses@gmail.com>
2121
Daniel Killenberger <daniel.killenberger@gmail.com>
22+
Daniel Yu <40680511+Daniel777y@users.noreply.github.com>
2223
Dominik Moritz <domoritz@gmail.com>
2324
Dorrin Sotoudeh <dorrinsotoudeh123@gmail.com>
2425
EuniceSim142 <77243938+EuniceSim142@users.noreply.github.com>

benchmark/c/benchmark.length.c

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
/**
20-
* Benchmark `dnannsumpw`.
21-
*/
2219
#include "stdlib/blas/ext/base/dnannsumpw.h"
2320
#include <stdlib.h>
2421
#include <stdio.h>
@@ -35,7 +32,7 @@
3532
/**
3633
* Prints the TAP version.
3734
*/
38-
void print_version() {
35+
void print_version( void ) {
3936
printf( "TAP version 13\n" );
4037
}
4138

@@ -74,7 +71,7 @@ void print_results( int iterations, double elapsed ) {
7471
*
7572
* @return clock time
7673
*/
77-
double tic() {
74+
double tic( void ) {
7875
struct timeval now;
7976
gettimeofday( &now, NULL );
8077
return (double)now.tv_sec + (double)now.tv_usec/1.0e6;
@@ -85,7 +82,7 @@ double tic() {
8582
*
8683
* @return random number
8784
*/
88-
double rand_double() {
85+
double rand_double( void ) {
8986
int r = rand();
9087
return (double)r / ( (double)RAND_MAX + 1.0 );
9188
}
@@ -113,6 +110,7 @@ double benchmark( int iterations, int len ) {
113110
}
114111
}
115112
v = 0.0;
113+
n = 0;
116114
t = tic();
117115
for ( i = 0; i < iterations; i++ ) {
118116
v = stdlib_strided_dnannsumpw( len, x, 1, &n );

0 commit comments

Comments
 (0)