• Paul Fultz II's avatar
    Use dnnl for cpu backend (#688) · 406afeb8
    Paul Fultz II authored
    
    
    * Add flag to enable cpu backend
    
    * Make buffers shared
    
    * Enable optimizations
    
    * Add onednn
    
    * Formatting
    
    * Formatting
    
    * Add dnnl header
    
    * Formatting
    
    * Rewrite rnn first
    
    * Formatting
    
    * Call reference implementation
    
    * Formatting
    
    * Make literal data shared
    
    * Formatting
    
    * Add convolution
    
    * Formatting
    
    * Compensate for dilation
    
    * Formatting
    
    * Use name/make_op instead
    
    * Formatting
    
    * Rename gemm header
    
    * Formatting
    
    * Add dnnl convolution/gemm operators
    
    * Formatting
    
    * Add eliminate_contiguous
    
    * Add faster pointwise operators
    
    * Formatting
    
    * Formatting
    
    * Formatting
    
    * Add dnnl op class
    
    * Formatting
    
    * Add add op
    
    * Formatting
    
    * Add concat operator
    
    * Formatting
    
    * Add more ops
    
    * Create descriptor during finalization
    
    * Formatting
    
    * Dont rewrite pooling
    
    * Enable memory coloring
    
    * Formatting
    
    * Add output aliases
    
    * Formatting
    
    * Fix errors
    
    * Formatting
    
    * Convert literals
    
    * Add missing file
    
    * Remove batch_norm
    
    * Formatting
    
    * Use strides
    
    * Formatting
    
    * Add some debug checks
    
    * Formatting
    
    * Fix big in adjusting shape for gemm
    
    * Formatting
    
    * Fix fallback dot operator
    
    * Zero initialize buffers
    
    * Add suport for group convolutions
    
    * Formatting
    
    * Make adjust allocation target independent
    
    * Formatting
    
    * Enable adjust_allocation for gpu/cpu
    
    * Formatting
    
    * Add copy to allocation model
    
    * Formatting
    
    * Add copy operator
    
    * Formatting
    
    * Better handling of output parameters in adjust_allocation
    
    * Formatting
    
    * Build with dnnl
    
    * Make dnnl required
    
    * Fix compile error
    
    * Tidy fixes
    
    * Formatting
    
    * Tidy fixes
    
    * Formatting
    
    * Fix more tidy issues
    
    * Formatting
    
    * Add mul op
    
    * Add mul op
    
    * Set c compiler to clang as well
    
    * Compensate for normalized compute shape
    
    * Formatting
    
    * Fix cppcheck errors
    
    * Formatting
    
    * Add onednn library to hcc
    
    * Guard clang pragmas
    
    * Disable cpu mode for gcc for now
    
    * Leave it enabled it for gcc 7
    
    * Fix cppcheck suppresion
    
    * Fix compile error on gcc 5
    
    * Remove unused code
    Co-authored-by: default avatarShucai Xiao <shucai.xiao@amd.com>
    Co-authored-by: default avatarmvermeulen <5479696+mvermeulen@users.noreply.github.com>
    406afeb8
allocation_model.hpp 1 KB