[OpenMP][libomptarget] Add hasQueue() function in NextGen plugin's AsyncInfoWrapperTy
This patch prepares the PluginInterface for the new AMDGPU NextGen plugin. Differential Revision: https://reviews.llvm.org/D139263
This commit is contained in:
parent
fb84dad58b
commit
5acee7dd47
|
@ -65,6 +65,9 @@ struct AsyncInfoWrapperTy {
|
|||
return reinterpret_cast<Ty &>(AsyncInfoPtr->Queue);
|
||||
}
|
||||
|
||||
/// Indicate whether there is queue.
|
||||
bool hasQueue() const { return (AsyncInfoPtr->Queue != nullptr); }
|
||||
|
||||
private:
|
||||
Error &Err;
|
||||
ErrorAsOutParameter ErrOutParam;
|
||||
|
|
Loading…
Reference in New Issue