libkmt: Misc fixes in thunk

1. Translate thunk queue priority to kfd priority
2. Initialize event SyncVar
3. Added HSAint32 data type


Change-Id: I7decc1be7cbe9c84cb670d9a7c99050b62ba98f3


[ROCm/ROCR-Runtime commit: cb0f851560]
This commit is contained in:
ozeng
2017-01-31 17:40:50 -06:00
committed by Oak Zeng
parent 00e295eff3
commit 6c1bd8034c
3 changed files with 22 additions and 2 deletions
@@ -48,6 +48,7 @@ extern "C" {
typedef unsigned short HSAuint16;
typedef signed short HSAint16;
typedef unsigned __int32 HSAuint32;
typedef signed __int32 HSAint32;
typedef signed __int64 HSAint64;
typedef unsigned __int64 HSAuint64;
@@ -63,6 +64,7 @@ extern "C" {
typedef uint16_t HSAuint16;
typedef int16_t HSAint16;
typedef uint32_t HSAuint32;
typedef int32_t HSAint32;
typedef int64_t HSAint64;
typedef uint64_t HSAuint64;