mirror of
https://github.com/XAMPPRocky/tokei
synced 2024-09-17 23:02:02 +00:00
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];
|
||
|
}
|