Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
160 changes: 80 additions & 80 deletions lib/node_modules/@stdlib/ndarray/base/ind2sub/benchmark/c/benchmark.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,11 @@ static double benchmark1( void ) {
double t;
int i;

int64_t ndims = 3;
int64_t shape[] = { 10, 10, 10 };
int64_t strides[] = { 100, -10, 1 };
int64_t offset = 90;
int64_t len = 1000;
const int64_t ndims = 3;
const int64_t shape[] = { 10, 10, 10 };
const int64_t strides[] = { 100, -10, 1 };
const int64_t offset = 90;
const int64_t len = 1000;

int64_t out[ 3 ];

Expand Down Expand Up @@ -135,11 +135,11 @@ static double benchmark2( void ) {
double t;
int i;

int64_t ndims = 3;
int64_t shape[] = { 10, 10, 10 };
int64_t strides[] = { 1, -10, 100 };
int64_t offset = 90;
int64_t len = 1000;
const int64_t ndims = 3;
const int64_t shape[] = { 10, 10, 10 };
const int64_t strides[] = { 1, -10, 100 };
const int64_t offset = 90;
const int64_t len = 1000;

int64_t out[ 3 ];

Expand Down Expand Up @@ -171,11 +171,11 @@ static double benchmark3( void ) {
double t;
int i;

int64_t ndims = 3;
int64_t shape[] = { 10, 10, 10 };
int64_t strides[] = { 100, 10, 1 };
int64_t offset = 0;
int64_t len = 1000;
const int64_t ndims = 3;
const int64_t shape[] = { 10, 10, 10 };
const int64_t strides[] = { 100, 10, 1 };
const int64_t offset = 0;
const int64_t len = 1000;

int64_t out[ 3 ];

Expand Down Expand Up @@ -207,11 +207,11 @@ static double benchmark4( void ) {
double t;
int i;

int64_t ndims = 3;
int64_t shape[] = { 10, 10, 10 };
int64_t strides[] = { 1, 10, 100 };
int64_t offset = 0;
int64_t len = 1000;
const int64_t ndims = 3;
const int64_t shape[] = { 10, 10, 10 };
const int64_t strides[] = { 1, 10, 100 };
const int64_t offset = 0;
const int64_t len = 1000;

int64_t out[ 3 ];

Expand Down Expand Up @@ -243,11 +243,11 @@ static double benchmark5( void ) {
double t;
int i;

int64_t ndims = 3;
int64_t shape[] = { 10, 10, 10 };
int64_t strides[] = { 100, -10, 1 };
int64_t offset = 90;
int64_t len = 1000;
const int64_t ndims = 3;
const int64_t shape[] = { 10, 10, 10 };
const int64_t strides[] = { 100, -10, 1 };
const int64_t offset = 90;
const int64_t len = 1000;

int64_t out[ 3 ];

Expand Down Expand Up @@ -279,11 +279,11 @@ static double benchmark6( void ) {
double t;
int i;

int64_t ndims = 3;
int64_t shape[] = { 10, 10, 10 };
int64_t strides[] = { 1, -10, 100 };
int64_t offset = 90;
int64_t len = 1000;
const int64_t ndims = 3;
const int64_t shape[] = { 10, 10, 10 };
const int64_t strides[] = { 1, -10, 100 };
const int64_t offset = 90;
const int64_t len = 1000;

int64_t out[ 3 ];

Expand Down Expand Up @@ -315,11 +315,11 @@ static double benchmark7( void ) {
double t;
int i;

int64_t ndims = 3;
int64_t shape[] = { 10, 10, 10 };
int64_t strides[] = { 100, 10, 1 };
int64_t offset = 0;
int64_t len = 1000;
const int64_t ndims = 3;
const int64_t shape[] = { 10, 10, 10 };
const int64_t strides[] = { 100, 10, 1 };
const int64_t offset = 0;
const int64_t len = 1000;

int64_t out[ 3 ];

Expand Down Expand Up @@ -351,11 +351,11 @@ static double benchmark8( void ) {
double t;
int i;

int64_t ndims = 3;
int64_t shape[] = { 10, 10, 10 };
int64_t strides[] = { 1, 10, 100 };
int64_t offset = 0;
int64_t len = 1000;
const int64_t ndims = 3;
const int64_t shape[] = { 10, 10, 10 };
const int64_t strides[] = { 1, 10, 100 };
const int64_t offset = 0;
const int64_t len = 1000;

int64_t out[ 3 ];

Expand Down Expand Up @@ -387,11 +387,11 @@ static double benchmark9( void ) {
double t;
int i;

int64_t ndims = 3;
int64_t shape[] = { 10, 10, 10 };
int64_t strides[] = { 100, -10, 1 };
int64_t offset = 90;
int64_t len = 1000;
const int64_t ndims = 3;
const int64_t shape[] = { 10, 10, 10 };
const int64_t strides[] = { 100, -10, 1 };
const int64_t offset = 90;
const int64_t len = 1000;

int64_t out[ 3 ];

Expand Down Expand Up @@ -423,11 +423,11 @@ static double benchmark10( void ) {
double t;
int i;

int64_t ndims = 3;
int64_t shape[] = { 10, 10, 10 };
int64_t strides[] = { 1, -10, 100 };
int64_t offset = 90;
int64_t len = 1000;
const int64_t ndims = 3;
const int64_t shape[] = { 10, 10, 10 };
const int64_t strides[] = { 1, -10, 100 };
const int64_t offset = 90;
const int64_t len = 1000;

int64_t out[ 3 ];

Expand Down Expand Up @@ -459,11 +459,11 @@ static double benchmark11( void ) {
double t;
int i;

int64_t ndims = 3;
int64_t shape[] = { 10, 10, 10 };
int64_t strides[] = { 100, 10, 1 };
int64_t offset = 0;
int64_t len = 1000;
const int64_t ndims = 3;
const int64_t shape[] = { 10, 10, 10 };
const int64_t strides[] = { 100, 10, 1 };
const int64_t offset = 0;
const int64_t len = 1000;

int64_t out[ 3 ];

Expand Down Expand Up @@ -495,11 +495,11 @@ static double benchmark12( void ) {
double t;
int i;

int64_t ndims = 3;
int64_t shape[] = { 10, 10, 10 };
int64_t strides[] = { 1, 10, 100 };
int64_t offset = 0;
int64_t len = 1000;
const int64_t ndims = 3;
const int64_t shape[] = { 10, 10, 10 };
const int64_t strides[] = { 1, 10, 100 };
const int64_t offset = 0;
const int64_t len = 1000;

int64_t out[ 3 ];

Expand Down Expand Up @@ -531,11 +531,11 @@ static double benchmark13( void ) {
double t;
int i;

int64_t ndims = 3;
int64_t shape[] = { 10, 10, 10 };
int64_t strides[] = { 100, -10, 1 };
int64_t offset = 90;
int64_t len = 1000;
const int64_t ndims = 3;
const int64_t shape[] = { 10, 10, 10 };
const int64_t strides[] = { 100, -10, 1 };
const int64_t offset = 90;
const int64_t len = 1000;

int64_t out[ 3 ];

Expand Down Expand Up @@ -567,11 +567,11 @@ static double benchmark14( void ) {
double t;
int i;

int64_t ndims = 3;
int64_t shape[] = { 10, 10, 10 };
int64_t strides[] = { 1, -10, 100 };
int64_t offset = 90;
int64_t len = 1000;
const int64_t ndims = 3;
const int64_t shape[] = { 10, 10, 10 };
const int64_t strides[] = { 1, -10, 100 };
const int64_t offset = 90;
const int64_t len = 1000;

int64_t out[ 3 ];

Expand Down Expand Up @@ -603,11 +603,11 @@ static double benchmark15( void ) {
double t;
int i;

int64_t ndims = 3;
int64_t shape[] = { 10, 10, 10 };
int64_t strides[] = { 100, 10, 1 };
int64_t offset = 0;
int64_t len = 1000;
const int64_t ndims = 3;
const int64_t shape[] = { 10, 10, 10 };
const int64_t strides[] = { 100, 10, 1 };
const int64_t offset = 0;
const int64_t len = 1000;

int64_t out[ 3 ];

Expand Down Expand Up @@ -639,11 +639,11 @@ static double benchmark16( void ) {
double t;
int i;

int64_t ndims = 3;
int64_t shape[] = { 10, 10, 10 };
int64_t strides[] = { 1, 10, 100 };
int64_t offset = 0;
int64_t len = 1000;
const int64_t ndims = 3;
const int64_t shape[] = { 10, 10, 10 };
const int64_t strides[] = { 1, 10, 100 };
const int64_t offset = 0;
const int64_t len = 1000;

int64_t out[ 3 ];

Expand Down