Starting the gpu branch. CMakeLists.txt written for havahol laptop. Shallow water simulator from havahols fordypningsprosjekt. smallCalc.equelle is first test for gpu back-end.
Added CUDA backend as a straight copy of the CPU backend with name CUDA instead of CPU.
CMakeLists.txt compiles both .cu and c++11 now
My addition to the compiler: read from file, subtract on cpu and print to screen. Gives correct result.
InputFromFile transfer to device.
minus operate on device memory.
output load from device.
Working copy constructor for CollOfScalar
Attempt on making device_vector work. Copy constructor is not working after raw buffer is modified.
CollOfScalar only have allocated memory on device (raw buffer)
Uniform value fixed.
Minus operator now uses kernel instead of cublas.
Added kernel operators +, * and /
Equelle program using +-*/
More readable cuda error checking.
Clean up before merge with upstream/master.
Merge remote-tracking branch 'upstream/master' into HEAD
Organized the cuda backend according to the new file structure
File re-organizing with new structure. Merge from detached branch.
Working build system for backends which can also be used by equelle produced cpp files.
Added directory simulators for building my programs.
Changed CollOfScalar::getDevValues to CollOfScalar::data
Changed read and write functions to use std::vector instead of manually malloc and free.
output now writes to file or stdout according to input parameter.
Small fixes. getSize() -> size() and fixed vector bug in output