Skip to content

performance is very bad when porting openblas  #1693

Closed
@TianBinyu

Description

@TianBinyu

Dear Sir~
Now we want to porting openblas to Tizen platform, but the performance is very bad ... :(
For example ,we only test this api:
float a[2] = {1.0,2.0};
float b[2]={1.0,1.0};
clock_t START = clock();
printf ("%f\n",cblas_sdot(dim, a, 1, b, 0));
printf("time %d\n", clock() - START);
The result in Tizen platform is:
3.000000
time 945

But when we test same code in linux,result is:
3.000000
time 52
We have test many times, and little change.

It is not related with the hardware i think, because i test this code,too:
clock_t START = clock();
int i = 0;
while(i<99999999){
i++;
}
printf("time %d\n", clock() - START);
In Tizen platform, the result is:
time 292073
which in linux platform is:
time 157073
We build openBlas in tizen with this cmd:
make TARGET=ARMV7

If you can help me to check this issue?
Thank you very much~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions