Skip to content

Conversation

@wenju-he
Copy link
Contributor

@wenju-he wenju-he commented Nov 4, 2025

__clc_cbrt functions are declared in clc_cbrt.inc. Rename to .h for consistency with other headers.

__clc_cbrt functions are declared in clc_cbrt.inc.
Rename to .h for consistency with other headers.
@llvmbot llvmbot added the libclc libclc OpenCL library label Nov 4, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR renames clc_cbrt.inc to clc_cbrt.h for consistency with other header files in the libclc project. The change updates include statements to reference the new header file name.

  • Updated include statement in cbrt.cl to reference the renamed header
  • Added include statement in clc_cbrt.cl to properly include the renamed header
  • Ensures naming consistency across the codebase by using .h extension for header files

Reviewed Changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
libclc/opencl/lib/generic/math/cbrt.cl Updated include path from clc_cbrt.inc to clc_cbrt.h
libclc/clc/lib/generic/math/clc_cbrt.cl Added include for clc_cbrt.h header

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@wenju-he wenju-he merged commit 8648bef into llvm:main Nov 5, 2025
12 checks passed
@wenju-he wenju-he deleted the clc_cbrt.h branch November 5, 2025 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

libclc libclc OpenCL library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants