Alpaka: Add support for CUDA 10.1

Created on 12 Mar 2019  路  3Comments  路  Source: alpaka-group/alpaka

  • [x] fix compilation errors
CUDA

Most helpful comment

For my application, simply changing auto currentTaskPackage(std::shared_ptr<ITaskPkg>{nullptr}); to auto currentTaskPackage = std::shared_ptr<ITaskPkg>{nullptr}; in include/alpaka/core/ConcurrentExecPool.hpp in lines 342, 429, 550, 642 did the trick. Compilation with CUDA 10.1 and gcc-8 works for me with those changes. I don麓t know whether or not this fixes all compilation errors for all use cases/tests, but it might help.

All 3 comments

For my application, simply changing auto currentTaskPackage(std::shared_ptr<ITaskPkg>{nullptr}); to auto currentTaskPackage = std::shared_ptr<ITaskPkg>{nullptr}; in include/alpaka/core/ConcurrentExecPool.hpp in lines 342, 429, 550, 642 did the trick. Compilation with CUDA 10.1 and gcc-8 works for me with those changes. I don麓t know whether or not this fixes all compilation errors for all use cases/tests, but it might help.

Thanks, I will try this!

Works, thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

psychocoderHPC picture psychocoderHPC  路  5Comments

mxmlnkn picture mxmlnkn  路  5Comments

BenjaminW3 picture BenjaminW3  路  6Comments

ax3l picture ax3l  路  3Comments

BenjaminW3 picture BenjaminW3  路  5Comments