نمودار کامیت

3618 کامیت‌ها

مولف SHA1 پیام تاریخ
Vlad Sytchenko baaf3e9d1f Fix typo from previous change
Change-Id: Ib8f3418a3460d86d75fc5529ed6270a164e9b10e


[ROCm/clr commit: b835120dfa]
2020-06-16 11:12:33 -04:00
Chauncey Hui c6696b3ccb SWDEV-2 - Change OpenCL version number from 3162 to 3163
[ROCm/clr commit: e9cee93786]
2020-06-16 03:00:03 -04:00
Vlad Sytchenko 0b3fc7bc5d Fix some -Wunused-but-set-variable warnings
Change-Id: I281583b5abdfc09d5dd8b7dfb20b8821581db193


[ROCm/clr commit: 5b9af8f28d]
2020-06-15 17:51:01 -04:00
Vlad Sytchenko 23b193fcd8 Fix -Wsequence-point warning
Change-Id: Ib6322e06f83887da4a29f8eafb99b743211e851d


[ROCm/clr commit: e50a9eec9d]
2020-06-15 17:40:11 -04:00
Vlad Sytchenko f88ff3ebc1 Enable the use of some warnings when building ROCclr
Enabling anything beyond -Wall like -Wextra or -pedantic seems impossible as our code base explodes in thousands of warnings.

-Wno-unused-{variable/function} is not present in the p4 build, but with gcc7.4.0 we get hundreds of instances of this warning being triggered in the code base.

With this change only two warnings show up during the build - -Wsequence-point and -Wunused-but-set-variable. The fix for the first is alredy in review.

Change-Id: I2ff37981377487b0e07fd9490498e38a60792c0c


[ROCm/clr commit: 947dbe82fb]
2020-06-15 17:32:45 -04:00
German Andryeyev cfe7062be1 Fix compile error in ATI make build
Change-Id: Id9d23b8f46bf1b97c0f02c8ae0edd94e6963b1b5


[ROCm/clr commit: afe825c506]
2020-06-15 10:31:57 -04:00
Chauncey Hui ceed43fa4e SWDEV-2 - Change OpenCL version number from 3161 to 3162
[ROCm/clr commit: 57eb9064ce]
2020-06-14 03:00:10 -04:00
Tao Sang e3c1bb153b Deduce hops from numa distance
Rocr won't return real hops so that we have to deduce hops from
numa distance as a workaround. This will be subject to change
as driver team will provide a long term solution in rocm3.7

Change-Id: Ifb939ed848db190c3d544bb7f30a5821161921e6


[ROCm/clr commit: b14d9e0a36]
2020-06-13 17:04:17 -04:00
Chauncey Hui b98c110a87 SWDEV-2 - Change OpenCL version number from 3160 to 3161
[ROCm/clr commit: 7ea8407f82]
2020-06-13 03:00:03 -04:00
Tao Sang 7ab0bcb3b6 Make hipHostMalloc() respect hipSetDevice()
Change-Id: Ibdb666fe8dd049735df2288878501a66f7eedc28


[ROCm/clr commit: db10d42e50]
2020-06-12 18:32:10 -04:00
German Andryeyev 7c1591d98c Add missing return
Change-Id: Ibe9c1ccb377ce14ad69a0e9828ea70b707acba34


[ROCm/clr commit: e4177b75bc]
2020-06-12 17:35:45 -04:00
Jason Tang e762c29a30 Get gpu asicRevision_
Change-Id: I8afb53e027d912843655823eebaec29901c33d28


[ROCm/clr commit: 30e36a4925]
2020-06-12 14:51:52 -04:00
German Andryeyev 0a6056ac82 Initial HMM support
- Expose ROCclr interfaces for HIP usage
- ROCr interfaces aren't available in staging, thus control the
build with AMD_HMM_SUPPORT define

Change-Id: Iadc2bcc230e78d3b0dc22b235189c8cc80843446


[ROCm/clr commit: c5afd5d412]
2020-06-12 09:06:07 -04:00
Chauncey Hui 2e49374d58 SWDEV-2 - Change OpenCL version number from 3159 to 3160
[ROCm/clr commit: da1f5bfb94]
2020-06-12 03:00:03 -04:00
Rahul Garg d9aa6e2375 Fix IPC create memory failure
ROCr expects granular size in hsa_amd_ipc_memory_create

Change-Id: I7c266aa2eef8304f105298a7a668f4c4b3fb5f5a


[ROCm/clr commit: 617538074c]
2020-06-11 13:02:54 -04:00
Saleel Kudchadker fca301772c Add logging support for AQL packet
Use AMD_LOG_LEVEL=4 and AMD_LOG_MASK=8 to print AQL log
explicitly
Change-Id: I4209d91b460e64be44261d3ab773580067e47c29


