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

gpu.cpp: new recipe #24736

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

gpu.cpp: new recipe #24736

wants to merge 1 commit into from

Conversation

valgur
Copy link
Contributor

@valgur valgur commented Jul 27, 2024

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 the gpu.cpp CMake file name and gpu.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


@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 1 (ec5add253fa451595496498a55dd3feaa083896f):

  • gpu.cpp/cci.20240726:
    Error running command conan info gpu.cpp/cci.20240726@#9b17ef4c8e8c950d6288a41095202e2e --json {jsonName} --dry-build -pr {profileName}:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=5
    os=Linux
    
    ...
    ERROR: Failed requirement 'dawn/cci.20240726' from 'gpu.cpp/cci.20240726'
    ERROR: Unable to find 'dawn/cci.20240726' in remotes
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.


Conan v2 pipeline ❌

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping @conan-io/barbarians on the PR and we will help you.

Failure in build 1 (ec5add253fa451595496498a55dd3feaa083896f):

  • gpu.cpp/cci.20240726:
    Error running command conan graph info --requires gpu.cpp/cci.20240726@#9b17ef4c8e8c950d6288a41095202e2e --build gpu.cpp/cci.20240726@#9b17ef4c8e8c950d6288a41095202e2e -f json -pr:h /home/conan/workspace/prod-v2/bsr/66809/decfe/profile_linux_11_libstdcpp11_17_gcc_release_64..txt -pr:b /home/conan/workspace/prod-v2/bsr/66809/decfe/profile_linux_11_libstdcpp11_17_gcc_release_64..txt:
    ======== Computing dependency graph ========
    dawn/cci.20240726: Not found in local cache, looking in remotes...
    dawn/cci.20240726: Checking remote: conan-center
    dawn/cci.20240726: Checking remote: c3i_PR-v2-24736
    Graph root
        cli
    Requirements
        gpu.cpp/cci.20240726#9b17ef4c8e8c950d6288a41095202e2e - Cache
    ERROR: Package 'dawn/cci.20240726' not resolved: Unable to find 'dawn/cci.20240726' in remotes.
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants