tolerate spaces in hip args

[ROCm/clr commit: 49d1477b9d]
이 커밋은 다음에 포함됨:
Ben Sander가 2017-01-09 20:57:13 -06:00를 커밋했습니다
1 부모 0aabd435a9
커밋 9d22c4f727
4 파일이 변경됨
+116 -44

검색과 일치하는 파일 없음

+7 -3
파일 보기
@@ -45,11 +45,15 @@ hipError_t ihipStreamCreate(hipStream_t *stream, unsigned int flags)
//Note this is an execute_in_order queue, so all kernels submitted will atuomatically wait for prev to complete:
//This matches CUDA stream behavior:
auto istream = new ihipStream_t(ctx, acc.create_view(), 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);
ctx->locked_addStream(istream);
ctxCrit->addStream(istream);
*stream = istream;
}
*stream = istream;
tprintf(DB_SYNC, "hipStreamCreate, stream=%p\n", *stream);
} else {
e = hipErrorInvalidDevice;