Home
last modified time | relevance | path

Searched refs:can_use_32bit_indexing (Results 1 – 23 of 23) sorted by relevance

/aosp_15_r20/external/pytorch/aten/src/ATen/native/cuda/
H A DReduce.cuh1157 bool can_use_32bit_indexing = iter.can_use_32bit_indexing(); in gpu_reduce_kernel() local
1164 if (!can_accumulate_in_output && !can_use_32bit_indexing) { in gpu_reduce_kernel()
1180 if (!can_use_32bit_indexing) { in gpu_reduce_kernel()
1213 AT_ASSERT(can_use_32bit_indexing); in gpu_reduce_kernel()
1264 bool can_use_32bit_indexing = iter.can_use_32bit_indexing(); in jitted_gpu_reduce_kernel() local
1272 if (!can_accumulate_in_output && !can_use_32bit_indexing) { in jitted_gpu_reduce_kernel()
1288 if (!can_use_32bit_indexing) { in jitted_gpu_reduce_kernel()
1323 AT_ASSERT(can_use_32bit_indexing); in jitted_gpu_reduce_kernel()
H A DIndexKernel.cu64 if (!iter.can_use_32bit_indexing()) { in gpu_index_kernel()
119 if (!iter.can_use_32bit_indexing()) { in index_fill_kernel_impl()
156 if (!iter.can_use_32bit_indexing()) { in index_copy_kernel_impl()
280 if (!iter.can_use_32bit_indexing()) { in cuda_take_put_kernel()
430 if (!iter.can_use_32bit_indexing()) { in flip_kernel_impl()
H A DLoops.cuh88 if (!iter.can_use_32bit_indexing()) { in gpu_kernel_nocast()
111 if (!iter.can_use_32bit_indexing()) { in gpu_kernel()
282 TORCH_INTERNAL_ASSERT(iter.can_use_32bit_indexing()); in gpu_kernel_multiple_outputs_impl()
316 if (!iter.can_use_32bit_indexing()) { in gpu_kernel_multiple_outputs()
H A DCUDALoops.cuh256 TORCH_INTERNAL_ASSERT(iter.can_use_32bit_indexing()); in gpu_kernel_impl_nocast()
291 TORCH_INTERNAL_ASSERT(iter.can_use_32bit_indexing()); in gpu_kernel_impl()
H A DDistributionTemplates.h137 if (!iter.can_use_32bit_indexing()) { in distribution_nullary_kernel()
241 if (!iter.can_use_32bit_indexing()) { in distribution_binary_kernel()
248 TORCH_INTERNAL_ASSERT_DEBUG_ONLY(iter.can_use_32bit_indexing()); in distribution_binary_kernel()
H A DActivation.cpp60 if (iter.can_use_32bit_indexing()) { in glu_backward_cuda_out()
H A DScatterGatherKernel.cu126 if (!iter.can_use_32bit_indexing()) { in operator ()()
348 if (!iter.can_use_32bit_indexing()) { in operator ()()
H A DFunctionOfAMatrixUtilsKernel.cu56 if (!iter.can_use_32bit_indexing()) { in _compute_linear_combination_internal_kernel()
H A DCrossKernel.cu81 if (iter.can_use_32bit_indexing()) { in cross_impl()
H A DJitLoops.cuh88 if (!iter.can_use_32bit_indexing()) { in jitted_gpu_kernel()
H A DLinearAlgebra.cu111 if (!iter.can_use_32bit_indexing()) { in unpack_pivots_cuda_kernel()
H A DUnfoldBackwardKernel.cu67 if (!iter.can_use_32bit_indexing()) { in _unfold_backward_internal_kernel()
H A DSoftMax.cu790 …const bool can_use_32bit_indexing = is_32bit_representable(shift) && is_32bit_representable(output… in cunn_SoftMaxBackward() local
792 if (can_use_32bit_indexing) { in cunn_SoftMaxBackward()
805 if (can_use_32bit_indexing) { in cunn_SoftMaxBackward()
811 if (can_use_32bit_indexing) { in cunn_SoftMaxBackward()
H A DSparseBinaryOpIntersectionKernel.cu82 if (!iter.can_use_32bit_indexing()) { in binary_op_intersection_kernel()
H A DCUDAJitLoops.cuh185 TORCH_INTERNAL_ASSERT(iter.can_use_32bit_indexing()); in jitted_gpu_kernel_generic()
/aosp_15_r20/external/pytorch/aten/src/ATen/cuda/
H A Djiterator.cu192 TORCH_INTERNAL_ASSERT(iter.can_use_32bit_indexing()); in jitted_gpu_kernel_dynamic_impl()
296 if (!iter.can_use_32bit_indexing()) { in jitted_gpu_kernel_dynamic()
/aosp_15_r20/external/pytorch/aten/src/ATen/
H A DTensorIterator.cpp1293 bool TensorIteratorBase::can_use_32bit_indexing() const { in can_use_32bit_indexing() function in at::TensorIteratorBase
1682 while (!vec.empty() && !vec.back()->can_use_32bit_indexing()) { in operator ++()
H A DTensorIterator.h503 bool can_use_32bit_indexing() const;
/aosp_15_r20/external/pytorch/torch/_inductor/codegen/
H A Dsimd.py1169 def can_use_32bit_indexing( member in SIMDScheduling
1231 if SIMDScheduling.can_use_32bit_indexing(total_numel, buffers):
/aosp_15_r20/external/pytorch/aten/src/ATen/native/cpu/
H A DUnaryOpsKernel.cpp98 if (!it->can_use_32bit_indexing()) { in LogitMKLKernel()
/aosp_15_r20/external/pytorch/aten/src/ATen/native/mps/
H A DOperationUtils.mm772 …TORCH_CHECK(use_64bit_index || iter.can_use_32bit_indexing(), "Can't be indexed using 32-bit itera…
/aosp_15_r20/external/pytorch/torch/_inductor/
H A Dselect_algorithm.py644 if not TritonScheduling.can_use_32bit_indexing(numel, buffers):
/aosp_15_r20/external/pytorch/aten/src/ATen/native/mps/operations/
H A DIndexing.mm100 const bool use_64bit_indexing = !iter.can_use_32bit_indexing();