The original SCons CUDA tool is a little bit out-dated, and mal-functioning. As a by product in my coding, I made some improvement over it.

The major improvement is instead of adding .linkinfo in the emitter, I add cleaning dependency for automatic removing the generated .linkinfo. This allows user to use env.SharedObject with env.SharedLibrary (and also static ones).

The following is the modified CUDA tool. To use it, save the text into the file named cuda.py, and place it in site_scons\site_tools relative to your SConstruct/SConscipt.

» continue reading
Posted by yungyuc at 06:36, 0 comment, 0 trackback.
Change to page (10 entries in each page): 1
© hover year to navigate month: powered by django