Fix hipExtLaunchMultiKernelMultiDevice refactoring. (#1714)

- Use the correct condition for HIP VDI runtime.

[ROCm/hip commit: e9da934ac6]
This commit is contained in:
mhbliao authored and Rahul Garg committed 2019-12-06 09:49:17 -08:00
1 orang tua ebdd811632
melakukan 7703031d33
1 file changed
+1 -1
@@ -2956,7 +2956,7 @@ hipError_t hipOccupancyMaxActiveBlocksPerMultiprocessor(
hipError_t hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(
uint32_t* numBlocks, hipFunction_t f, uint32_t blockSize, size_t dynSharedMemPerBlk, unsigned int flags);
#if defined(__clang__) && defined(__HIP__)
#if __HIP_VDI__
/**
* @brief Launches kernels on multiple devices and guarantees all specified kernels are dispatched
* on respective streams before enqueuing any other work on the specified streams from any other threads