Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Changes to recipe: gpu.cpp/cci.20240726
Motivation
gpu.cpp is a lightweight library that makes portable GPU compute with C++ simple.
It focuses on general purpose native GPU computation, leveraging the WebGPU specification as a portable low-level GPU interface. This means we can drop in GPU code in C++ projects and have it run on Nvidia, Intel, AMD, and other GPUs. The same C++ code can work on a wide variety of laptops, workstations, mobile devices or virtually any hardware with Vulkan, Metal, or DirectX support.
https://gpucpp.answer.ai/
Details
The library is not yet very stable in terms of the build system, it seems. It currently does not install any headers or export a CMake config. I opted to place the installed headers under an unofficial
gpu.cpp/
prefix and chose to use thegpu.cpp
CMake file name andgpu.cpp::gpu.cpp
CMake target implicitly generated by Conan.I'll probably have to simplify
test_package.cpp
, but I'd like to see whether the more complex one passes for all CCI configurations first./cc @AnswerDotAI @austinvhuang