Move declaration of kMaxAsyncQueues in rocdefs.h

Move declaration of kMaxAsyncQueues in rocdefs.h into the roc
namespace and adjacent to the other definitions.

Change-Id: Ibd319e3cc191945bacb9c06e1b31967717c1c87c
This commit is contained in:
Tony Tye
2021-01-10 01:21:59 +00:00
orang tua 8992f9e18d
melakukan f679b05df7
+3 -1
Melihat File
@@ -30,6 +30,9 @@ static constexpr size_t PinnedMemoryAlignment = 4 * Ki;
//! Specific defines for images for Dynamic Parallelism
static constexpr uint DeviceQueueMaskSize = 32;
//! Set to match the number of pipes, which is 8.
static constexpr uint kMaxAsyncQueues = 8;
typedef uint HsaDeviceId;
struct AMDDeviceInfo {
@@ -75,5 +78,4 @@ static constexpr AMDDeviceInfo DeviceInfo[] = {
} // namespace roc
constexpr uint kMaxAsyncQueues = 8; // set to match the number of pipes, which is 8
#endif