Skip to content
Snippets Groups Projects

GPU backend

Merged prathi3 requested to merge gpu-cg into main
Compare and
30 files
+ 2127
31
Compare changes
  • Side-by-side
  • Inline
Files
30
+ 2
0
@@ -13,6 +13,8 @@ pub fn device_placement(functions: &Vec<Function>, callgraph: &CallGraph) -> Vec
devices.push(device);
} else if function.entry || callgraph.num_callees(FunctionID::new(idx)) != 0 {
devices.push(Device::AsyncRust);
} else if cfg!(feature = "cuda") {
devices.push(Device::CUDA);
} else {
devices.push(Device::LLVM);
}
Loading