Skip to content

possible cgemv,caxpy,cdot fix - #2243

Merged
martin-frbg merged 4 commits into
OpenMathLib:developfrom
quickwritereader:develop
Aug 30, 2019
Merged

martin-frbg merged 4 commits into
OpenMathLib:developfrom
quickwritereader:develop

Conversation

@quickwritereader

Copy link
Copy Markdown
Contributor

align buffers and also use vec_vsx_ld vec_vsx_st pairs to hint gcc to use new load/store instructions

@quickwritereader

Copy link
Copy Markdown
Contributor Author

#2233
Well, it turned out that gcc already provides vector intrinsics for (unaligned or word aligned) load store instructions. I re-wrote explicitly to avoid undesired GCC-8 instruction choice.

@martin-frbg

Copy link
Copy Markdown
Collaborator

Unfortunately I am still getting errors from CGEMV, CHEMV and CTRMV with this patch.

@martin-frbg

martin-frbg commented Aug 30, 2019 •

Copy link
Copy Markdown
Collaborator

Seems to be a genuine coding error, as disabling optimization no longer helps - with the pragma added back, computed results for CGEMV actually turn to all zero.

@martin-frbg

Copy link
Copy Markdown
Collaborator

Thanks, that fixes it for me so the travis error is probably unrelated. (I have restarted that CI job now)

@martin-frbg

Copy link
Copy Markdown
Collaborator

beginning to suspect that there might be something in this PR that the old gcc5 cannot cope with...
unfortunately I cannot create an Ubuntu16 instance in the minicloud at the moment, will try again later.

@quickwritereader

Copy link
Copy Markdown
Contributor Author

thanks @martin-frbg.
lets keep it open. I will check it again next week.

@martin-frbg

Copy link
Copy Markdown
Collaborator

Build passes on Power8/Ubuntu 16.04/gcc 5.4.0 (same configuration as the "failed" Travis job) in the unicamp.br minicloud,

@martin-frbg
martin-frbg merged commit f3c3145 into OpenMathLib:develop Aug 30, 2019
@martin-frbg martin-frbg added this to the 0.3.8 milestone Aug 30, 2019
@martin-frbg

Copy link
Copy Markdown
Collaborator

Err, after removing the QUIET_MAKE from .travis.yml in a private build it looks likely that our travis "ppc64le" job is actually building for x86_64 (in the DYNAMIC_ARCH part at least) before it runs out of time. I wonder if that is a new development and/or a side effect of the "unannounced beta" status of that configuration.

@isuruf

isuruf commented Aug 31, 2019

Copy link
Copy Markdown
Contributor

@martin-frbg, builds on travis-ci.com don't have ppc64le builds. travis-ci.org does though. Did you try travis-ci.org or travis-ci.com?

@martin-frbg

Copy link
Copy Markdown
Collaborator

Not sure which of the two xianyi set up, but I strongly suspect it is the .org - and this setup worked for months until it suddenly failed two days ago, just as we tried to debug #2237. I have commented out this part of the travis configuration file for now after confirming that both single-target and dynamic arch builds actually do work fine after quickwritereader's patch.

@isuruf

isuruf commented Aug 31, 2019

Copy link
Copy Markdown
Contributor

xianyi's is in travis-ci.org (https://travis-ci.org/xianyi/openblas) which is the correct domain.

@martin-frbg

Copy link
Copy Markdown
Collaborator

You are right that I may have had inadvertently linked my fork to travis-ci.com (I had removed and re-forked it recently, and somehow my account has OpenBLAS linked to both .com and .org), Just now the ppc build seems to be working again - not sure what the original issue was exactly due to the QUIET_MAKE setting, perhaps some glitch at travis had temporarily moved everything to the .com domain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants