cavis/libnd4j/include/helpers
raver119 98e2814879
Platform helpers (#8216)
* platform helpers draft

Signed-off-by: raver119 <raver119@gmail.com>

* typo

Signed-off-by: raver119 <raver119@gmail.com>

* disable platform cmake

Signed-off-by: raver119 <raver119@gmail.com>

* another draft

Signed-off-by: raver119 <raver119@gmail.com>

* mkldnn convolution refactored

Signed-off-by: raver119 <raver119@gmail.com>

* minor tweaks

Signed-off-by: raver119 <raver119@gmail.com>

* one more safety check

Signed-off-by: raver119 <raver119@gmail.com>

* prototype works

Signed-off-by: raver119 <raver119@gmail.com>

* meh

Signed-off-by: raver119 <raver119@gmail.com>

* force static library mode for mkldnn

Signed-off-by: raver119 <raver119@gmail.com>

* - ismax fix
- experimental arg fix
- don't enforce openblas on Apple hardware

Signed-off-by: raver119 <raver119@gmail.com>

* bunch of small fixes

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* declare concurrent

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* - MKLDNN version upgrade to 1.0.2
- avgpool2d/maxpool2d APIs update

Signed-off-by: raver119 <raver119@gmail.com>

* - avgpool2d_bp/maxpool2d_bp APIs update

Signed-off-by: raver119 <raver119@gmail.com>

* - conv2d/batchnorm APIs update

Signed-off-by: raver119 <raver119@gmail.com>

* - lrn/conv2d_bp/conv3d/conv3d_bp APIs update

Signed-off-by: raver119 <raver119@gmail.com>

* all ops converted to MKLDNN 1.x

Signed-off-by: raver119 <raver119@gmail.com>

* bunch of tweaks

Signed-off-by: raver119 <raver119@gmail.com>

* namespace for platform helpers

Signed-off-by: raver119 <raver119@gmail.com>

* make sure platform helpers aren't opimized out

Signed-off-by: raver119 <raver119@gmail.com>

* build cpu_features on x86 systems

Signed-off-by: raver119 <raver119@gmail.com>

* build cpu_features on x86 systems

Signed-off-by: raver119 <raver119@gmail.com>

* more of cpu_features

Signed-off-by: raver119 <raver119@gmail.com>

* - mkldnn removed from java
- cpu_features checks in CpuNDArrayFactory

Signed-off-by: raver119 <raver119@gmail.com>

* F16C definition renamed

Signed-off-by: raver119 <raver119@gmail.com>

* some mkldnn rearrangements

Signed-off-by: raver119 <raver119@gmail.com>

* check supported instructions before doing anything

Signed-off-by: raver119 <raver119@gmail.com>

* typo

Signed-off-by: raver119 <raver119@gmail.com>

* missied impl

Signed-off-by: raver119 <raver119@gmail.com>

* BUILD_PIC option

Signed-off-by: raver119 <raver119@gmail.com>

* conv2d fix

Signed-off-by: raver119 <raver119@gmail.com>

* avgpool3d fix

Signed-off-by: raver119 <raver119@gmail.com>

* avgpool3d_bp fix

Signed-off-by: raver119 <raver119@gmail.com>

* avgpool2d_bp leak fix

Signed-off-by: raver119 <raver119@gmail.com>

* avgpool3d_bp leak fix

Signed-off-by: raver119 <raver119@gmail.com>

* maxpool bp leaks fixed

Signed-off-by: raver119 <raver119@gmail.com>

* printf removed

Signed-off-by: raver119 <raver119@gmail.com>

* batchnorm fix

Signed-off-by: raver119 <raver119@gmail.com>

* AVX warning/error polishing

Signed-off-by: AlexDBlack <blacka101@gmail.com>

* Fix

Signed-off-by: AlexDBlack <blacka101@gmail.com>

* More polish

Signed-off-by: AlexDBlack <blacka101@gmail.com>

* Polish

Signed-off-by: AlexDBlack <blacka101@gmail.com>

* remove previous MKL-DNN support layer

Signed-off-by: raver119 <raver119@gmail.com>

* avx2 tweak

Signed-off-by: raver119 <raver119@gmail.com>

* allow static for apple

Signed-off-by: raver119@gmail.com <raver119@gmail.com>

* exclude mkldnn in one more place

Signed-off-by: raver119 <raver119@gmail.com>

* exclude mkldnn in one more place

Signed-off-by: raver119 <raver119@gmail.com>

* restore OPENBLAS_PATH use

Signed-off-by: raver119 <raver119@gmail.com>

* add runtime check for avx/avx2 support

Signed-off-by: raver119 <raver119@gmail.com>

* convolution_auto

Signed-off-by: raver119 <raver119@gmail.com>

* Add logic for helper argument

* minor test fix

Signed-off-by: raver119 <raver119@gmail.com>

* few tweaks

Signed-off-by: raver119 <raver119@gmail.com>

* few tweaks

Signed-off-by: raver119 <raver119@gmail.com>

* skip OpTracker props for non-x86 builds

Signed-off-by: raver119 <raver119@gmail.com>

* linux arm isn't x86 :)

Signed-off-by: raver119 <raver119@gmail.com>

* avx-512

Signed-off-by: raver119 <raver119@gmail.com>

* CUDA presets fix

Signed-off-by: raver119 <raver119@gmail.com>

* BUILD_PIC

Signed-off-by: raver119 <raver119@gmail.com>

* prefetchw for avx2

Signed-off-by: raver119 <raver119@gmail.com>

* BUILD_PIC again

Signed-off-by: raver119 <raver119@gmail.com>
2019-09-11 21:50:28 +03:00
..
benchmark Add libnd4j benchmarks (#3) 2019-07-20 22:54:44 +10:00
cpu Snapshot update (#8194) 2019-09-03 22:02:02 +03:00
cuda Snapshot update (#8194) 2019-09-03 22:02:02 +03:00
cuda_off Snapshot update (#8194) 2019-09-03 22:02:02 +03:00
impl Platform helpers (#8216) 2019-09-11 21:50:28 +03:00
ArrayUtils.h Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
AttentionHelper.h Merge master to upstream (#7945) 2019-06-27 18:37:04 +03:00
BenchmarkHelper.h Add libnd4j benchmarks (#3) 2019-07-20 22:54:44 +10:00
BitwiseUtils.h Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
BlasHelper.h Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
ConstantHelper.h Snapshot update (#8194) 2019-09-03 22:02:02 +03:00
ConstantShapeHelper.h Snapshot update (#8194) 2019-09-03 22:02:02 +03:00
ConstantTadHelper.h Snapshot update (#8194) 2019-09-03 22:02:02 +03:00
CudaLaunchHelper.h Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
DebugHelper.h Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
DebugInfo.h Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
EnumUtils.h Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
GradCheck.h [WIP] More of CUDA operations (#69) 2019-07-20 23:20:41 +10:00
LoopKind.h Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
Loops.h [WIP] More tweaks (#173) 2019-08-27 10:37:10 +03:00
Loops.hpp Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
MKLDNNStream.h Platform helpers (#8216) 2019-09-11 21:50:28 +03:00
MmulHelper.h Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
OmpLaunchHelper.h Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
OpArgsHolder.h [WIP] more fixes (#159) 2019-08-23 19:20:50 +03:00
OpBenchmark.h Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
OpTracker.h Actually export functions from NativeOps.h 2019-08-05 11:22:59 +10:00
PointersManager.h Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
RandomLauncher.h [WIP] CUDA tweaks (#60) 2019-07-20 23:06:48 +10:00
ShapeBuilders.h Dev branch merge: dev_20190606 (#7904) 2019-06-15 21:34:34 +10:00
ShapeUtils.h [WIP] repeat op (#143) 2019-08-21 21:10:29 +03:00
SimpleReadWriteLock.h Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
StringUtils.h Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
TAD.h int -> long (#108) 2019-08-10 09:14:18 +03:00
biDiagonalUp.h Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
cublasHelper.h Snapshot update (#8194) 2019-09-03 22:02:02 +03:00
data_gen.h Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
files.h Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
helper_generator.h Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
helper_hash.h Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
helper_ptrmap.h Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
helper_random.h Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
hhColPivQR.h Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
hhSequence.h Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
householder.h Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
jacobiSVD.h Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
logger.h Merge master to upstream (#7945) 2019-06-27 18:37:04 +03:00
mman.h Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
shape.h Platform helpers (#8216) 2019-09-11 21:50:28 +03:00
svd.h Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00
threshold.h Eclipse Migration Initial Commit 2019-06-06 15:21:15 +03:00