Raygen SBT data access results to illegal memory access

Well, printing with “%llx” has the same pattern. On host: b0575aa00 and on device: 575aa20.

When I get to the office, I will modify the “hello world” example and get back to you. If this won’t work I’ll try to wrap most of the code and send it to you (thank you very much for this).

PS: I tried to build the SDK examples with nvrtc enabled and if I understood correctly there are a lot of standard header dependencies and you basically cannot use nvrtc (for running the examples) yet, right? But the other thing is that I couldn’t make them run without nvrtc enabled also (that’s on Visual Studio 2015 vc140). I think (and that’s coming from managing to build Ingo Wald’s examples on VS2017) that the custom build step that compiles the cuda source files to ptx is not “passed” from cmake to the Visual Studio projects, at least on Visual Studio 2015. I will check again on that tomorrow.

Thanks again, I am really grateful,
Perukas