Hi again,
I know this thread is relatively old, but I think I have something relevant to add.
I recently upgraded my computer at the university and I got myself a GTX Titan Xp. So, I decided to upgrade from CUDA 8 to CUDA 10. Turns out that much have changed.
So, like it was said before, the SlackBuilds for the cudatoolkit is old, I was not able to just change the version and expect that everything else would work fine. Therefore, I wrote my own SlackBuilds script for CUDA 10. You can check it out at
https://github.com/aragorn2101/Slack...er/cudatoolkit.
As I mention in the README, it is not official SlackBuilds and I didn't test with the nvidia-driver and nvidia-kernel available from SlackBuilds.org. Instead I worked with driver and kernel version 430.34 and it worked well. I guess version 430.14 (from SlackBuilds.org at time of writing) will work as well.
I am not going to postulate to replace the cudatoolkit 8 on SlackBuilds as, in a near future, I might not be at the university anymore and I am not sure I will still have a CUDA capable GPU at hand to test.
So, I make this available for all those out there wanting to use CUDA in Slackware. Feel free to adapt depending on your needs or if Nvidia changes stuff again.
I hope this helps.
Cheers.