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

Fix compilation error when _CLK_BREAKDOWN is defined in cagra. #2350

Merged
merged 4 commits into from
Jun 27, 2024

Conversation

jiangyinzuo
Copy link
Contributor

@jiangyinzuo jiangyinzuo commented Jun 2, 2024

PR #1740 forgot to rename BLOCK_SIZE in #ifdef _CLK_BREAKDOWN blocks.

The use of RAFT_LOG_DEBUG in kernel function results in compilation
errors, replace it with printf.

Also remove an unused function in search_single_cta_kernel-inl.cuh

After merging:

@jiangyinzuo jiangyinzuo requested a review from a team as a code owner June 2, 2024 10:08
Copy link

copy-pr-bot bot commented Jun 2, 2024

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions github-actions bot added the cpp label Jun 2, 2024
@jiangyinzuo
Copy link
Contributor Author

Hello @enp1s0 , can you please review this PR and add labels for Label Checker CI?

PR rapidsai#1740 forgot to rename `BLOCK_SIZE` in `#ifdef _CLK_BREAKDOWN`
blocks.

The use of `RAFT_LOG_DEBUG` in kernel function results in compilation
errors, replace it with `printf`.

Also remove an unused function in search_single_cta_kernel-inl.cuh
@enp1s0 enp1s0 self-requested a review June 2, 2024 16:44
Copy link
Member

@enp1s0 enp1s0 left a comment

Choose a reason for hiding this comment

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

Thank you @jiangyinzuo for the PR. It looks good to me. Sorry for forgetting to update the clock measurement code in my previous PR.

@enp1s0 enp1s0 added non-breaking Non-breaking change bug Something isn't working labels Jun 2, 2024
@enp1s0
Copy link
Member

enp1s0 commented Jun 2, 2024

@cjnolet Can you run the CI?

@tfeher
Copy link
Contributor

tfeher commented Jun 10, 2024

/ok to test

@tfeher
Copy link
Contributor

tfeher commented Jun 10, 2024

/ok to test

@jiangyinzuo
Copy link
Contributor Author

@tfeher I fixed the code style error reported by ci/check_style.sh. Can you help me rerun the CI?

@tfeher
Copy link
Contributor

tfeher commented Jun 10, 2024

/ok to test

Copy link
Contributor

@tfeher tfeher left a comment

Choose a reason for hiding this comment

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

Thanks @jiangyinzuo for the fix, the PR looks good to me.

@jiangyinzuo
Copy link
Contributor Author

[ RUN      ] GPUSpan.FromOther
unknown file: Failure
C++ exception with description "parallel_for failed: cudaErrorInvalidDevice: invalid device ordinal" thrown in the test body.

Is the failure related to this PR?

@cjnolet
Copy link
Member

cjnolet commented Jun 26, 2024

@tfeher @enp1s0 will we also need to port this patch forward to cuVS or does this issue not apply to cuVS?

@enp1s0
Copy link
Member

enp1s0 commented Jun 26, 2024

@cjnolet Yes, it is needed. As mentioned in the PR description, this PR will be ported to cuVS after this PR is merged.

@cjnolet
Copy link
Member

cjnolet commented Jun 26, 2024

/ok to test

@jiangyinzuo
Copy link
Contributor Author

I have created a PR for cuvs, see rapidsai/cuvs#202

@cjnolet
Copy link
Member

cjnolet commented Jun 27, 2024

/merge

@rapids-bot rapids-bot bot merged commit ad4e543 into rapidsai:branch-24.08 Jun 27, 2024
69 checks passed
rapids-bot bot pushed a commit to rapidsai/cuvs that referenced this pull request Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cpp non-breaking Non-breaking change
Projects
Development

Successfully merging this pull request may close these issues.

4 participants