This patch adds fields for the device number and number of devices into
the device environment struct and debugging values.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Can you also double check that this works actually. print the device id and number of devices? Assuming it does, LG
openmp/libomptarget/plugins/cuda/src/rtl.cpp | ||
---|---|---|
906 | The slight problem is that DeviceId here is not the OpenMP device ID, IIRC. |
Adding TODO, printing the values seems to work. I only have a single device so
the number and ID is 1 and 0 respectively. Both the debugging numbers work.
clang-tidy: error: 'Configuration.h' file not found [clang-diagnostic-error]
not useful