Skip to content

Commit

Permalink
gpu: ocl: pool: fix coverity hit: DIVIDE_BY_ZERO (#6543)
Browse files Browse the repository at this point in the history
  • Loading branch information
hkianine authored Sep 12, 2023
1 parent 6a9d9c2 commit b782f8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gpu/compute/device_info.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ struct device_info_t {
int32_t hw_threads_[2] = {0, 0};
int32_t eu_count_ = 0;
int32_t max_eus_per_wg_ = 0;
int32_t max_subgroup_size_ = 0;
int32_t max_subgroup_size_ = 16;
int max_exec_size_ = 0;
size_t max_wg_size_ = 0;
size_t llc_cache_size_ = 0;
Expand Down

0 comments on commit b782f8a

Please sign in to comment.