cub_scan_thunk.cc
imports xla/backends/gpu/ffi.himports xla/ffi/api/c_api.h
SHA-25602446d8b417915454befd2893c3d797408dc05f4ffa7140a56ec2adce566dd1c
MaleculeMd(In₈)
Evidence
1/* Copyright 2026 The OpenXLA Authors.
2
3Licensed under the Apache License, Version 2.0 (the "License");
4you may not use this file except in compliance with the License.
5You may obtain a copy of the License at
6
7 http://www.apache.org/licenses/LICENSE-2.0
8
9Unless required by applicable law or agreed to in writing, software
10distributed under the License is …
11:42… IND, either express or implied.
12See the License for the specific language governing permissions and
13limitations under the License.
14==============================================================================*/
15
16#include "xla/backends/gpu/runtime/cub_scan_thunk.h"
17
18#include <cstddef>
19#include <cstdint>
20#include <memory>
21#include <string>
22#include <utility>
23
24#include "absl/base/casts.h"
25#include "absl/status/status.h"
26#include "absl/status/statusor.h"
27#include "absl/strings/str_format.h"
28#include "absl/types/span.h"
29#include "xla/backends/gpu/ffi.h"
30#include "xla/backends/gpu/runtime/thunk.h"
31#include "xla/ffi/api/c_api.h"
32#include "xla/ffi/call_frame.h"
33#include "xla/ffi/ffi.h"
34#include "xla/ffi/ffi_registry.h"
35#include "xla/ffi/invoke.h"
36#include "xla/primitive_util.h"
37#include "xla/service/buffer_assignment.h"
38#include "xla/service/gpu/buffer_allocations.h"
39#include "xla/stream_executor/device_address.h"
40#include "xla/stream_executor/stream.h"
41#include "xla/tsl/platform/errors.h"
42#include "xla/tsl/platform/statusor.h"
43
44namespace xla::gpu {
⋯4 lines