clang  20.0.0git
__llvm_offload_host.h
Go to the documentation of this file.
1 /*===------ LLVM/Offload helpers for kernel languages (CUDA/HIP) -*- c++ -*-===
2  *
3  * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4  * See https://llvm.org/LICENSE.txt for license information.
5  * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6  *
7  *===-----------------------------------------------------------------------===
8  */
9 
10 #include "__llvm_offload.h"
11 
12 extern "C" {
13 unsigned llvmLaunchKernel(const void *func, dim3 gridDim, dim3 blockDim,
14  void **args, size_t sharedMem = 0, void *stream = 0);
15 }
__CUDA_BUILTIN_VAR __cuda_builtin_blockDim_t blockDim
__CUDA_BUILTIN_VAR __cuda_builtin_gridDim_t gridDim
unsigned llvmLaunchKernel(const void *func, dim3 gridDim, dim3 blockDim, void **args, size_t sharedMem=0, void *stream=0)