mirror of
https://github.com/XAMPPRocky/tokei
synced 2024-09-13 21:11:29 +00:00
7e4639212c
* add cuda language * test and readme * Update cuda.cu
8 lines
163 B
Plaintext
8 lines
163 B
Plaintext
/* 7 lines 4 code 2 comments 1 blanks */
|
|
|
|
// add vector
|
|
__host__ void add(const int* a, const int* b, int* c) {
|
|
int i = threadIdx.x;
|
|
c[i] = a[i] + b[i];
|
|
}
|