CUDA API fuction such as cudaMalloc is undefined

I built a project,but always said"intellisense:identifer “cudaMalooc” is undefined.all the runtime API fuction is undefined,but noting wrong with the blokidx,threadidx.lookfoward for help.thanks