Skip to content

Conversation

@Vipul-Cariappa
Copy link
Collaborator

Description

Fixes # (issue)

Type of change

  • Bug fix
  • New feature
  • Requires documentation updates

Testing

  • add tests

Checklist

  • I have read the contribution guide recently

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

Decl* D = static_cast<Decl*>(scope);
if (auto *FD = llvm::dyn_cast<FunctionDecl>(D)) {
for (const auto &i: FD->attrs()) {
if (i->getKind() == clang::attr::Kind::CUDAGlobal)
Copy link
Contributor

Choose a reason for hiding this comment

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

warning: no header providing "clang::attr::Kind" is directly included [misc-include-cleaner]

lib/CppInterOp/CppInterOp.cpp:41:

- #if CLANG_VERSION_MAJOR >= 19
+ #include <clang/Basic/AttrKinds.h>
+ #if CLANG_VERSION_MAJOR >= 19

@codecov
Copy link

codecov bot commented Nov 5, 2025

Codecov Report

❌ Patch coverage is 0% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.89%. Comparing base (2df83a9) to head (6fe5ccc).

Files with missing lines Patch % Lines
lib/CppInterOp/CppInterOp.cpp 0.00% 7 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #745      +/-   ##
==========================================
- Coverage   79.04%   78.89%   -0.15%     
==========================================
  Files           9        9              
  Lines        3879     3886       +7     
==========================================
  Hits         3066     3066              
- Misses        813      820       +7     
Files with missing lines Coverage Δ
include/CppInterOp/CppInterOp.h 95.12% <ø> (ø)
lib/CppInterOp/CppInterOp.cpp 87.32% <0.00%> (-0.29%) ⬇️
Files with missing lines Coverage Δ
include/CppInterOp/CppInterOp.h 95.12% <ø> (ø)
lib/CppInterOp/CppInterOp.cpp 87.32% <0.00%> (-0.29%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mcbarton
Copy link
Collaborator

mcbarton commented Nov 5, 2025

@Vipul-Cariappa We don't currently have a ci job which can test cuda related stuff. The self hosted runners Clad uses for this are already subscribed (CppInterOp technically has them available, but I never put them to use for this reason). If you add a test I can check your changes locally though.

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