rogerdahl / cuda-collatz Goto Github PK
View Code? Open in Web Editor NEWThe world’s fastest Collatz Delay Record calculator?
License: MIT License
The world’s fastest Collatz Delay Record calculator?
License: MIT License
Hello Roger,
I found this project very interesting. After not doing C programming for over 20 years my old friend asked me to join him in doing a Collatz program as a hobby to while away the hours.
We are actually doing the max N value for any given N, rather than the delay. On my 4 core cpu I am up to 60, with no sieving, but using general number optimisations plus threaded so using 3 of the 4 cores ( it is my main PC so it needs to do something else as well on the fourth core, like write this :) ).
Being very rusty at programming, but having seen your excellent effort, I wondered whether you could advise on moving my code ( I use generic Visual Studio v17 C code ) to the graphics card; note I am an an absolute beginner at graphics card programming. The advantages are clear of course, graphics cards being massively multi-parallel. I have a 970 GTX in the machine not doing much nowadays apart from the odd game.... getting old :)
I am not sure if you are reading this page anymore, but I thought I would reach out on the off chance.
All the best, and well done on your work with this. I am always in awe of people who are on a higher rung of the programming ladder. Same for the maths bods !!!!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.