decuda 0.1.1

CUDA to HIP, SYCL, OpenCL, and Rust GPU migration tool — automatic source-code translator for porting CUDA C++ kernels to AMD ROCm HIP, Intel oneAPI SYCL, Khronos OpenCL, and Rust GPU (cust / rust-gpu)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Generated by decuda.
// SYCL kernels replace CUDA kernels with parallel_for lambdas; this
// output is a *starting point* and almost always requires manual
// follow-up. Look for the `TODO(decuda)` markers in this file.

#include <sycl/sycl.hpp>

// Fixture: only header includes, exercising every include-replacement path
// known to the parser (cuda_runtime.h, cuda.h, device_functions.h, and a
// generic cuda_*.h header).
#include <sycl/sycl.hpp> /* was: cuda_runtime.h */
#include <sycl/sycl.hpp> /* was: cuda.h */
#include <sycl/sycl.hpp> /* was: device_functions.h */
#include /* TODO: replace with target equivalent of cuda_fp16.h */ /* was: cuda_fp16.h */

int main() { return 0; }