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
Ta zmiana jest zawarta w:
%! (template.HTML=
Tony Tye)złożyło 2021-01-13 08:24:28 +00:00
1 rodzic
8992f9e18d
złożenie
f679b05df7
Plik 1 zmieniony
+3
-1
@@ -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
|
||||
Reference in new issue
Zablokuj użytkownika