EnqueueKernel segfaults if localWS==NULL

Bug #918590 reported by Kalle Raiskila
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pocl
Fix Released
Critical
Pekka Jääskeläinen

Bug Description

clEnqueueNDRangeKernel dereferences the local_work_size parameter without checking for NULL.
Specification allows it to be NULL, and quit a many examples utilize this feature.

Related branches

Revision history for this message
Pekka Jääskeläinen (pekka-jaaskelainen) wrote :

For now we could just use WG size 1 in case it's NULL and resort to TLP and intra-WI DLP only. Later with the smarter "perf portability" heuristics this value will be tuned according to the platform's properties and even the kernel's operations.

Changed in pocl:
importance: Undecided → Critical
Changed in pocl:
assignee: nobody → Pekka Jääskeläinen (pekka-jaaskelainen)
Changed in pocl:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.