How to create and test a DLL for a code which has CUDA

Hi all,

I used the regular settings in VS2008 and created a DLL for a small file which includes a CUDA kernel. It compiled without any errors. Now, I want to know how to test a DLL file. How to run it. Also, is there anything else I need to know about creating DLLs from source codes which have CUDA kernels as part of them?