spacing changes.
This commit is contained in:
parent
56be29fc58
commit
c605e951dc
1 changed files with 8 additions and 6 deletions
|
@ -18,6 +18,7 @@ int main(void)
|
||||||
float scalar = 0.0f;
|
float scalar = 0.0f;
|
||||||
float vector = 0.0f;
|
float vector = 0.0f;
|
||||||
int vecRuns[] = {10, 16, 17, 32, 33, 48, 49, 64, 65, 80, 81, 1024768};
|
int vecRuns[] = {10, 16, 17, 32, 33, 48, 49, 64, 65, 80, 81, 1024768};
|
||||||
|
|
||||||
for (uint32_t runCount = 0; runCount < RUNTOTAL; ++runCount)
|
for (uint32_t runCount = 0; runCount < RUNTOTAL; ++runCount)
|
||||||
{
|
{
|
||||||
// Generate random input vector of [-1, 1] values.
|
// Generate random input vector of [-1, 1] values.
|
||||||
|
@ -56,6 +57,7 @@ int main(void)
|
||||||
|
|
||||||
printf("%.9f\tvs\t%.9f\n", vector_time, scalar_time);
|
printf("%.9f\tvs\t%.9f\n", vector_time, scalar_time);
|
||||||
}
|
}
|
||||||
|
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue