Home
last modified time | relevance | path

Searched refs:gpu_id (Results 1 – 25 of 138) sorted by relevance

123456

/external/mesa3d/src/freedreno/drm-shim/
Dfreedreno_noop.c53 uint32_t gpu_id; member
121 gp->value = device_info->gpu_id; in msm_ioctl_get_param()
183 .gpu_id = 630,
188 .gpu_id = 200,
193 .gpu_id = 201,
198 .gpu_id = 220,
203 .gpu_id = 305,
208 .gpu_id = 307,
213 .gpu_id = 320,
218 .gpu_id = 330,
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_screen.h70 uint32_t gpu_id; /* 220, 305, etc */ member
169 return (screen->gpu_id >= 200) && (screen->gpu_id < 210); in is_a20x()
175 return (screen->gpu_id >= 200) && (screen->gpu_id < 300); in is_a2xx()
189 return (screen->gpu_id >= 300) && (screen->gpu_id < 400); in is_a3xx()
195 return (screen->gpu_id >= 400) && (screen->gpu_id < 500); in is_a4xx()
201 return (screen->gpu_id >= 500) && (screen->gpu_id < 600); in is_a5xx()
207 return (screen->gpu_id >= 600) && (screen->gpu_id < 700); in is_a6xx()
213 return screen->gpu_id == 650; in is_a650()
Dfreedreno_screen.c840 fd_get_device_uuid(uuid, screen->gpu_id); in fd_screen_get_device_uuid()
916 screen->gpu_id = val; in fd_screen_create()
921 unsigned core = screen->gpu_id / 100; in fd_screen_create()
922 unsigned major = (screen->gpu_id % 100) / 10; in fd_screen_create()
923 unsigned minor = screen->gpu_id % 10; in fd_screen_create()
948 DBG(" GPU-id: %d", screen->gpu_id); in fd_screen_create()
963 switch (screen->gpu_id) { in fd_screen_create()
993 debug_printf("unsupported GPU: a%03d\n", screen->gpu_id); in fd_screen_create()
997 freedreno_dev_info_init(&screen->info, screen->gpu_id); in fd_screen_create()
1000 screen->perfcntr_groups = fd_perfcntrs(screen->gpu_id, in fd_screen_create()
/external/kernel-headers/original/uapi/linux/
Dkfd_ioctl.h57 __u32 gpu_id; /* to KFD */ member
106 __u32 gpu_id; /* to KFD */ member
125 __u32 gpu_id; /* to KFD */ member
136 __u32 gpu_id; /* from KFD */ member
173 __u32 gpu_id; /* to KFD */ member
178 __u32 gpu_id; /* to KFD */ member
184 __u32 gpu_id; /* to KFD */ member
190 __u32 gpu_id; /* to KFD */ member
262 __u32 gpu_id; member
276 __u32 gpu_id; member
[all …]
/external/mesa3d/src/panfrost/lib/
Dpan_props.c161 panfrost_major_version(unsigned gpu_id) in panfrost_major_version() argument
163 switch (gpu_id) { in panfrost_major_version()
175 return gpu_id >> 12; in panfrost_major_version()
182 panfrost_model_name(unsigned gpu_id) in panfrost_model_name() argument
184 switch (gpu_id) { in panfrost_model_name()
206 dev->gpu_id = panfrost_query_gpu_version(fd); in panfrost_open_device()
207 dev->arch = panfrost_major_version(dev->gpu_id); in panfrost_open_device()
211 dev->quirks = panfrost_get_quirks(dev->gpu_id); in panfrost_open_device()
Ddecode.c292 pandecode_sfbd(uint64_t gpu_va, int job_no, bool is_fragment, unsigned gpu_id) in pandecode_sfbd() argument
312 bool has_hierarchy = !(gpu_id == 0x0720 || gpu_id == 0x0820 || gpu_id == 0x0830); in pandecode_sfbd()
336 pandecode_render_target(uint64_t gpu_va, unsigned job_no, bool is_bifrost, unsigned gpu_id, in pandecode_render_target() argument
386 …r(uint64_t gpu_va, int job_no, bool is_fragment, bool is_compute, bool is_bifrost, unsigned gpu_id) in pandecode_mfbd_bfr() argument
445 pandecode_render_target(gpu_va, job_no, is_bifrost, gpu_id, &params); in pandecode_mfbd_bfr()
649 bool is_bifrost, unsigned gpu_id) in pandecode_shader_disassemble() argument
682 code, sz, gpu_id, in pandecode_shader_disassemble()
828 bool is_bifrost, unsigned gpu_id) in pandecode_blend_shader_disassemble() argument
831 pandecode_shader_disassemble(shader, job_no, job_type, is_bifrost, gpu_id); in pandecode_blend_shader_disassemble()
915 char *suffix, bool is_bifrost, unsigned gpu_id) in pandecode_vertex_tiler_postfix_pre() argument
[all …]
/external/mesa3d/src/freedreno/ir3/
Dir3_compiler.c63 ir3_compiler_create(struct fd_device *dev, uint32_t gpu_id) in ir3_compiler_create() argument
70 compiler->gpu_id = gpu_id; in ir3_compiler_create()
73 if (compiler->gpu_id >= 600) { in ir3_compiler_create()
100 if (compiler->gpu_id == 650) in ir3_compiler_create()
114 if (compiler->gpu_id >= 400) { in ir3_compiler_create()
Dir3_nir_lower_io_offsets.c257 lower_io_offsets_block(nir_block *block, nir_builder *b, void *mem_ctx, int gpu_id) in lower_io_offsets_block() argument
282 lower_io_offsets_func(nir_function_impl *impl, int gpu_id) in lower_io_offsets_func() argument
290 progress |= lower_io_offsets_block(block, &b, mem_ctx, gpu_id); in lower_io_offsets_func()
302 ir3_nir_lower_io_offsets(nir_shader *shader, int gpu_id) in ir3_nir_lower_io_offsets() argument
308 progress |= lower_io_offsets_func(function->impl, gpu_id); in ir3_nir_lower_io_offsets()
Dir3_compiler.h39 uint32_t gpu_id; member
114 struct ir3_compiler * ir3_compiler_create(struct fd_device *dev, uint32_t gpu_id);
131 return (compiler->gpu_id >= 500) ? 2 : 1; in ir3_pointer_size()
/external/mesa3d/src/freedreno/common/
Dfreedreno_dev_info.c35 freedreno_dev_info_init(struct freedreno_dev_info *info, uint32_t gpu_id) in freedreno_dev_info_init() argument
37 if (gpu_id >= 600) { in freedreno_dev_info_init()
40 info->tile_align_w = gpu_id == 650 ? 96 : 32; in freedreno_dev_info_init()
47 switch (gpu_id) { in freedreno_dev_info_init()
89 } else if (gpu_id >= 500) { in freedreno_dev_info_init()
96 } else if (gpu_id >= 400) { in freedreno_dev_info_init()
103 } else if (gpu_id >= 300) { in freedreno_dev_info_init()
Dfreedreno_uuid.c60 fd_get_device_uuid(void *uuid, unsigned gpu_id) in fd_get_device_uuid() argument
86 _mesa_sha1_update(&sha1_ctx, &gpu_id, sizeof(gpu_id)); in fd_get_device_uuid()
Ddisasm.h54 int disasm_a3xx(uint32_t *dwords, int sizedwords, int level, FILE *out, unsigned gpu_id);
56 unsigned gpu_id, struct shader_stats *stats);
57 int try_disasm_a3xx(uint32_t *dwords, int sizedwords, int level, FILE *out, unsigned gpu_id);
/external/llvm-project/openmp/libomptarget/plugins/amdgpu/impl/
Datmi.h169 #define ATMI_PLACE_GPU(node, gpu_id) \ argument
170 { .node_id = node, .type = ATMI_DEVTYPE_GPU, .device_id = gpu_id }
176 #define ATMI_MEM_PLACE_GPU(node, gpu_id) \ argument
178 .node_id = node, .dev_type = ATMI_DEVTYPE_GPU, .dev_id = gpu_id, \
186 #define ATMI_MEM_PLACE_GPU_MEM(node, gpu_id, gpu_mem_id) \ argument
188 .node_id = node, .dev_type = ATMI_DEVTYPE_GPU, .dev_id = gpu_id, \
/external/mesa3d/src/freedreno/computerator/
Dmain.c174 parse_perfcntrs(uint32_t gpu_id, const char *perfcntrstr, unsigned *num_perfcntrs) in parse_perfcntrs() argument
180 groups = fd_perfcntrs(gpu_id, &num_groups); in parse_perfcntrs()
250 uint32_t gpu_id = val; in main() local
252 printf("got gpu_id: %u\n", gpu_id); in main()
255 switch (gpu_id) { in main()
257 backend = a6xx_init(dev, gpu_id); in main()
260 err(1, "unsupported gpu: a%u", gpu_id); in main()
284 perfcntrs = parse_perfcntrs(gpu_id, perfcntrstr, &num_perfcntrs); in main()
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_virtual_mem_allocator.cc47 PlatformGpuId gpu_id) { in CheckVirtualAddressManagementSupport() argument
53 gpu_id.value())); in CheckVirtualAddressManagementSupport()
64 GpuContext& gpu_context, PlatformGpuId gpu_id, in Create() argument
71 TF_RETURN_IF_ERROR(GpuDriver::GetDevice(gpu_id.value(), &gpu_handle)); in Create()
72 TF_RETURN_IF_ERROR(CheckVirtualAddressManagementSupport(gpu_handle, gpu_id)); in Create()
107 alloc_visitors, free_visitors, gpu_context, gpu_id, in Create()
114 PlatformGpuId gpu_id, const std::vector<GpuDeviceHandle> access_gpu_handles, in GpuVirtualMemAllocator() argument
118 gpu_id_(gpu_id), in GpuVirtualMemAllocator()
Dgpu_virtual_mem_allocator_test.cc38 PlatformGpuId gpu_id(0); in CreateAllocator() local
40 DeviceIdUtil::ExecutorForPlatformDeviceId(GPUMachineManager(), gpu_id) in CreateAllocator()
45 {}, {}, *gpu_context, gpu_id, in CreateAllocator()
51 PlatformGpuId gpu_id(0); in TEST() local
53 DeviceIdUtil::ExecutorForPlatformDeviceId(GPUMachineManager(), gpu_id) in TEST()
58 {}, {}, *gpu_context, gpu_id, in TEST()
DBUILD77 name = "gpu_id",
79 "gpu_id.h",
94 "gpu_id.h",
111 "gpu_id.h",
214 ":gpu_id",
274 ":gpu_id",
289 ":gpu_id",
315 ":gpu_id",
341 ":gpu_id",
372 ":gpu_id",
[all …]
/external/mesa3d/src/freedreno/decode/
Dcffdec.c62 if (options->gpu_id >= 500) in regcnt()
70 return options->gpu_id >= 500; in is_64b()
429 try_disasm_a3xx(buf, sizedwords, level+2, stdout, options->gpu_id); in disasm_gpuaddr()
761 switch (options->gpu_id) { in cffdec_init()
830 if (options->gpu_id >= 500) { in dump_register_val()
967 if ((options->gpu_id >= 500) && !quiet(2)) { in print_mode()
1012 if ((500 <= options->gpu_id) && (options->gpu_id < 700)) { in __do_query()
1028 if (options->gpu_id >= 500) in __do_query()
1344 if ((300 <= options->gpu_id) && (options->gpu_id < 400)) { in dump_tex_samp()
1348 } else if ((400 <= options->gpu_id) && (options->gpu_id < 500)) { in dump_tex_samp()
[all …]
/external/perfetto/src/traced/probes/ftrace/test/data/synthetic/events/power/gpu_frequency/
Dformat10 field:unsigned int gpu_id; offset:12; size:4; signed:0;
12 print fmt: "state=%lu gpu_id=%lu", REC->state, REC->gpu_id
/external/perfetto/src/traced/probes/ftrace/test/data/synthetic/events/gpu_mem/gpu_mem_total/
Dformat9 field:uint32_t gpu_id; offset:8; size:4; signed:0;
13 print fmt: "gpu_id=%u pid=%u size=%llu", REC->gpu_id, REC->pid, REC->size
/external/tensorflow/tensorflow/core/common_runtime/
Dstep_stats_collector.cc224 int gpu_id; in ExtractGpuWithStreamAll() local
225 CHECK(strings::safe_strto32(ordered_capture, &gpu_id)); in ExtractGpuWithStreamAll()
226 return gpu_id; in ExtractGpuWithStreamAll()
253 int gpu_id; in ExtractGpuWithoutStream() local
254 CHECK(strings::safe_strto32(ordered_capture, &gpu_id)); in ExtractGpuWithoutStream()
255 return gpu_id; in ExtractGpuWithoutStream()
285 const int gpu_id = ExtractGpuWithStreamAll(device_name); in BuildCostModel() local
286 if (gpu_id >= 0) { in BuildCostModel()
288 gpu_hardware_stats.emplace(gpu_id, &device_stats); in BuildCostModel()
298 const int gpu_id = ExtractGpuWithoutStream(string(device_name)); in BuildCostModel() local
[all …]
/external/mesa3d/src/freedreno/ir3/tests/
Ddisasm.c40 #define INSTR_5XX(i, d) { .gpu_id = 540, .instr = #i, .expected = d }
41 #define INSTR_6XX(i, d) { .gpu_id = 630, .instr = #i, .expected = d }
44 int gpu_id; member
219 test->gpu_id, test->instr, test->expected); in main()
228 disasm_a3xx(code, ARRAY_SIZE(code), 0, fdisasm, test->gpu_id); in main()
/external/tensorflow/tensorflow/core/grappler/
Ddevices.cc87 int64 AvailableGPUMemory(int gpu_id) { in AvailableGPUMemory() argument
91 CHECK_LT(gpu_id, gpu_platform->VisibleDeviceCount()); in AvailableGPUMemory()
92 se::StreamExecutor* se = gpu_platform->ExecutorForDevice(gpu_id).ValueOrDie(); in AvailableGPUMemory()
/external/libdrm/freedreno/msm/
Dmsm_pipe.c58 *value = msm_pipe->gpu_id; in msm_pipe_get_param()
192 msm_pipe->gpu_id = get_param(pipe, MSM_PARAM_GPU_ID); in msm_pipe_new()
196 if (! msm_pipe->gpu_id) in msm_pipe_new()
200 INFO_MSG(" GPU-id: %d", msm_pipe->gpu_id); in msm_pipe_new()
/external/mesa3d/src/panfrost/midgard/
Dmidgard_quirks.h71 midgard_get_quirks(unsigned gpu_id) in midgard_get_quirks() argument
73 switch (gpu_id) { in midgard_get_quirks()

123456