• Chris Sullivan's avatar
    Refactored GPU backend state into BackendContext (#1186) · 55a25d41
    Chris Sullivan authored
    * Refactored GPU backend state into BackendContext and moved it to the highest level GPU_Backend.
    Some bugs have appeared in so doing. Needs investigation.
    
    * extra *block_size
    
    * change grid_size to threads
    
    * Bug fix in softmax cache parameters.
    
    * Additional bug fix for maxpool1d cache parameters.
    
    * Bug fix in softmax cache parameters.
    
    * Additional bug fix for maxpool1d cache parameters.
    
    * Remove temporary print statements.
    
    * Use nthreads in primitive hash.
    
    * Switched from using stack references for cudnn and cublas handles to heap pointers held only the c-struct GPURuntimeContext but managed by the GPU_Backend.
    
    * Refactored the use of GPURuntimeContext* ctx throughout the emitters.
    
    * Use std::prev instead of operator-- for memory iteratory capture
    
    * bug fix from abaf1d7
    55a25d41
Name
Last commit
Last update
.ci/travis/ubuntu Loading commit data...
cmake Loading commit data...
contrib/docker Loading commit data...
doc Loading commit data...
licenses Loading commit data...
maint Loading commit data...
python Loading commit data...
src Loading commit data...
test Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.travis.yml Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIB.md Loading commit data...
INSTALL.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
VERSION.in Loading commit data...
changes.md Loading commit data...