Home
last modified time | relevance | path

Searched refs:TargetIntrinsicID (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dtarget_util.cc46 struct TargetIntrinsics GetIntrinsic(TargetIntrinsicID intrin) { in GetIntrinsic()
48 case TargetIntrinsicID::kThreadIdx: { in GetIntrinsic()
52 case TargetIntrinsicID::kThreadIdy: { in GetIntrinsic()
56 case TargetIntrinsicID::kThreadIdz: { in GetIntrinsic()
60 case TargetIntrinsicID::kBlockIdx: { in GetIntrinsic()
64 case TargetIntrinsicID::kBlockIdy: { in GetIntrinsic()
68 case TargetIntrinsicID::kBlockIdz: { in GetIntrinsic()
72 case TargetIntrinsicID::kBarrierId: { in GetIntrinsic()
76 case TargetIntrinsicID::kBlockDimx: { in GetIntrinsic()
84 case TargetIntrinsicID::kBlockDimy: { in GetIntrinsic()
[all …]
Dtarget_util.h34 enum class TargetIntrinsicID { enum
79 TargetIntrinsicID intrinsic_id, absl::Span<llvm::Value* const> operands,
Dparallel_loop_emitter.cc79 EmitCallToTargetIntrinsic(TargetIntrinsicID::kBlockIdx, {}, {}, b_); in EmitIndexAndSetExitBasicBlock()
89 EmitCallToTargetIntrinsic(TargetIntrinsicID::kThreadIdx, {}, {}, b_); in EmitIndexAndSetExitBasicBlock()
Delemental_ir_emitter.cc308 EmitCallToTargetIntrinsic(TargetIntrinsicID::kBlockIdx, {}, {}, b()), in EmitThreadId()
311 EmitCallToTargetIntrinsic(TargetIntrinsicID::kThreadIdx, {}, {}, b()), in EmitThreadId()
314 EmitCallToTargetIntrinsic(TargetIntrinsicID::kBlockDimx, {}, {}, b()), in EmitThreadId()
Dir_emission_utils.cc586 EmitCallToTargetIntrinsic(TargetIntrinsicID::kThreadIdx, {}, {}, b)); in IsBlock0Thread0()
590 EmitCallToTargetIntrinsic(TargetIntrinsicID::kBlockIdx, {}, {}, b)); in IsBlock0Thread0()
Dir_emitter_unnested.cc4565 return gpu::EmitCallToTargetIntrinsic(gpu::TargetIntrinsicID::kBlockIdx, {}, in EmitBlockId()
4674 gpu::TargetIntrinsicID::kThreadIdx, {}, {}, &b_); in EmitThreadId()
4789 return EmitCallToTargetIntrinsic(TargetIntrinsicID::kBarrierId, {}, {}, &b_); in EmitSyncThreads()
5667 gpu::TargetIntrinsicID::kBlockIdy, {}, {}, &b_); in EmitReductionFromOrToContiguousDimensions()
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dsort_util.cc154 gpu::TargetIntrinsicID::kThreadIdx, {}, {}, b); in EmitTiledCompareLoop()
205 gpu::EmitCallToTargetIntrinsic(gpu::TargetIntrinsicID::kBarrierId, {}, {}, b); in EmitTiledCompareLoop()
266 gpu::EmitCallToTargetIntrinsic(gpu::TargetIntrinsicID::kBarrierId, {}, {}, in EmitTiledCompareLoop()