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

Architectural changes to support multi-return feature #285

Merged
merged 4 commits into from
May 23, 2024

Conversation

prybicki
Copy link
Collaborator

No description provided.

@prybicki prybicki requested a review from PawelLiberadzki May 15, 2024 11:21
src/gpu/nodeKernels.cu Outdated Show resolved Hide resolved
src/gpu/nodeKernels.cu Outdated Show resolved Hide resolved
src/api/apiCore.cpp Outdated Show resolved Hide resolved
src/gpu/nodeKernels.cu Show resolved Hide resolved
Comment on lines 248 to 257
if (first.isHit[beamIdx]) {
first.xyz[beamIdx] = beamSamples.xyz[beamIdx * samplesPerBeam + firstIdx];
first.distance[beamIdx] = beamSamples.distance[beamIdx * samplesPerBeam + firstIdx];
}

last.isHit[beamIdx] = lastIdx >= 0;
if (last.isHit[beamIdx]) {
last.xyz[beamIdx] = beamSamples.xyz[beamIdx * samplesPerBeam + lastIdx];
last.distance[beamIdx] = beamSamples.distance[beamIdx * samplesPerBeam + lastIdx];
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it not like if beamSamples.isHit[beamIdx * samplesPerBeam + sampleIdx] != 0 (line 235 above) then you will always have first and last? If this is true, then two if-statements here may technically be reduced to one.

src/gpu/nodeKernels.cu Show resolved Hide resolved

void enqueueExecImpl() override {}

// Point cloud description
Copy link
Contributor

Choose a reason for hiding this comment

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

Probably unsed docs from copy/paste?

@prybicki prybicki force-pushed the feature/arch-changes-mr branch from 964fcf2 to b5be808 Compare May 23, 2024 09:21
Copy link
Contributor

@PawelLiberadzki PawelLiberadzki left a comment

Choose a reason for hiding this comment

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

🥇

@PawelLiberadzki PawelLiberadzki merged commit c632a10 into feature/q2-features May 23, 2024
20 checks passed
@PawelLiberadzki PawelLiberadzki deleted the feature/arch-changes-mr branch May 23, 2024 10:34
msz-rai pushed a commit that referenced this pull request Jul 13, 2024
* Architectural changes to support multi-return feature
msz-rai pushed a commit that referenced this pull request Jul 15, 2024
* Architectural changes to support multi-return feature
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