Skip to content
Snippets Groups Projects
Commit 0f9f1743 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Initialize type for DeviceTopologyAmd

parent 4d85ce77
No related branches found
No related tags found
1 merge request!124Opencl 3
......@@ -1171,6 +1171,7 @@ void pyopencl_expose_constants(py::module &m)
[](cl_char bus, cl_char device, cl_char function)
{
cl_device_topology_amd result;
result.pcie.type = CL_DEVICE_TOPOLOGY_TYPE_PCIE_AMD;
result.pcie.bus = bus;
result.pcie.device = device;
result.pcie.function = function;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment