VS 2019 DLL compile problems

I am trying to build a simple DLL from the cuda 11.0 runtime project within VS 2019. I have already changed the type from exe to dll. The code is very simple.
kernel.h

#ifndef KERNEL_H
#define KERNEL_H

#include “cuda_runtime.h”
#include “device_launch_parameters.h”

void initWith(float num, float* a, int N);
void addVectorsInto(float* result, float* a, float* b, int N);
#ifdef __cplusplus
extern “C” {
#endif

float* __declspec(dllexport) cuspDsolver();

#ifdef __cplusplus
}
#endif

#endif

kernel.cu
float* cuspDsolver()
{
const int N = 2;
size_t size = N * sizeof(float);
cudaError_t err;

float* a;
float* b;
float* c;


err = cudaMallocManaged(&a, size);
if (err != cudaSuccess)
{

}
err = cudaMallocManaged(&b, size);
if (err != cudaSuccess)
{

}
err = cudaMallocManaged(&c, size);
if (err != cudaSuccess)
{

}
else
{
    
}
initWith(3, a, N);
initWith(4, b, N);
initWith(0, c, N);

int block = 4;
int threads = 1024;

addVectorsInto <<<block, threads >>> (c, a, b, N);
err = cudaGetLastError(); // `cudaGetLastError` will return the error from above.
if (err != cudaSuccess)
{

}
else
{

}
cudaDeviceSynchronize();

cudaFree(a);
cudaFree(b);
cudaFree(c);

return c;

}

void initWith(float num, float* a, int N)
{
for (int i = 0; i < N; ++i)
{
a[i] = num;
}
}

global void addVectorsInto(float* result, float* a, float* b, int N)
{
int idx = blockIdx.x * blockDim.x + threadIdx.x;
int stride = gridDim.x * blockDim.x;

for (int i = idx; i < N; i += stride)
{
    result[i] = a[i] + b[i];
}

}

However when i try to compile the project, i get a error:
Error 1
Severity Code Description Project File Line Suppression State
Error (active) E0029 expected an expression CudaDLL-01 D:\Projects\Cuda Testing\CudaDLL-01\CudaDLL-01\kernel.cu 49

on the
addVectorsInto <<<block, threads >>> (c, a, b, N); part. Specifically on the “<<<”

also i get the following error regarding compiling.
Error 2
Severity Code Description Project File Line Suppression State
Error MSB3721 The command ““C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\bin\nvcc.exe” -gencode=arch=compute_52,code=“sm_52,compute_52” --use-local-env -ccbin “C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\bin\HostX86\x64” -x cu -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\include” -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\include" --keep-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -DWIN32 -DWIN64 -DNDEBUG -D_CONSOLE -D_WINDLL -D_MBCS -Xcompiler “/EHsc /W3 /nologo /O2 /Fdx64\Release\vc142.pdb /FS /Zi /MD " -o x64\Release\kernel.cu.obj “D:\Projects\Cuda Testing\CudaDLL-01\CudaDLL-01\kernel.cu”” exited with code 1. CudaDLL-01 C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\BuildCustomizations\CUDA 11.0.targets 772

Can some please help. I have read a bunch of the forums however they aren’t real clear on how to actually address the issue.