various fixes
Fix/improve some cuda compilation and repair the case without the indexed navigation state. (or maybe we should remove that code)
Fix/improve some cuda compilation and repair the case without the indexed navigation state. (or maybe we should remove that code)