microsoft / microsoft/vscode-cmake-tools

[Feature] Support of application developed with Kokkos

Open
#4,653 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

### Request Overview

When I use CMake Tools configure and compile code with Kokkos, headers like stddef.h cannot be detected by C/C++ extension with configurationProvider=cmake-tools. But if I justly compile a cuda-mpi code, everything goes well. I wonder if it is the problem that Kokkos need to use its nvcc_wrapper.

I post the codes mentioned above:

[example.zip](https://github.com/user-attachments/files/24422108/example.zip)

### Additional Information

_No response_

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the attached example.zip and the CMake Tools path using configurationProvider=cmake-tools. Compare configuration of the Kokkos build, including its nvcc_wrapper, with the working cuda-mpi case; done means headers such as stddef.h are detected by the C/C++ extension.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.