Deep Learning, Machine Learning, Gpu, Cuda, AI.
cudaMalloc((void **)&d_A, N * sizeof(float)); cudaMalloc((void **)&d_B, N * sizeof(float)); cudaMalloc((void **)&d_C, N * sizeof(float)); // Copy vectors A and B from host to device cudaMemcpy(d_A, A, N * sizeof(float), cudaMemcpyHostToDevice); cudaMemcpy(d_B, B, N * sizeof(float),