Skip to content

Benchmark code for the "Online normalizer calculation for softmax" paper

License

Notifications You must be signed in to change notification settings

SnowmanLiu/online-softmax

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Benchmark

This is a benchmark to explore performance of Softmax and Softmax+TopK functions with online calculation of softmax normalization term. Please see "Online normalizer calculation for softmax" paper.

Build

You will need CUB v1.8.0 (or newer) and CUDA 9.1 (or newer) to build the benchmark. Set CUB variable in Makefile to the correct location of CUB library. Build the sample: make

Run

Run the sample: ./online_softmax_benchmark

About

Benchmark code for the "Online normalizer calculation for softmax" paper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Cuda 98.6%
  • Makefile 1.4%