intel / xpumanager

MIT License
95 stars 20 forks source link

Fix C compilation issue for xpum_struct.h #54

Open sammyblueeyes opened 1 year ago

sammyblueeyes commented 1 year ago

Default constructor not valid for C compilation.

Guard xpum_vgpu_precheck_result_t default constructor with if defined(__cplusplus)

yhluo946 commented 1 year ago

We are planning to remove the constructor.