Вот программа CUDA, которую я пытаюсь запустить:
add.cu:
Код: Выделить всё
#include
#include
//kernel function to add the elements of two arrays
_global__
void add(int n, float *x, float *y) {
for (int i=0; i < n; i++) {
y[i] = x[i] + y[i];
}
}
int main(void) {
int N = 1
Подробнее здесь: [url]https://stackoverflow.com/questions/78709092/cuda-c-compilation-error-fatal-error-c1083-cannot-open-include-file-core[/url]