[ROCm/clr commit: 2b771d2f5f]
2020-06-10 14:04:47 -07:00
Chauncey Hui cdd067bca6 SWDEV-2 - Change OpenCL version number from 3158 to 3159
[ROCm/clr commit: 4cd1579d46]
2020-06-10 03:00:02 -04:00
Aryan Salmanpour a760a90d35 reuse available queue with the same priority if queue creation fails
Change-Id: I1522935ce1a73c4724135668d039e88a9097710b


[ROCm/clr commit: 5203c5271b]
2020-06-09 17:56:18 -04:00
Chauncey Hui c8e3363da4 SWDEV-2 - Change OpenCL version number from 3157 to 3158
[ROCm/clr commit: b17acc9374]
2020-06-09 03:00:02 -04:00
Aryan Salmanpour 6059c30804 fix a build error on TeamCity due to order of initialization in rocm Device class
Change-Id: I2e45e71e53272b7a7813422d3b949e3835077ab0


[ROCm/clr commit: 1d938697a1]
2020-06-08 13:56:39 -04:00
Chauncey Hui ef75e5d449 SWDEV-2 - Change OpenCL version number from 3156 to 3157
[ROCm/clr commit: c9ddebbb85]
2020-06-06 03:00:03 -04:00
kjayapra-amd 01737d2472 SWDEV-239327 - Dont call hsa_amd_memory_pool_free from ~amd::Memory() for obj created by passing devptr.
Change-Id: I315fd502df6bb1bf66dd24eac9325f1439e432ad


[ROCm/clr commit: 1b0882e061]
2020-06-05 18:42:03 -04:00
German Andryeyev d4a985dcd3 Make sure runtime sync before CPU access
Change-Id: I52882788ded187b3f735257a188b1b08d8502147


[ROCm/clr commit: 3828a61413]
2020-06-05 12:00:08 -04:00
German Andryeyev 566684b6f4 Add the sync of the current queue
Make sure runtime waits for the current queue before
synching with device queue

Change-Id: I753b6fc0bb15a3a3d4bf03fef1152842550850c0


[ROCm/clr commit: 86e0f337fc]
2020-06-05 11:57:59 -04:00
Chauncey Hui 538b8a59ba SWDEV-2 - Change OpenCL version number from 3155 to 3156
[ROCm/clr commit: 56af79fa39]
2020-06-05 03:00:03 -04:00
kjayapra-amd d6a2b2247a FEAT-30761 - Adding defaults to all Switch cases in PalDevice gfx detection.
Change-Id: Ic998dba44d3287484d6b0da4f07f320de8e6d92b


[ROCm/clr commit: 1982c16e46]
2020-06-04 20:49:58 -04:00
Aryan Salmanpour 55c58ebfaa Add support for setting queue priority for ROCm backend
Change-Id: I67ed5a6868af79538f7f4522d8d11c043cdf3c1e


[ROCm/clr commit: b5552aa97f]
2020-06-04 20:16:32 -04:00
German Andryeyev 3d2182f8ba Revert "Avoid lock for last queued command"
This reverts commit 88c3f77bed.

Reason for revert: <INSERT REASONING HERE>

Change-Id: Ie10442c9447f010bb90c679b6cffca5b48b8d054


[ROCm/clr commit: 44bc0cb35d]
2020-06-04 18:08:17 -04:00
Saleel Kudchadker 2a42d5838d Set hidden mem witholding to 0 by default
TF doesn't reserve all available memory now. If any
client wants to reserve they can explicitly set
HIP_HIDDEN_FREE_MEM env var
Change-Id: Ied3a948b79f49aa7327f6a820e9789e39cec143b


[ROCm/clr commit: d8ca3c632c]
2020-06-04 14:37:40 -04:00
Saleel Kudchadker 0bdb497c1a Fix a potential mem leak
If a offset of the pointer is passed to free it may release
the mem object but may not release from MemObjMap. Erase the map
by getting the parent pointer.
Change-Id: I06b92548de2d49b4029efe6b511329225007cc55


[ROCm/clr commit: 2b6fea4348]
2020-06-04 14:05:11 -04:00
Chauncey Hui 5f9321b8a0 SWDEV-2 - Change OpenCL version number from 3154 to 3155
[ROCm/clr commit: f9fd4bb186]
2020-06-04 03:00:03 -04:00
Vlad Sytchenko 20c5916b32 Handle the option USE_COMGR_LIBRARY correctly
This is a follow up to http://gerrit-git.amd.com/c/compute/ec/vdi/+/359563. The setting is now either ON or OFF, never "yes".

Change-Id: I031d013a8d239dc72ef610da81bd31b8b78a3ba8


[ROCm/clr commit: 3a84fcd13e]
2020-06-03 17:25:47 -04:00
Tao Sang a0506189a1 Fix TC linux build issue due to previous Numa patch
Change-Id: I6068edaf38cac6fad187c8429707afdb727e8d41


