Skip to content

fix num_partition_properties#104

Open
gtkiku wants to merge 1 commit into
THU-DSP-LAB:mainfrom
gtkiku:main
Open

fix num_partition_properties#104
gtkiku wants to merge 1 commit into
THU-DSP-LAB:mainfrom
gtkiku:main

Conversation

@gtkiku

@gtkiku gtkiku commented Apr 21, 2026

Copy link
Copy Markdown
  • Comment claims no support for partitions, but dev->num_partition_properties = 1 implies dev->partition_properties should be populated. This causes a segfault when running clinfo, which tries to read one element from partition_properties. Fix by setting num_partition_properties = 0 to align with comment, and adjust dev->max_sub_devices to match.

+ Comment claims no support for partitions, but
  `dev->num_partition_properties = 1` implies `dev->partition_properties`
  should be populated. This causes a segfault when running `clinfo`,
  which tries to read one element from `partition_properties`. Fix
  by setting `num_partition_properties = 0` to align with comment, and
  adjust `dev->max_sub_devices` to match.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant