added texture ref support for cuModules. you can sync mapping/unmapping of shared resources with any cuda stream now (was just the NULL stream before)