[ROCm/clr commit: fabfc42b68]
2020-06-03 16:42:53 -04:00
kjayapra-amd a9ead10354 SWDEV-234295 - Dont clear device programs during amd::program::build()
Change-Id: I87bc7e2c830edee783ee490bbb087492467f2704


[ROCm/clr commit: e9bd41bf1a]
2020-06-03 12:18:25 -04:00
Chauncey Hui 41d93c5cad SWDEV-2 - Change OpenCL version number from 3153 to 3154
[ROCm/clr commit: 298dd2ff3f]
2020-06-03 03:00:03 -04:00
Matt Arsenault ff922a013e Use standard cmake option for USE_COMGR_LIBRARY
Change-Id: Id94d88a33772d9c9ab28f9a82c6f761d9c867476


[ROCm/clr commit: 0c539737cf]
2020-06-02 10:32:45 -04:00
Chauncey Hui bc71aa08e3 SWDEV-2 - Change OpenCL version number from 3152 to 3153
[ROCm/clr commit: 3eda2acdf8]
2020-06-02 03:00:03 -04:00
Tao Sang 6041b06b61 Support Numa-aware cpu selection
Select cpu in terms of the smallest Numa distance for a GPU device.
This will improve performance of hipMemcpy in the mode of
hipMemcpyHostToDevice or hipMemcpyDeviceToHost for small buffer.
`

Change-Id: I2860f1f83b79be0dff7bf5e64cf68ab4448db0a1


[ROCm/clr commit: aedb9590be]
2020-06-01 21:01:24 -04:00
Alex Xie 3167f3c725 ROCMOPS-924 centos-6.10 support for opencl_on_rocclr build
Fix a build error in centos 6.10. When linking, ld cannot find function
clock_getres. This function is from librt (for glibc version before 2.17).

Change-Id: I698f768d0618a054d5d0fc73b9f1916a7ce542fb


[ROCm/clr commit: 9a8bd9e68b]
2020-06-01 17:47:03 -04:00
Chauncey Hui 109e92580e SWDEV-2 - Change OpenCL version number from 3151 to 3152
[ROCm/clr commit: ffe6516bb7]
2020-05-30 03:00:03 -04:00
Alex Xie 9f1374f442 Add document README.md
Change-Id: Ib186c1b55663e397b562ec53fca2d476de0c96b3


[ROCm/clr commit: 9e4d81fcb6]
2020-05-30 01:26:03 -04:00
Payam Ghafari a0fad24cf0 Revert "adding HIP_ENABLE_LAZY_KERNEL_LOADING flag"
This reverts commit 5540e98745.

Reason for revert: HIP_ENABLE_LAZY_KERNEL_LOADING is needed before the runtime is initialized, so this utility cannot be used

Change-Id: I49f8ddb98c9a85b9a77b8fd4b236d06b6b2b0f32


[ROCm/clr commit: ac8d1ba687]
2020-05-29 21:26:25 -04:00
Matt Arsenault 4eacd3d38c Don't include llvm directories
There aren't any llvm includes here.

Change-Id: Ifce797c50bde772845923b1054fadd4173b3119a


[ROCm/clr commit: 4d1cbcba4e]
2020-05-29 15:36:26 -04:00
German Andryeyev 88c3f77bed Avoid lock for last queued command
Use atomics for last queued command update

Change-Id: I759e9d78ea72f23c0d45dbede6250b231e122276


[ROCm/clr commit: dc4e09a63a]
2020-05-29 11:06:55 -04:00
Chauncey Hui 25f93bc284 SWDEV-2 - Change OpenCL version number from 3150 to 3151
[ROCm/clr commit: a811cfc567]
2020-05-29 03:00:03 -04:00
Christophe Paquot 992fbe8215 Use a dedicated lock for last queued command set/get
Change-Id: If3d2144841c7863cf7afe2ca85aea62e0a3a33c7


[ROCm/clr commit: 0782acabb5]
2020-05-28 12:49:39 -07:00
Chauncey Hui 75e59b010a SWDEV-2 - Change OpenCL version number from 3149 to 3150
[ROCm/clr commit: eb5b2745e2]
2020-05-27 03:00:03 -04:00
Evgeny 288fd692b7 fixing a typo
Change-Id: I2fc113e1f52ae9356636ddd4597c36c822bed49b


[ROCm/clr commit: 4ffe859cee]
2020-05-26 14:49:27 -04:00
Chauncey Hui 8dbb57226d SWDEV-2 - Change OpenCL version number from 3148 to 3149
[ROCm/clr commit: 8b256dce4e]
2020-05-26 03:00:04 -04:00
German Andryeyev 3abb1347cf Revert "Revert "Reenable cooperative groups""
This reverts commit c6c208099b.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I93c45fae27e0a08b199542d44fb0d65fc74ea13c


[ROCm/clr commit: fb401bfe6d]
2020-05-25 14:11:58 -04:00