Invalid Device Function Error

Hello all,
I am trying to make cubgs to work under linux.
I have almost succeeded,but i get an invalid Device Function Error.
I don’t know what i am doing wrong, could you please give me some pointers.
My google search didn’t gave me any clue as to how to proceed.
I am attaching you the project files so you can have a look.

Thank you in advance.

Apostolis

shared nasync debug.zip (551 KB)

On what kind of GPU did you try to run it ?

It fails on both fermi gts450 as well as 8400m .

I don’t think that it is a gpu issue.