clang
20.0.0git
lib
Headers
llvm_offload_wrappers
__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
}
blockDim
__CUDA_BUILTIN_VAR __cuda_builtin_blockDim_t blockDim
Definition:
__clang_cuda_builtin_vars.h:108
gridDim
__CUDA_BUILTIN_VAR __cuda_builtin_gridDim_t gridDim
Definition:
__clang_cuda_builtin_vars.h:109
__llvm_offload.h
llvmLaunchKernel
unsigned llvmLaunchKernel(const void *func, dim3 gridDim, dim3 blockDim, void **args, size_t sharedMem=0, void *stream=0)
dim3
Definition:
__llvm_offload.h:21
Generated on Mon Nov 4 2024 05:37:09 for clang by
1.9.6