Chauncey Hui
a0c9bf4414
SWDEV-2 - Change OpenCL version number from 3368 to 3369
2021-09-21 03:00:05 -04:00
German Andryeyev
51556711dc
SWDEV-292408 - Don't force high clock for HIP
...
Change-Id: I501f4e5272124025068b1d3cb637ee8061b06467
2021-09-20 18:44:11 -04:00
German Andryeyev
6da9d18140
SWDEV-292408 - Disable cache coherency tracking for HIP
...
Cache coherency layer is OCL feature to support multiple devices in
single OCL context.
Change-Id: Ic66df9551fad5b0c4df95ab3e1db1da259919f25
2021-09-20 16:13:36 -04:00
Ajay
198530143c
SWDEV-301069 - null ptr check before calling getUserData
...
Change-Id: Iaff3acd44d89a9629efe0672cb45138942d7fa28
2021-09-17 19:25:24 -04:00
Chauncey Hui
41fdd996cb
SWDEV-2 - Change OpenCL version number from 3367 to 3368
2021-09-17 03:00:05 -04:00
Alex Xie
19ca123460
SWDEV-302875 - OpenCL build failure
...
clinfo should rely on OpenCL interface, headere file and library only
Change-Id: I8e09aa73b55f1a28c2e4403f52740803d0338c12
2021-09-16 22:16:06 -04:00
agunashe
82e73c096b
SWDEV-301069 - current device id saved while allocating memory in VDI
...
Change-Id: Ic5426895fb1d152e4e6e1baf8b938f35c85fa3d8
2021-09-16 14:00:07 -04:00
Chauncey Hui
c3be1d41f1
SWDEV-2 - Change OpenCL version number from 3366 to 3367
2021-09-16 03:00:09 -04:00
German Andryeyev
f116959b54
SWDEV-302383 - Get active state from device
...
The queue can be destroyed at the time the app will request
the event status. Hence just get the active state from the device.
Change-Id: I887ecb0cfe414c2119247228b0d1255b8308da1e
2021-09-14 19:01:44 -04:00
agunashe
29adfcd3c0
SWDEV-301069 - current device id saved while allocating memory
...
Change-Id: I57045119e7adf915074c547cbe76349a4cfd72d9
2021-09-14 12:19:44 -04:00
Chauncey Hui
e6c0e0fe8b
SWDEV-2 - Change OpenCL version number from 3365 to 3366
2021-09-14 03:00:07 -04:00
Satyanvesh Dittakavi
673c2deed1
SWDEV-302147 - fix __hip_ds_permutef device function to return float
...
Change-Id: Ie452e90a7f7410401df4a66de468ad850403953c
2021-09-14 02:15:53 -04:00
German Andryeyev
d8a86e4870
SWDEV-282419 - Use HSA_AMD_SVM_ATTRIB_AGENT_ACCESSIBLE for unset
...
When unsetting runtime should use HSA_AMD_SVM_ATTRIB_AGENT_ACCESSIBLE
for the agent and not HSA_AMD_SVM_ATTRIB_AGENT_ACCESSIBLE_IN_PLACE
Change-Id: I3814802d1fb3b72c54e7566defafafed6b0d5cee
2021-09-13 15:05:20 -04:00
German Andryeyev
65ddfcc6a8
SWDEV-294669 - Keep one more slot for HW processing
...
The original logic left only one slot for HW processing in the queue.
For some reason there is a race condition on CPU overwrite of the slot
before the current active. The workaround is to avoid the previous to
the current active slot for possible unfinished HW processing.
Change-Id: I565495a8feeaedffc9fc8a505edbee5ff5816975
2021-09-13 13:56:05 -04:00
Chauncey Hui
7102264d6a
SWDEV-2 - Change OpenCL version number from 3364 to 3365
2021-09-10 03:00:05 -04:00
Laurent Morichetti
3dc47bc839
SWDEV-252801 - Fix hipGetLastError/hipPeekAtLastError
...
hipGetLastError/hipPeekAtLastError should really return the last error
produced by any of the runtime calls that did not successfuly complete,
not just the error code of the last runtime call.
For example, in this snippet of code:
1: hipLaunchKernelGGL(MyKernel, dim3(2), dim3(128), 0, 0, 10000,x);
2: hipDeviceSynchronize();
3: hipError_t error = hipGetLastError();
If the call to hipLaunchKernelGGL fails, hipDeviceSynchronize (which
succeeds) should not reset the last error to hipSuccess. hipGetLastError
should still return the non-success error code returned by
hipLaunchKernelGGL.
The last error is reset to hipSuccess after calling hipGetLastError.
Change-Id: Ib7c039067c53c94c99c8ecd83f54212bcef06f81
2021-09-09 12:29:05 -07:00
Laurent Morichetti
3911184607
SWDEV-252801 - Fix return HIP_RETURN(x)
...
HIP_RETURN(x) is not a value, it is a statement ending with a return,
this commit replaces all instances of "return HIP_RETURN(x)" with simply
"HIP_RETURN(x)"
Change-Id: I03293b2684a65367ff55e02b3a71ea49ec7a517a
2021-09-09 12:19:41 -07:00
Jason Tang
73967c3b17
SWDEV-1 - Some 'delete' clean up
...
Change-Id: I02564f0f0e349375bde1471e9f82df268703367b
2021-09-09 12:12:40 -04:00
Jason Tang
4d06d64939
SWDEV-1 - switch to C++17
...
Change-Id: Ifdb1ecbf175949462c29035c007acb3e82fe8322
2021-09-09 10:16:43 -04:00
Jason Tang
5549007856
SWDEV-1 - switch to C++17
...
Change-Id: I7e6a28a20ca163fe86dd6d53b031e9bb6f9b22c9
2021-09-09 10:16:14 -04:00
Chauncey Hui
df862e7ef6
SWDEV-2 - Change OpenCL version number from 3363 to 3364
2021-09-09 03:00:06 -04:00
Vladislav Sytchenko
d934612948
SWDEV-1 - Prepare for c++17 switch
...
std::mem_fun() and std::bind2nd() are removed in c++17. Switch to
simpler logic that does not require those functions.
Change-Id: I19a31f076e1813e367615bd377b424046ce144c7
2021-09-08 16:18:33 -04:00
Vladislav Sytchenko
dd23379ac8
SWDEV-301636 - Manually find NUMA
...
CMake does not provide a way to query the NUMA library, hence we need
to find it manually.
Change-Id: I370b286acdee75cbebc21340da3c432c79f8ffa7
2021-09-08 15:04:15 -04:00
Vladislav Sytchenko
c68f024b35
SWDEV-1 - Fix Windows build
...
std: :mem_fun() is removed in c++17. Simplify logic to not require it.
Change-Id: Ic9a4753b48dd13fcb20cd5b90ff73c3df3211b9f
2021-09-08 12:59:48 -04:00
Saleel Kudchadker
21ba34d0fe
SWDEV-297448 - Add 64bit and 16bit write support
...
For the fillBuffer shader, if there are two 32bit writes to a MMIO
register, it can get dropped. It has to be a single 64bit write.
Add optimization to fillBuffer to write 64bit and 16bit writes.
Change-Id: I3aa78e027898f8ae01e9c8f09004615673720c2b
2021-09-08 12:30:04 -04:00
Sarbojit Sarkar
88186db4cd
SWDEV-276319 - Added missing null check
...
Change-Id: I0fcaa55b9a793cbb6c1d2f3022edf288dabea757
2021-09-08 06:53:02 -04:00
Chauncey Hui
1786fd8851
SWDEV-2 - Change OpenCL version number from 3362 to 3363
2021-09-08 03:00:04 -04:00
Jatin Chaudhary
0faf1244b5
SWDEV-299162 - Use new comgr API to demangle names
...
Change-Id: I9e34518de94db30c345cd03c92801b8424b4e446
2021-09-08 02:32:41 -04:00
Jatin Chaudhary
b5a57327bb
SWDEV-299162 - Add new comgr API to demangle names
...
Change-Id: I84174d7e40e9afff9a8ea135abadb69d580478e0
2021-09-08 00:35:34 -04:00
Sarbojit Sarkar
c8983ead49
SWDEV-300655 - HIP trace cleanup
...
Change-Id: Iebc1eefe8d81d2f1f8adbab47e1351f03635868f
2021-09-08 00:32:47 -04:00
Sarbojit Sarkar
42d33029dc
SWDEV-300655 - Added thread ID to hip trace
...
Change-Id: I9234d4ec93e7687cd0a5d1bd930bd4f80936311b
2021-09-06 00:22:42 -04:00
Jason Tang
9ca733ca1e
SWDEV-1 - switch to C++17
...
Change-Id: I555914fc65f61259fe32a7f58864ac0dba1d641f
2021-09-04 17:19:02 -04:00
Chauncey Hui
1b218d6861
SWDEV-2 - Change OpenCL version number from 3361 to 3362
2021-09-04 03:00:05 -04:00
Saleel Kudchadker
e29b9c00ee
SWDEV-301667 - Kern arg placement
...
Add a env var ROC_USE_FGS_KERNARG to toggle kernel arg placement
By default its in Fine Grain Kernel arg segment for supported asics.
Change-Id: I3d57ed69a1a4db2b392b0438ead499f3ddca4716
2021-09-02 12:36:49 -04:00
Satyanvesh Dittakavi
b25e6d3716
SWDEV-301330 - Remove the hard coded driver version on HIP CUDA platform
...
Change-Id: I0eb10781acc7524174c7ae6fc552c824b7c94b0a
2021-09-02 09:03:04 +00:00
Chauncey Hui
6ebbc0a8af
SWDEV-2 - Change OpenCL version number from 3360 to 3361
2021-09-02 03:00:06 -04:00
David Salinas
64cbd7951d
SWDEV-294828 - Move roc-obj binaries from hip to hipamd
...
SWDEV-280149 - roc-obj-ls/roc-obj-extract don't extract all kernel code
Change-Id: Ibe8aff5ff02fced4d9034740da72d3aa8d67c6ae
2021-09-02 01:12:38 -04:00
Maneesh Gupta
e9833dce24
Merge "SWDEV-293197 - Add dependency on rocm-core" into amd-staging
2021-09-02 01:10:40 -04:00
anusha GodavarthySurya
d30f9335fc
SWDEV-296918 - Bring clang-format in sync with hip & rocclr
...
Change-Id: I905943b5040c3108741db6f2a00b20fb72043666
2021-09-02 00:45:50 -04:00
anusha GodavarthySurya
c9d9fd992a
SWDEV-300471 - updated hipFree to wait for all streams to finish
...
Change-Id: I4983ef48a9e720ed03128d83a8d23ad11024fd8f
2021-09-02 00:45:24 -04:00
jujiang
422a26142d
SWDEV-286322 - clean up trailing white space
...
Change-Id: Ie47bc977e1598356b455957d96f9afa37794c1fd
2021-09-01 14:53:14 -04:00
jujiang
e1cd8c5ae2
SWDEV-286322 - clean up trailing white space
...
Change-Id: If2e3f72ff4901f20dc91539c7d3c290ebb2a2531
2021-09-01 14:44:16 -04:00
Satyanvesh Dittakavi
9adc14a0f5
SWDEV-300584 - Update memory validation checks in hipMemPrefetchAsync
...
Change-Id: Ie3f07781da58a5d909b8e6d0284387493a97e488
2021-09-01 13:19:04 -04:00
Satyanvesh Dittakavi
dda2613525
SWDEV-300934 - Check if the stream is valid
...
Change-Id: I41797dc3e726c7eea6a405f20deebd6f59381b5e
2021-09-01 13:16:36 -04:00
jujiang
f63115cec6
SWDEV-286322 - clean up trailing white space
...
Change-Id: I01f3a559cbd1835aa2fdad7abe2bd685d90fc6a8
2021-09-01 11:45:47 -04:00
Jason Tang
1d0364e590
SWDEV-294768 - Fix PCMark10 performance drop
...
PCMark10 counts the time spent in clCreateKernel as part of execution
time, so as workaround for the PAL path, move code object loading
back to clBuildProgram.
Change-Id: I3b9cf1879ece08ab59f447ec165b0525bc8593a4
2021-09-01 09:25:40 -04:00
Icarus Sparry
d91e1d9daa
SWDEV-293197 - Add dependency on rocm-core
...
Signed-off-by: Icarus Sparry <icarus.sparry@amd.com >
Change-Id: Id1b34c7c6fa551f3aacc35827cb6906cec4484e3
2021-09-01 00:21:42 -07:00
Jason Tang
7f83bcdb45
SWDEV-1 - Disable OpenCL support for gfx8 in ROCm path
...
Change-Id: Ie1e0c0d6273edf6b734909447c2a08252cba305b
2021-08-31 12:48:47 -04:00
Rahul Garg
dab4457c14
SWDEV-295859 Update HIP_VERSION
...
Change-Id: Ibc4ce0d87360b3a25f7a313fc4dcc05e57b4f5f4
2021-08-31 05:25:43 +00:00
Vladislav Sytchenko
35ee5f675c
SWDEV-301289 - Add missing sources files needed for ocltst on Windows
...
Change-Id: Icf96028f7891781e4ce1a7d425ff8d41e2602ffd
2021-08-30 22:33:28 -04:00