nvcc4jupyter icon indicating copy to clipboard operation
nvcc4jupyter copied to clipboard

Is it possible to include multiple files and then compile and link them ?

Open AvanteElectro opened this issue 3 years ago • 1 comments

Is it possible to include multiple files and then compile and link them ?

Or do we have to put all the code after %%cu in the cell of the notebook ?

AvanteElectro avatar May 08 '21 14:05 AvanteElectro

hello @AvanteElectro yes, you can compile multiple files with v2 of the extension. Please review the readme. For each file you'll need something like %%cuda --name example.cu --compile false

andreinechaev avatar Jun 01 '21 19:06 andreinechaev

The new version of the package does this using the concept of groups. Read more about them here.

cosminc98 avatar Feb 12 '24 19:02 cosminc98