Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FAIL in matrixMul example #212

Open
vvolkl opened this issue Aug 19, 2021 · 5 comments
Open

FAIL in matrixMul example #212

vvolkl opened this issue Aug 19, 2021 · 5 comments
Labels

Comments

@vvolkl
Copy link

vvolkl commented Aug 19, 2021

The matrixMul example fails for several CPU backends, for example -DALPAKA_ACC_CPU_B_OMP2_T_SEQ_ENABLE=ON:

...
Error! Matrix[51197]=0.00000000, ref=1.59999990 error term is > 1.000000E-06
Error! Matrix[51198]=0.00000000, ref=1.59999990 error term is > 1.000000E-06
Error! Matrix[51199]=0.00000000, ref=1.59999990 error term is > 1.000000E-06
Result = FAIL

Note: For peak performance, please refer to the matrixMulCUBLAS example.

Looking at the CI setup, it seems like this is expected, is that correct? If that is the case, can I update the install instructions to use the vectorAdd example instead?

@sbastrakov
Copy link
Member

Good catch, thanks for reporting. I am a bit confused that this comment implies that ALPAKA_ACC_CPU_B_OMP2_T_SEQ should work, but the following condition is different. I will look into that

@sbastrakov sbastrakov added the bug label Aug 19, 2021
@sbastrakov
Copy link
Member

Ah, but the documentation you linked even contradicts this comment. So some things among those are wrong for sure

@psychocoderHPC
Copy link
Member

Unfortionally I never added the element layer to the example. The required changes are in the GTC video linked in the README.md.
We should update the example.

@sbastrakov
Copy link
Member

So does changing CUPLA_KERNEL to CUPLA_KERNEL_OPTI (as suggested by the docs) not help here?

@psychocoderHPC
Copy link
Member

psychocoderHPC commented Aug 22, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants