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

feat(UnifiedBackendTest): partial accessors #454

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

killenb
Copy link
Member

@killenb killenb commented Dec 4, 2024

No description provided.

@killenb killenb self-assigned this Dec 4, 2024
@killenb killenb requested a review from mhier December 4, 2024 10:00
boost::mpl::for_each<VECTOR_OF_REGISTERS_T>([&](auto x) {
if(this->isAsyncRead(x)) ++nAsyncReadRegisters;
if(this->isSyncRead(x)) ++nSyncReadRegisters;
if(this->isWrite(x)) ++nWriteRegisters;
if(this->isWrite(x) && !this->isRead(x)) ++nWriteOnlyRegisters;
if(!this->isWrite(x) && this->isRead(x)) ++nReadOnlyRegisters;
if(this->isRaw(x)) ++nRawRegisters;
if(this->isRead(x) && x.nElementsPerChannel() > 4) ++nPartialReadRegisters;
if(this->isWrite(x) && x.nElementsPerChannel() > 4) ++nPartialWriteRegisters;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to check for the capability here.

@killenb killenb force-pushed the feat/partialAccessorTest branch from 4061e3d to 9460b87 Compare December 6, 2024 16:35
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.

2 participants