Remove HIP_MAX_QUEUES (replaced with HCC_MAX_QUEUES)

[ROCm/hip commit: d0ef9d8462]
This commit is contained in:
Ben Sander
2017-05-23 23:47:56 -05:00
parent 247c34195f
commit 07865c3a02
4 changed files with 4 additions and 108 deletions
+2 -4
View File
@@ -49,7 +49,7 @@ hipError_t ihipStreamCreate(hipStream_t *stream, unsigned int flags)
// Obtain mutex access to the device critical data, release by destructor
LockedAccessor_CtxCrit_t ctxCrit(ctx->criticalData());
auto istream = new ihipStream_t(ctx, ctx->createOrStealQueue(ctxCrit), flags);
auto istream = new ihipStream_t(ctx, acc.create_view(), flags);
ctxCrit->addStream(istream);
*stream = istream;
@@ -129,9 +129,7 @@ hipError_t hipStreamQuery(hipStream_t stream)
{
LockedAccessor_StreamCrit_t crit(stream->_criticalData);
if (crit->_hasQueue) {
pendingOps = crit->_av.get_pending_async_ops();
}
pendingOps = crit->_av.get_pending_async_ops();
}