Registry / other / alpaka

alpaka

JSON →
library2.1.1vcpkgunverified

The alpaka library is a header-only abstraction library for accelerator development

vcpkg install alpaka
INSTALL
IMPORT
SIG · ALPAKA
A
alpaka
othercppv2.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

alpaka/alpaka.hpp
#include <alpaka/alpaka.hpp>

Query the CPU device using alpaka

#include <alpaka/alpaka.hpp> #include <iostream> int main() { using Dim = alpaka::DimInt<1>; using Idx = std::size_t; using DevCpu = alpaka::DevCpu; using PltfCpu = alpaka::PltfCpu; auto dev = alpaka::getDevByIdx<PltfCpu>(0u); std::cout << "Device name: " << alpaka::getName(dev) << std::endl; return 0; }
Debug
Known issues
gotchaalpaka is header-only but requires a C++17 compiler and may need backend-specific dependencies (e.g., CUDA, HIP).
fix
Ensure you have the appropriate backend installed and set the correct CMake options (e.g., ALPAKA_ACC_GPU_CUDA_ENABLE).
affects: *
Upgrade
Version history
2.1.1latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
40 hits · last 30 days
node
34
Meta
2
OpenAI (training)
1
Resources

No resource links recorded.

alpaka — pip install alpaka · libregistry