Changeset 4925 in CLRX


Ignore:
Timestamp:
Aug 22, 2019, 8:20:24 PM (4 weeks ago)
Author:
matszpk
Message:

CLRadeonExtender: ROCm: Add next testcase in ROCmMsgPack - from compiled OpenCL binary for Navi.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/tests/amdbin/ROCmMsgPack.cpp

    r4924 r4925  
    18441844};
    18451845
     1846static const cxbyte rocmMsgPackInput2[] =
     1847{
     1848    0x82, 0xae, 0x61, 0x6d, 0x64, 0x68, 0x73, 0x61, 0x2e, 0x6b, 0x65, 0x72,
     1849    0x6e, 0x65, 0x6c, 0x73, 0x92, 0x8f, 0xa5, 0x2e, 0x61, 0x72, 0x67, 0x73,
     1850    0x98, 0x87, 0xae, 0x2e, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f,
     1851    0x73, 0x70, 0x61, 0x63, 0x65, 0xa6, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c,
     1852    0xa5, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0xa7, 0x67, 0x5f, 0x69, 0x6e, 0x70,
     1853    0x75, 0x74, 0xa7, 0x2e, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x00, 0xa5,
     1854    0x2e, 0x73, 0x69, 0x7a, 0x65, 0x08, 0xaa, 0x2e, 0x74, 0x79, 0x70, 0x65,
     1855    0x5f, 0x6e, 0x61, 0x6d, 0x65, 0xa5, 0x75, 0x69, 0x6e, 0x74, 0x2a, 0xab,
     1856    0x2e, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0xad,
     1857    0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x62, 0x75, 0x66, 0x66, 0x65,
     1858    0x72, 0xab, 0x2e, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x74, 0x79, 0x70,
     1859    0x65, 0xa3, 0x75, 0x33, 0x32, 0x87, 0xae, 0x2e, 0x61, 0x64, 0x64, 0x72,
     1860    0x65, 0x73, 0x73, 0x5f, 0x73, 0x70, 0x61, 0x63, 0x65, 0xa6, 0x67, 0x6c,
     1861    0x6f, 0x62, 0x61, 0x6c, 0xa5, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0xa8, 0x67,
     1862    0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0xa7, 0x2e, 0x6f, 0x66, 0x66,
     1863    0x73, 0x65, 0x74, 0x08, 0xa5, 0x2e, 0x73, 0x69, 0x7a, 0x65, 0x08, 0xaa,
     1864    0x2e, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0xa5, 0x75,
     1865    0x69, 0x6e, 0x74, 0x2a, 0xab, 0x2e, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f,
     1866    0x6b, 0x69, 0x6e, 0x64, 0xad, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f,
     1867    0x62, 0x75, 0x66, 0x66, 0x65, 0x72, 0xab, 0x2e, 0x76, 0x61, 0x6c, 0x75,
     1868    0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0xa3, 0x75, 0x33, 0x32, 0x84, 0xa7,
     1869    0x2e, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x10, 0xa5, 0x2e, 0x73, 0x69,
     1870    0x7a, 0x65, 0x08, 0xab, 0x2e, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6b,
     1871    0x69, 0x6e, 0x64, 0xb6, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x5f, 0x67,
     1872    0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74,
     1873    0x5f, 0x78, 0xab, 0x2e, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x74, 0x79,
     1874    0x70, 0x65, 0xa3, 0x69, 0x36, 0x34, 0x84, 0xa7, 0x2e, 0x6f, 0x66, 0x66,
     1875    0x73, 0x65, 0x74, 0x18, 0xa5, 0x2e, 0x73, 0x69, 0x7a, 0x65, 0x08, 0xab,
     1876    0x2e, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0xb6,
     1877    0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x5f, 0x67, 0x6c, 0x6f, 0x62, 0x61,
     1878    0x6c, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x5f, 0x79, 0xab, 0x2e,
     1879    0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0xa3, 0x69,
     1880    0x36, 0x34, 0x84, 0xa7, 0x2e, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x20,
     1881    0xa5, 0x2e, 0x73, 0x69, 0x7a, 0x65, 0x08, 0xab, 0x2e, 0x76, 0x61, 0x6c,
     1882    0x75, 0x65, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0xb6, 0x68, 0x69, 0x64, 0x64,
     1883    0x65, 0x6e, 0x5f, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x6f, 0x66,
     1884    0x66, 0x73, 0x65, 0x74, 0x5f, 0x7a, 0xab, 0x2e, 0x76, 0x61, 0x6c, 0x75,
     1885    0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0xa3, 0x69, 0x36, 0x34, 0x85, 0xae,
     1886    0x2e, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x73, 0x70, 0x61,
     1887    0x63, 0x65, 0xa6, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0xa7, 0x2e, 0x6f,
     1888    0x66, 0x66, 0x73, 0x65, 0x74, 0x28, 0xa5, 0x2e, 0x73, 0x69, 0x7a, 0x65,
     1889    0x08, 0xab, 0x2e, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6b, 0x69, 0x6e,
     1890    0x64, 0xab, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x5f, 0x6e, 0x6f, 0x6e,
     1891    0x65, 0xab, 0x2e, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x74, 0x79, 0x70,
     1892    0x65, 0xa2, 0x69, 0x38, 0x85, 0xae, 0x2e, 0x61, 0x64, 0x64, 0x72, 0x65,
     1893    0x73, 0x73, 0x5f, 0x73, 0x70, 0x61, 0x63, 0x65, 0xa6, 0x67, 0x6c, 0x6f,
     1894    0x62, 0x61, 0x6c, 0xa7, 0x2e, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x30,
     1895    0xa5, 0x2e, 0x73, 0x69, 0x7a, 0x65, 0x08, 0xab, 0x2e, 0x76, 0x61, 0x6c,
     1896    0x75, 0x65, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0xab, 0x68, 0x69, 0x64, 0x64,
     1897    0x65, 0x6e, 0x5f, 0x6e, 0x6f, 0x6e, 0x65, 0xab, 0x2e, 0x76, 0x61, 0x6c,
     1898    0x75, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0xa2, 0x69, 0x38, 0x85, 0xae,
     1899    0x2e, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x73, 0x70, 0x61,
     1900    0x63, 0x65, 0xa6, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0xa7, 0x2e, 0x6f,
     1901    0x66, 0x66, 0x73, 0x65, 0x74, 0x38, 0xa5, 0x2e, 0x73, 0x69, 0x7a, 0x65,
     1902    0x08, 0xab, 0x2e, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6b, 0x69, 0x6e,
     1903    0x64, 0xab, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x5f, 0x6e, 0x6f, 0x6e,
     1904    0x65, 0xab, 0x2e, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x74, 0x79, 0x70,
     1905    0x65, 0xa2, 0x69, 0x38, 0xb9, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f,
     1906    0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65,
     1907    0x64, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x00, 0xb6, 0x2e, 0x6b, 0x65, 0x72,
     1908    0x6e, 0x61, 0x72, 0x67, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74,
     1909    0x5f, 0x61, 0x6c, 0x69, 0x67, 0x6e, 0x08, 0xb5, 0x2e, 0x6b, 0x65, 0x72,
     1910    0x6e, 0x61, 0x72, 0x67, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74,
     1911    0x5f, 0x73, 0x69, 0x7a, 0x65, 0x40, 0xa9, 0x2e, 0x6c, 0x61, 0x6e, 0x67,
     1912    0x75, 0x61, 0x67, 0x65, 0xa8, 0x4f, 0x70, 0x65, 0x6e, 0x43, 0x4c, 0x20,
     1913    0x43, 0xb1, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f,
     1914    0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x92, 0x01, 0x02, 0xb8, 0x2e,
     1915    0x6d, 0x61, 0x78, 0x5f, 0x66, 0x6c, 0x61, 0x74, 0x5f, 0x77, 0x6f, 0x72,
     1916    0x6b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0xcd,
     1917    0x01, 0x00, 0xa5, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0xad, 0x73, 0x61, 0x6d,
     1918    0x70, 0x6c, 0x65, 0x5f, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0xbb, 0x2e,
     1919    0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x73, 0x65, 0x67, 0x6d,
     1920    0x65, 0x6e, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x73, 0x69,
     1921    0x7a, 0x65, 0x00, 0xab, 0x2e, 0x73, 0x67, 0x70, 0x72, 0x5f, 0x63, 0x6f,
     1922    0x75, 0x6e, 0x74, 0x0b, 0xb1, 0x2e, 0x73, 0x67, 0x70, 0x72, 0x5f, 0x73,
     1923    0x70, 0x69, 0x6c, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x00, 0xa7,
     1924    0x2e, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0xb0, 0x73, 0x61, 0x6d, 0x70,
     1925    0x6c, 0x65, 0x5f, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x2e, 0x6b, 0x64,
     1926    0xab, 0x2e, 0x76, 0x67, 0x70, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74,
     1927    0x04, 0xb1, 0x2e, 0x76, 0x67, 0x70, 0x72, 0x5f, 0x73, 0x70, 0x69, 0x6c,
     1928    0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x00, 0xaf, 0x2e, 0x77, 0x61,
     1929    0x76, 0x65, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x5f, 0x73, 0x69, 0x7a, 0x65,
     1930    0x20, 0x8f, 0xa5, 0x2e, 0x61, 0x72, 0x67, 0x73, 0x98, 0x87, 0xae, 0x2e,
     1931    0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x73, 0x70, 0x61, 0x63,
     1932    0x65, 0xa6, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0xa5, 0x2e, 0x6e, 0x61,
     1933    0x6d, 0x65, 0xa8, 0x67, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x32, 0xa7,
     1934    0x2e, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x00, 0xa5, 0x2e, 0x73, 0x69,
     1935    0x7a, 0x65, 0x08, 0xaa, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61,
     1936    0x6d, 0x65, 0xa5, 0x75, 0x69, 0x6e, 0x74, 0x2a, 0xab, 0x2e, 0x76, 0x61,
     1937    0x6c, 0x75, 0x65, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0xad, 0x67, 0x6c, 0x6f,
     1938    0x62, 0x61, 0x6c, 0x5f, 0x62, 0x75, 0x66, 0x66, 0x65, 0x72, 0xab, 0x2e,
     1939    0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0xa3, 0x75,
     1940    0x33, 0x32, 0x87, 0xae, 0x2e, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
     1941    0x5f, 0x73, 0x70, 0x61, 0x63, 0x65, 0xa6, 0x67, 0x6c, 0x6f, 0x62, 0x61,
     1942    0x6c, 0xa5, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0xa9, 0x67, 0x5f, 0x6f, 0x75,
     1943    0x74, 0x70, 0x75, 0x74, 0x32, 0xa7, 0x2e, 0x6f, 0x66, 0x66, 0x73, 0x65,
     1944    0x74, 0x08, 0xa5, 0x2e, 0x73, 0x69, 0x7a, 0x65, 0x08, 0xaa, 0x2e, 0x74,
     1945    0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0xa5, 0x75, 0x69, 0x6e,
     1946    0x74, 0x2a, 0xab, 0x2e, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6b, 0x69,
     1947    0x6e, 0x64, 0xad, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x62, 0x75,
     1948    0x66, 0x66, 0x65, 0x72, 0xab, 0x2e, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f,
     1949    0x74, 0x79, 0x70, 0x65, 0xa3, 0x75, 0x33, 0x32, 0x84, 0xa7, 0x2e, 0x6f,
     1950    0x66, 0x66, 0x73, 0x65, 0x74, 0x10, 0xa5, 0x2e, 0x73, 0x69, 0x7a, 0x65,
     1951    0x08, 0xab, 0x2e, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6b, 0x69, 0x6e,
     1952    0x64, 0xb6, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x5f, 0x67, 0x6c, 0x6f,
     1953    0x62, 0x61, 0x6c, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x5f, 0x78,
     1954    0xab, 0x2e, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65,
     1955    0xa3, 0x69, 0x36, 0x34, 0x84, 0xa7, 0x2e, 0x6f, 0x66, 0x66, 0x73, 0x65,
     1956    0x74, 0x18, 0xa5, 0x2e, 0x73, 0x69, 0x7a, 0x65, 0x08, 0xab, 0x2e, 0x76,
     1957    0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0xb6, 0x68, 0x69,
     1958    0x64, 0x64, 0x65, 0x6e, 0x5f, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f,
     1959    0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x5f, 0x79, 0xab, 0x2e, 0x76, 0x61,
     1960    0x6c, 0x75, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0xa3, 0x69, 0x36, 0x34,
     1961    0x84, 0xa7, 0x2e, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x20, 0xa5, 0x2e,
     1962    0x73, 0x69, 0x7a, 0x65, 0x08, 0xab, 0x2e, 0x76, 0x61, 0x6c, 0x75, 0x65,
     1963    0x5f, 0x6b, 0x69, 0x6e, 0x64, 0xb6, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e,
     1964    0x5f, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x6f, 0x66, 0x66, 0x73,
     1965    0x65, 0x74, 0x5f, 0x7a, 0xab, 0x2e, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f,
     1966    0x74, 0x79, 0x70, 0x65, 0xa3, 0x69, 0x36, 0x34, 0x85, 0xae, 0x2e, 0x61,
     1967    0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x73, 0x70, 0x61, 0x63, 0x65,
     1968    0xa6, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0xa7, 0x2e, 0x6f, 0x66, 0x66,
     1969    0x73, 0x65, 0x74, 0x28, 0xa5, 0x2e, 0x73, 0x69, 0x7a, 0x65, 0x08, 0xab,
     1970    0x2e, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0xab,
     1971    0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x5f, 0x6e, 0x6f, 0x6e, 0x65, 0xab,
     1972    0x2e, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0xa2,
     1973    0x69, 0x38, 0x85, 0xae, 0x2e, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
     1974    0x5f, 0x73, 0x70, 0x61, 0x63, 0x65, 0xa6, 0x67, 0x6c, 0x6f, 0x62, 0x61,
     1975    0x6c, 0xa7, 0x2e, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x30, 0xa5, 0x2e,
     1976    0x73, 0x69, 0x7a, 0x65, 0x08, 0xab, 0x2e, 0x76, 0x61, 0x6c, 0x75, 0x65,
     1977    0x5f, 0x6b, 0x69, 0x6e, 0x64, 0xab, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e,
     1978    0x5f, 0x6e, 0x6f, 0x6e, 0x65, 0xab, 0x2e, 0x76, 0x61, 0x6c, 0x75, 0x65,
     1979    0x5f, 0x74, 0x79, 0x70, 0x65, 0xa2, 0x69, 0x38, 0x85, 0xae, 0x2e, 0x61,
     1980    0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x73, 0x70, 0x61, 0x63, 0x65,
     1981    0xa6, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0xa7, 0x2e, 0x6f, 0x66, 0x66,
     1982    0x73, 0x65, 0x74, 0x38, 0xa5, 0x2e, 0x73, 0x69, 0x7a, 0x65, 0x08, 0xab,
     1983    0x2e, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0xab,
     1984    0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x5f, 0x6e, 0x6f, 0x6e, 0x65, 0xab,
     1985    0x2e, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0xa2,
     1986    0x69, 0x38, 0xb9, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x73, 0x65,
     1987    0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x5f,
     1988    0x73, 0x69, 0x7a, 0x65, 0x00, 0xb6, 0x2e, 0x6b, 0x65, 0x72, 0x6e, 0x61,
     1989    0x72, 0x67, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x61,
     1990    0x6c, 0x69, 0x67, 0x6e, 0x08, 0xb5, 0x2e, 0x6b, 0x65, 0x72, 0x6e, 0x61,
     1991    0x72, 0x67, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73,
     1992    0x69, 0x7a, 0x65, 0x40, 0xa9, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61,
     1993    0x67, 0x65, 0xa8, 0x4f, 0x70, 0x65, 0x6e, 0x43, 0x4c, 0x20, 0x43, 0xb1,
     1994    0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x76, 0x65,
     1995    0x72, 0x73, 0x69, 0x6f, 0x6e, 0x92, 0x01, 0x02, 0xb8, 0x2e, 0x6d, 0x61,
     1996    0x78, 0x5f, 0x66, 0x6c, 0x61, 0x74, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x67,
     1997    0x72, 0x6f, 0x75, 0x70, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0xcd, 0x01, 0x00,
     1998    0xa5, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0xae, 0x73, 0x61, 0x6d, 0x70, 0x6c,
     1999    0x65, 0x5f, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x32, 0xbb, 0x2e, 0x70,
     2000    0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65,
     2001    0x6e, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x73, 0x69, 0x7a,
     2002    0x65, 0x00, 0xab, 0x2e, 0x73, 0x67, 0x70, 0x72, 0x5f, 0x63, 0x6f, 0x75,
     2003    0x6e, 0x74, 0x0b, 0xb1, 0x2e, 0x73, 0x67, 0x70, 0x72, 0x5f, 0x73, 0x70,
     2004    0x69, 0x6c, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x00, 0xa7, 0x2e,
     2005    0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0xb1, 0x73, 0x61, 0x6d, 0x70, 0x6c,
     2006    0x65, 0x5f, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x32, 0x2e, 0x6b, 0x64,
     2007    0xab, 0x2e, 0x76, 0x67, 0x70, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74,
     2008    0x05, 0xb1, 0x2e, 0x76, 0x67, 0x70, 0x72, 0x5f, 0x73, 0x70, 0x69, 0x6c,
     2009    0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x00, 0xaf, 0x2e, 0x77, 0x61,
     2010    0x76, 0x65, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x5f, 0x73, 0x69, 0x7a, 0x65,
     2011    0x20, 0xae, 0x61, 0x6d, 0x64, 0x68, 0x73, 0x61, 0x2e, 0x76, 0x65, 0x72,
     2012    0x73, 0x69, 0x6f, 0x6e, 0x92, 0x01, 0x00
     2013};
     2014
    18462015static const ROCmMsgPackMDTestCase rocmMsgPackMDTestCases[] =
    18472016{
     
    19952164                    "OpenCL C", { 3, 2 }, { 6, 9, 17 }, { 4, 11, 5 }, "int16", "",
    19962165                    192, 72, 32, 16, 64, 43, 9, 396, { 0, 0, 0 }, 5, 8, "abcd"
     2166                }
     2167            }
     2168        },
     2169        true, ""
     2170    },
     2171    {   // testcase 2
     2172        sizeof(rocmMsgPackInput2), rocmMsgPackInput2,
     2173        {
     2174            { 1, 0 }, { },
     2175            {   // kernels
     2176                {
     2177                    "sample_kernel", "sample_kernel.kd",
     2178                    {   // args
     2179                        { "g_input", "uint*", 8, 0, 0, ROCmValueKind::GLOBAL_BUFFER,
     2180                            ROCmValueType::UINT32, ROCmAddressSpace::GLOBAL,
     2181                            ROCmAccessQual::DEFAULT, ROCmAccessQual::DEFAULT,
     2182                            false, false, false, false },
     2183                        { "g_output", "uint*", 8, 8, 0, ROCmValueKind::GLOBAL_BUFFER,
     2184                            ROCmValueType::UINT32, ROCmAddressSpace::GLOBAL,
     2185                            ROCmAccessQual::DEFAULT, ROCmAccessQual::DEFAULT,
     2186                            false, false, false, false },
     2187                        { "", "", 8, 16, 0, ROCmValueKind::HIDDEN_GLOBAL_OFFSET_X,
     2188                            ROCmValueType::INT64, ROCmAddressSpace::NONE,
     2189                            ROCmAccessQual::DEFAULT, ROCmAccessQual::DEFAULT,
     2190                            false, false, false, false },
     2191                        { "", "", 8, 24, 0, ROCmValueKind::HIDDEN_GLOBAL_OFFSET_Y,
     2192                            ROCmValueType::INT64, ROCmAddressSpace::NONE,
     2193                            ROCmAccessQual::DEFAULT, ROCmAccessQual::DEFAULT,
     2194                            false, false, false, false },
     2195                        { "", "", 8, 32, 0, ROCmValueKind::HIDDEN_GLOBAL_OFFSET_Z,
     2196                            ROCmValueType::INT64, ROCmAddressSpace::NONE,
     2197                            ROCmAccessQual::DEFAULT, ROCmAccessQual::DEFAULT,
     2198                            false, false, false, false },
     2199                        { "", "", 8, 40, 0, ROCmValueKind::HIDDEN_NONE,
     2200                            ROCmValueType::INT8, ROCmAddressSpace::GLOBAL,
     2201                            ROCmAccessQual::DEFAULT, ROCmAccessQual::DEFAULT,
     2202                            false, false, false, false },
     2203                        { "", "", 8, 48, 0, ROCmValueKind::HIDDEN_NONE,
     2204                            ROCmValueType::INT8, ROCmAddressSpace::GLOBAL,
     2205                            ROCmAccessQual::DEFAULT, ROCmAccessQual::DEFAULT,
     2206                            false, false, false, false },
     2207                        { "", "", 8, 56, 0, ROCmValueKind::HIDDEN_NONE,
     2208                            ROCmValueType::INT8, ROCmAddressSpace::GLOBAL,
     2209                            ROCmAccessQual::DEFAULT, ROCmAccessQual::DEFAULT,
     2210                            false, false, false, false }
     2211                    },
     2212                    "OpenCL C", { 1, 2 }, { 0, 0, 0 }, { 0, 0, 0 }, "", "", 64, 0, 0, 8,
     2213                    32, 11, 4, 256, { 0, 0, 0 }, 0, 0, ""
     2214                },
     2215                {
     2216                    "sample_kernel2", "sample_kernel2.kd",
     2217                    {
     2218                        { "g_input2", "uint*", 8, 0, 0, ROCmValueKind::GLOBAL_BUFFER,
     2219                                ROCmValueType::UINT32, ROCmAddressSpace::GLOBAL,
     2220                            ROCmAccessQual::DEFAULT, ROCmAccessQual::DEFAULT,
     2221                            false, false, false, false },
     2222                        { "g_output2", "uint*", 8, 8, 0, ROCmValueKind::GLOBAL_BUFFER,
     2223                            ROCmValueType::UINT32, ROCmAddressSpace::GLOBAL,
     2224                            ROCmAccessQual::DEFAULT, ROCmAccessQual::DEFAULT,
     2225                            false, false, false, false },
     2226                        { "", "", 8, 16, 0, ROCmValueKind::HIDDEN_GLOBAL_OFFSET_X,
     2227                            ROCmValueType::INT64, ROCmAddressSpace::NONE,
     2228                            ROCmAccessQual::DEFAULT, ROCmAccessQual::DEFAULT,
     2229                            false, false, false, false },
     2230                        { "", "", 8, 24, 0, ROCmValueKind::HIDDEN_GLOBAL_OFFSET_Y,
     2231                            ROCmValueType::INT64, ROCmAddressSpace::NONE,
     2232                            ROCmAccessQual::DEFAULT, ROCmAccessQual::DEFAULT,
     2233                            false, false, false, false },
     2234                        { "", "", 8, 32, 0, ROCmValueKind::HIDDEN_GLOBAL_OFFSET_Z,
     2235                            ROCmValueType::INT64, ROCmAddressSpace::NONE,
     2236                            ROCmAccessQual::DEFAULT, ROCmAccessQual::DEFAULT,
     2237                            false, false, false, false },
     2238                        { "", "", 8, 40, 0, ROCmValueKind::HIDDEN_NONE,
     2239                            ROCmValueType::INT8, ROCmAddressSpace::GLOBAL,
     2240                            ROCmAccessQual::DEFAULT, ROCmAccessQual::DEFAULT,
     2241                            false, false, false, false },
     2242                        { "", "", 8, 48, 0, ROCmValueKind::HIDDEN_NONE,
     2243                            ROCmValueType::INT8, ROCmAddressSpace::GLOBAL,
     2244                            ROCmAccessQual::DEFAULT, ROCmAccessQual::DEFAULT,
     2245                            false, false, false, false },
     2246                        { "", "", 8, 56, 0, ROCmValueKind::HIDDEN_NONE,
     2247                            ROCmValueType::INT8, ROCmAddressSpace::GLOBAL,
     2248                            ROCmAccessQual::DEFAULT, ROCmAccessQual::DEFAULT,
     2249                            false, false, false, false }
     2250                    },
     2251                    "OpenCL C", { 1, 2 }, { 0, 0, 0 }, { 0, 0, 0 }, "", "", 64, 0, 0, 8,
     2252                    32, 11, 5, 256, { 0, 0, 0 }, 0, 0, ""
    19972253                }
    19982254            }
Note: See TracChangeset for help on using the changeset viewer.