Fix syntax error in C++ and Cuda sample files

This commit is contained in:
HiPhish 2024-08-14 20:14:52 +02:00
parent b598aef62b
commit 98e93a75fc
4 changed files with 14 additions and 14 deletions

View file

@ -70,7 +70,7 @@ void do_nothing_with_vector(std::vector<std::vector<std::vector<int>>> v) {
int main(int argc, char *argv[]) {
auto a {10};
auto b (5);
auto b = (5);
auto result = add(a, b);
printf("The sum of %d and %d is %d", ((((a)))), b, result);
int indices[] = {0, };

View file

@ -78,7 +78,7 @@ void call_device() {
int main(int argc, char *argv[]) {
auto a {10};
auto b (5);
auto b = (5);
auto result = add(a, b);
printf("The sum of %d and %d is %d", ((((a)))), b, result);
int indices[] = {0, };

View file

@ -533,18 +533,18 @@ return {
hl_group = "RainbowDelimiterYellow",
start_col = 11,
start_row = 71
}, {
end_col = 9,
end_row = 72,
hl_group = "RainbowDelimiterYellow",
start_col = 8,
start_row = 72
}, {
end_col = 11,
end_row = 72,
hl_group = "RainbowDelimiterYellow",
start_col = 10,
start_row = 72
}, {
end_col = 13,
end_row = 72,
hl_group = "RainbowDelimiterYellow",
start_col = 12,
start_row = 72
}, {
end_col = 19,
end_row = 73,

View file

@ -629,18 +629,18 @@ return {
hl_group = "RainbowDelimiterYellow",
start_col = 11,
start_row = 79
}, {
end_col = 9,
end_row = 80,
hl_group = "RainbowDelimiterYellow",
start_col = 8,
start_row = 80
}, {
end_col = 11,
end_row = 80,
hl_group = "RainbowDelimiterYellow",
start_col = 10,
start_row = 80
}, {
end_col = 13,
end_row = 80,
hl_group = "RainbowDelimiterYellow",
start_col = 12,
start_row = 80
}, {
end_col = 19,
end_row = 81,