Thread (128 messages) 128 messages, 11 authors, 2021-11-08

Re: [dpdk-dev] [PATCH] gpudev: introduce memory API

From: Thomas Monjalon <hidden>
Date: 2021-06-02 20:48:43

02/06/2021 22:46, Stephen Hemminger:
On Wed,  2 Jun 2021 22:35:31 +0200
Thomas Monjalon [off-list ref] wrote:
quoted
+/** Store a list of info for a given GPU. */
+struct rte_gpu_info {
+	/** GPU device ID. */
+	uint16_t gpu_id;
+	/** Unique identifier name. */
+	char name[RTE_GPU_NAME_MAX_LEN];
+	/** Total memory available on device. */
+	size_t total_memory;
+	/** Total processors available on device. */
+	int processor_count;
Nit: shouldn't processor_count be unsigned.
Absolutely yes, thanks for the catch.

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help