Update to add Cuda to build system
This commit is contained in:
parent
8408036078
commit
68f8b02f0a
8 changed files with 120 additions and 17 deletions
10
kernels/hello_world.h
Normal file
10
kernels/hello_world.h
Normal file
|
@ -0,0 +1,10 @@
|
|||
#ifndef HELLO_WORLD_CU_H
|
||||
#define HELLO_WORLD_CU_H
|
||||
|
||||
extern "C" {
|
||||
// Declaration of the CUDA function that will be called from C++
|
||||
void launch_hello_cuda();
|
||||
void check_cuda();
|
||||
}
|
||||
|
||||
#endif // HELLO_WORLD_CU_H
|
Loading…
Add table
Add a link
Reference in a new issue