Reading from texture finally workinggit add . Problem was with memory declaration beeing used in multiple files. A cuda storage variable needs to be declared in the same compilation unit (file) where it is used. Fixed this by merging WindSystem and WindSystemKernels. This makes the code less readable so should try to rearrange the code.
Merge remote-tracking branch 'origin/master'