Removed all usages of TH_Index_Base (#17591)
authorIurii Zdebskyi <iuriiz@fb.com>
Mon, 4 Mar 2019 20:43:28 +0000 (12:43 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 4 Mar 2019 20:51:42 +0000 (12:51 -0800)
commit32576082765011ba65a306acd4d28d3d8c4f0142
tree1ca99155c1627688e5738fe9378ff14f4d5e7908
parentdec116e96f4af069c8c6568e8f01202a3cafc412
Removed all usages of TH_Index_Base (#17591)

Summary:
TH_Index_Base is hard coded to 0 and can be removed from the code base.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/17591

Differential Revision: D14269273

Pulled By: izdeby

fbshipit-source-id: d844e261f4af7297bad8a81e7d6dcf0a391b94e6
45 files changed:
aten/src/ATen/native/sparse/cuda/SparseCUDABlas.cu
aten/src/ATen/native/sparse/cuda/SparseCUDATensor.cu
aten/src/TH/THGeneral.h.in
aten/src/TH/THTensor.hpp
aten/src/TH/generic/THTensor.cpp
aten/src/TH/generic/THTensorEvenMoreMath.cpp
aten/src/TH/generic/THTensorMoreMath.cpp
aten/src/THC/THCTensorIndex.cu
aten/src/THC/THCTensorMath.cu
aten/src/THC/THCTensorMathReduce.cuh
aten/src/THC/THCTensorMode.cuh
aten/src/THC/THCTensorRandom.cuh
aten/src/THC/THCTensorScatterGather.cu
aten/src/THC/THCTensorSort.cuh
aten/src/THC/THCTensorTopK.cuh
aten/src/THC/generic/THCTensorMathScan.cu
aten/src/THC/generic/THCTensorMode.cu
aten/src/THCUNN/ClassNLLCriterion.cu
aten/src/THCUNN/LookupTable.cu
aten/src/THCUNN/LookupTableBag.cu
aten/src/THCUNN/MultiLabelMarginCriterion.cu
aten/src/THCUNN/MultiMarginCriterion.cu
aten/src/THCUNN/SpatialAdaptiveMaxPooling.cu
aten/src/THCUNN/SpatialClassNLLCriterion.cu
aten/src/THCUNN/SpatialDilatedMaxPooling.cu
aten/src/THCUNN/SpatialMaxUnpooling.cu
aten/src/THCUNN/VolumetricAdaptiveMaxPooling.cu
aten/src/THCUNN/VolumetricDilatedMaxPooling.cu
aten/src/THCUNN/generic/ClassNLLCriterion.cu
aten/src/THCUNN/generic/GatedLinearUnit.cu
aten/src/THCUNN/generic/LookupTable.cu
aten/src/THCUNN/generic/LookupTableBag.cu
aten/src/THCUNN/generic/SpatialClassNLLCriterion.cu
aten/src/THNN/generic/ClassNLLCriterion.c
aten/src/THNN/generic/GatedLinearUnit.c
aten/src/THNN/generic/MultiLabelMarginCriterion.c
aten/src/THNN/generic/MultiMarginCriterion.c
aten/src/THNN/generic/SpatialAdaptiveMaxPooling.c
aten/src/THNN/generic/SpatialClassNLLCriterion.c
aten/src/THNN/generic/SpatialDilatedMaxPooling.c
aten/src/THNN/generic/SpatialMaxUnpooling.c
aten/src/THNN/generic/VolumetricAdaptiveMaxPooling.c
aten/src/THNN/generic/VolumetricDilatedMaxPooling.c
aten/src/THNN/generic/VolumetricMaxUnpooling.c
tools/build_variables.py