Make a dll file to be exported to Labview

Can anyone plz help me out to make dll file in Visual Studio 2008 to perform CUDA operation in Labview? In labview I send a 2D array to GPU using “Copy 2D array to CUDA Memory”. But now I want to do some calculation in GPU by making a dll file in Visual studio and then importing it in labview but I am unable to do so. Can anyone plz tell me what shall I do and plz share with me a sample dll file to do so?


This might help.

It shows how to create a dll file and use it in C#.

I tried to do the same thing described in the link but its not working. The functions of dll file can not be accessed. Can you please send me a sample dll file?