Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP] Update backprop OpenMP GPU version
After hours of debugging, it's still not working. 1. Fix missing headers, function declarations, etc. 2. Use 1D array instead of 2D array due to OpenMP data mapping issue. 3. Fix data allocation and usage. Original code maps data[0:size] but use data[0:size+1] on the device. The memory allocation is problematic. Depending on the input size, e.g. 64, 128, 1024, 65536 ..., the program will crash at different places. The default input size 65536 may cause data overflow.
- Loading branch information