summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 45bb160)
raw | patch | inline | side by side (parent: 45bb160)
author | Jianzhong Xu <xuj@ti.com> | |
Mon, 23 May 2016 14:47:05 +0000 (14:47 +0000) | ||
committer | Jianzhong Xu <xuj@ti.com> | |
Mon, 23 May 2016 14:47:05 +0000 (14:47 +0000) |
diff --git a/src/ti/linalg/blis/testsuite/src/test_ger.c b/src/ti/linalg/blis/testsuite/src/test_ger.c
index 2139260927a678a19628f8c5cf1947c4c396e8b4..8d7029fdfc59cab91e29e89fdfd21d5df1e62dcb 100644 (file)
//but need to re-initialize C for each of iteration of n_repeats
for(j = 0; j < test_way; j++)
{
- bli_copym( &a_save[i], &a[i] );
+ bli_copym( &a_save[j], &a[j] );
}
#else
bli_copym( &a_save, &a );
diff --git a/src/ti/linalg/blis/testsuite/src/test_her.c b/src/ti/linalg/blis/testsuite/src/test_her.c
index 660c31fe494e9e1fc97708cb0e7675d7056d6b7a..0d90ab6189a18ffef76ed775a7ddefaa50c2f0ba 100644 (file)
//but need to re-initialize C for each of iteration of n_repeats
for(j = 0; j < test_way; j++)
{
- bli_copym( &a_save[i], &a[i] );
+ bli_copym( &a_save[j], &a[j] );
}
#else
bli_copym( &a_save, &a );
diff --git a/src/ti/linalg/blis/testsuite/src/test_her2.c b/src/ti/linalg/blis/testsuite/src/test_her2.c
index c77f813db07f6c01836dbb295da4a0e1822203c0..16c204f6570f0664224227b840c2e5110f2a4cb6 100644 (file)
//but need to re-initialize C for each of iteration of n_repeats
for(j = 0; j < test_way; j++)
{
- bli_copym( &a_save[i], &a[i] );
+ bli_copym( &a_save[j], &a[j] );
}
#else
bli_copym( &a_save, &a );
diff --git a/src/ti/linalg/blis/testsuite/src/test_syr.c b/src/ti/linalg/blis/testsuite/src/test_syr.c
index 782dada3a3673ae91f8b53a082a059bade3ec355..643a5655f53703425f8429e372c9cbda4e978610 100644 (file)
//but need to re-initialize C for each of iteration of n_repeats
for(j = 0; j < test_way; j++)
{
- bli_copym( &a_save[i], &a[i] );
+ bli_copym( &a_save[j], &a[j] );
}
#else
bli_copym( &a_save, &a );
diff --git a/src/ti/linalg/blis/testsuite/src/test_syr2.c b/src/ti/linalg/blis/testsuite/src/test_syr2.c
index 45c2c79562922a3f4611e7572e3a701ed0f0980f..885df9f1f53e8f43561cd55e020e8f9c8d6d514f 100644 (file)
//but need to re-initialize C for each of iteration of n_repeats
for(j = 0; j < test_way; j++)
{
- bli_copym( &a_save[i], &a[i] );
+ bli_copym( &a_save[j], &a[j] );
}
#else
bli_copym( &a_save, &a );
diff --git a/src/ti/linalg/blis/testsuite/src/test_trsv.c b/src/ti/linalg/blis/testsuite/src/test_trsv.c
index 8f0cb335d3cd798c8f589bdbffed7ea3d23dcf95..700cf22f6ebc2cd44037f517620ff22a2db3a68d 100644 (file)
for ( i = 0; i < n_repeats; ++i )
{
#ifdef BLIS_ENABLE_MULTITHREAD_TEST
+ //printf("initialize the CBLAS OpenCL kernel\n");
// Need only one call to initialize the CBLAS OpenCL kernel
bli_copyv( &x_save[0], &x[0] );
- libblis_test_trsv_impl( iface, &alpha, &a, &x[i] );
+ //printf("run trsv\n");
+ libblis_test_trsv_impl( iface, &alpha, &a, &x[0] );
+ //printf("trsv finished\n");
//but need to re-initialize C for each of iteration of n_repeats
for(j = 0; j < test_way; j++)
{