Run Cuda in NetBeans 8.2


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
    the NetBeans dosn’t recognize any *.cu extension.
  2. I searched for a guide what to do after and I found> 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 -o temp.x
  • Cuda ToolKit9-0 is installed as well.