kfdtest: Add missing default switch label in GetQueue function
There is no default case, and we were missing a few types defined from hsakmttypes.h. This was found via clang Change-Id: I26193cb111a9d8220b1eff21c7313fe060288f36
This commit is contained in:
@@ -186,6 +186,8 @@ BaseQueue* QueueArray::GetQueue(unsigned int Node) {
|
|||||||
case HSA_QUEUE_COMPUTE_AQL:
|
case HSA_QUEUE_COMPUTE_AQL:
|
||||||
pQueue = new AqlQueue();
|
pQueue = new AqlQueue();
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pQueue) {
|
if (pQueue) {
|
||||||
|
|||||||
Reference in New Issue
Block a user