Run Cuda in NetBeans 8.2

Hi,

I want to compile Cuda program in NetBeans 8.2:
My pc is runing ubuntu 16.04 with GeForce GT 730 (384 Cuda cores).

  1. I added the cuda plugin from NetBeans Site http://plugins.netbeans.org/plugin/36176.
    the NetBeans dosn’t recognize any *.cu extension.
  2. I searched for a guide what to do after and I found https://devtalk.nvidia.com/default/topic/384763/ide-for-cuda-using-netbeans-c-c-ide-with-cuda/-> that gives a list of uncleared instructions, That did not match my environment.

I am searching for one guide/tutorial that explain how to do it step by step.

I spent more then two weeks, only to set this up.
I can compile using nvcc command from terminal:

nvcc temp.cu -o temp.x
./temp.x
  • Cuda ToolKit9-0 is installed as well.