Gráfico de commits

3425 Commits

Autor SHA1 Mensaje Fecha
Chauncey Hui b8eadc709e SWDEV-2 - Change OpenCL version number from 3106 to 3107
[ROCm/clr commit: 17b8565629]
2020-03-10 03:00:02 -04:00
German Andryeyev f70545256b SWDEV-193956 - Fix a regression in OCL for user events
- Check the queue for nullptr, since the user events may not have
a queue, associated with them

Change-Id: Ib969a052acc9108ca3fd0c063157fe4d47c5b244


[ROCm/clr commit: 288967eff4]
2020-03-09 11:10:23 -04:00
Chauncey Hui a3bcc34fc2 SWDEV-2 - Change OpenCL version number from 3105 to 3106
[ROCm/clr commit: 5a153ed2cf]
2020-03-09 03:00:03 -04:00
Sameer Sahasrabuddhe bf4070b67d SWDEV-204784 - implement printf based on hostcall
The printf call in the device code is expanded by the compiler into a
series of hostcalls that together form a "message". This change
introduces the following functionality in the runtime:
1. Receive a generic message consisting of a series of hostcalls.
2. Process a printf message.

Change-Id: I9d667d6f91607a907a96e46cc5fca55734339747


[ROCm/clr commit: ce4a34bc71]
2020-03-08 23:57:03 -04:00
Chauncey Hui a6643076ac SWDEV-2 - Change OpenCL version number from 3104 to 3105
[ROCm/clr commit: ca0a327df2]
2020-03-07 03:00:03 -05:00
Vladislav Sytchenko ab1c00cee9 SWDEV-224023
Each WGP consists of 2 CU, so the number of available SIMD units is doubled.

Change-Id: I43978a8a9139c33f5f776b344a36bee927cc187d


[ROCm/clr commit: e76d867740]
2020-03-06 13:43:36 -05:00
Chauncey Hui 4fd89f0c50 SWDEV-2 - Change OpenCL version number from 3103 to 3104
[ROCm/clr commit: ee5eb0107d]
2020-03-05 03:00:02 -05:00
German Andryeyev 35dee1ac53 SWDEV-193956 - [hipclang-vdi-rocm][perf]
~45% to 50% of Performance drop on rocBLAS_int8 test

Add support for active waits without blocking the host thread.

Change-Id: Ie7bb48dcafcb4c93d448bf74749b829b626c3578


[ROCm/clr commit: 0fc433e076]
2020-03-04 17:02:15 -05:00
Payam 123f91240d clean up
Change-Id: I1a5bbd12bba35af5d52f9ddc0df71dd0d004d122


[ROCm/clr commit: 9106a7dff4]
2020-03-04 13:35:49 -05:00
Chauncey Hui 8b861dec67 SWDEV-2 - Change OpenCL version number from 3102 to 3103
[ROCm/clr commit: cc9f32ed27]
2020-03-04 03:00:02 -05:00
Jason Tang 841416fa38 Seperate PAL and ROCm
Change-Id: I7d0fbbab88c0541f17274da6e8850f2c6783dcd1


[ROCm/clr commit: f51ff32113]
2020-03-03 16:06:51 -05:00
Vladislav Sytchenko c64226cefe SWDEV-224335
cl_bool needed to be replaced with uint32_t instead of bool. This is due to cl_bool being a typedef of cl_uint32.

Currently clGetDeviceInfo() reports incorrect size for the return value, due to cl_bool being 4 bytes and c++ bool being 1 byte.

Change-Id: I647a4b8873627059865c84c8ca27694dbc0916de


[ROCm/clr commit: 243a3c2aa4]
2020-03-03 11:50:37 -05:00
Chauncey Hui 66de868289 SWDEV-2 - Change OpenCL version number from 3101 to 3102
[ROCm/clr commit: 8038b8262c]
2020-03-03 03:00:03 -05:00
German Andryeyev d4e8dd876b SWDEV-79445
Add MS HWS support. PAL reports just one compute engine
in that mode and runtime needs extra logic to detect RT queues.

Change-Id: I011f1f1b18dec6a7195a4f1fe939f8029bc269ae


[ROCm/clr commit: 622c714165]
2020-02-28 19:05:17 -05:00
Chauncey Hui a753002d41 SWDEV-2 - Change OpenCL version number from 3100 to 3101
[ROCm/clr commit: 3bfaa242c8]
2020-02-26 03:00:03 -05:00
Vladislav Sytchenko 2b134b6f30 Remove OpenCL Single Buffer Allocation Restriction
Change-Id: I5c37a7f08b02ed74ec6984c6da9ffa5dc9bf0f52


[ROCm/clr commit: 019d1feea5]
2020-02-25 11:41:18 -05:00
Payam e3786cc01c removed AMD referenced internal url
http://172.24.5.22:8888/palamida/InventoryDetails.htm?inventoryId=80447&projectId=1704

Change-Id: I917942cfddd165018904afda7a1ab76cdbc91595


[ROCm/clr commit: 0eea98b755]
2020-02-25 11:08:19 -05:00
Chauncey Hui 9365fb9a42 SWDEV-2 - Change OpenCL version number from 3099 to 3100
[ROCm/clr commit: beda512630]
2020-02-25 03:00:02 -05:00
Payam d7bf674128 clean up
Change-Id: Ic0201ffd1231f05d265165c62b475f768756991c


[ROCm/clr commit: 19791a242b]
2020-02-25 02:13:12 -05:00
jujiang 375649abc5 SWDEV-196333-hipCopyhammer_H2D&hipCopyHammer_D2H tests fix return false case
Change-Id: I919e098f8b1b8c41b200bd32dcf108977c472b43


[ROCm/clr commit: 518a75ca66]
2020-02-24 15:08:21 -05:00
German Andryeyev e132f2c4c1 SWDEV-221395 - [OpenCL] Failure to Create RTQ2
Don't add real time queues into the pool of generic queues.

Change-Id: I7f6865df740b8a2fbbec5e897a988a2151ef5a9e


[ROCm/clr commit: 0fb8e378b1]
2020-02-21 16:50:10 -05:00
German Andryeyev ebc40e115c SWDEV-193956 - [hipclang-vdi-rocm][perf]
Retain command before a wait.

Change-Id: I0ab8f1352af32c96567dad9e31b3687bdf407bf6


[ROCm/clr commit: 77ff161324]
2020-02-21 16:43:21 -05:00
Chauncey Hui d205c0bc8c SWDEV-2 - Change OpenCL version number from 3087 to 3099
[ROCm/clr commit: ec84e8d6e2]
2020-02-21 15:31:26 -05:00
German Andryeyev 039621e7b9 SWDEV-193956 - [hipclang-vdi-rocm][perf]
~45% to 50% of Performance drop on rocBLAS_int8 test

Use the last command in the queue for a wait.
Add extra print information about processed commands.
Add an option to disable file location printing.

Change-Id: I4187883e1a90e571fde3128af98368108fda8785


[ROCm/clr commit: a66d09f5a3]
2020-02-21 15:21:15 -05:00
Chauncey Hui 59b93e4c55 SWDEV-2 - Change OpenCL version number from 3086 to 3087
Change-Id: Iee9ff16e0e41e2468c32a6af82dc65a63714a679


[ROCm/clr commit: fea14a7201]
2020-02-21 14:11:33 -05:00
Vladislav Sytchenko e716e4bc02 Correct pitch alignment calculation
When we're aligning rowPitch to imagePitchAlignment, rowPitch is in pixels,
but imagePitchAlignment_ is bytes, so we end up overaligning the pitch.

Convert imagePitchAlignment_ to pixels before doing any logic.

Change-Id: Ia5ab9d54bed150fe974e86b060dbadc196165b29


[ROCm/clr commit: 696d00e71b]
2020-02-20 18:00:27 -05:00
Vladislav Sytchenko 93d797f9a0 Enable SVM atomics for HIP/Win
hip_threadfence_system passes locally with this change. This also fixes
hipHostMalloc() failures when hipHostMallocMapped flag is used.

Change-Id: Id412efe502accc7c6e7676b52c05ccb9d8fbbe67


[ROCm/clr commit: 5de65ba4a0]
2020-02-19 23:22:37 -05:00
Jason Tang 3944391ddc SWDEV-207312 - Comment out incorrect cl-gl inter-op code to facilitate Linux-Pro testing
Change-Id: I273476465332ffcda50a6095f839e1bc07863c8e


[ROCm/clr commit: 290b42625a]
2020-02-19 17:56:45 -05:00
Payam 2a415540c5 updated install to include header files from include dir and elf dir
Change-Id: Ie7a8de6e5788de082703d806d0e5248bee9d1394


[ROCm/clr commit: e019d12f81]
2020-02-19 16:42:12 -05:00
German Andryeyev 626cca3213 SWDEV-79445 OCL generic changes and code clean-up
Remove a workaround to CS_PARTIAL_FLUSH added in CL#1495187,
since PAL is no longer uses CS_PARTIAL_FLUSH.

Change-Id: I03edc7595459e19aad33b2b0901f0ebe4754d310


[ROCm/clr commit: 1d25343af8]
2020-02-18 18:00:12 -05:00
German Andryeyev d8cd26eb1b SWDEV-193956
[hipclang-vdi-rocm][perf]~45% to 50% of Performance drop on
rocBLAS_int8 test

- Enable AMD_OPT_FLUSH optimization by default to match HCC
- Disable CPU writes to GPU memory on boards with large bar,
because it requires HDP flush tracking.
- Enable L2 cache on kernel arguments, because L2 will be
invalidated on memory reuse .

Change-Id: I124cf250bdd4d19c523ce542c163813828f8fbdc


[ROCm/clr commit: 374f612b7c]
2020-02-18 14:26:00 -05:00
Vladislav Sytchenko 37b7dda7bc Add .gitignore file.
Change-Id: Ia072769a04a6c2ed11eb245efc00dd9d555c4d93


[ROCm/clr commit: afa685234c]
2020-02-18 11:09:50 -05:00
German Andryeyev 801fe99636 SWDEV-222307 - Add CMake support for PAL
Remove dependency on COMGR headers from backends.
Remove GFX103 PAL defines.

Change-Id: I6ff76dca2a0c84bc191e8fc8b639f2f5872d2085


[ROCm/clr commit: 1be1e69f2a]
2020-02-18 10:56:31 -05:00
Saleel Kudchadker ae58f45215 Increase the amount of free mem withheld
Change-Id: I37ec2250885758f122db6eac0e897dc16d02558d


[ROCm/clr commit: a788f0bc15]
2020-02-15 16:14:16 -08:00
Saleel Kudchadker 0ddfa04517 Implement HIP_HIDDEN_FREE_MEM env var
Set value to 256Mb to reflect what HIP/HCC reserves
Change-Id: Icaadf79f60d3916965ac168da237d15b975b1fe4


[ROCm/clr commit: 0730b39adb]
2020-02-14 12:57:11 -05:00
Christophe Paquot a213e5d155 Append before setting last command to avoid corner case
Change-Id: Iafe5f899427f0119e7f43e96af38e6e3a1dbfc93


[ROCm/clr commit: 566144edb2]
2020-02-13 22:23:20 -05:00
Karthik Jayaprakash 773abcec8b SWDEV-210443 - For Numa nodes pick up the CPU that has Memory pool.
Change-Id: If52852b6f12053e4dfe8a83b8aa5743137c3d6dc


[ROCm/clr commit: 7fb53890b8]
2020-02-13 20:48:37 -05:00
Scott Linder b14a1220c2 Stop using deprecated Comgr option API
Update a use of the deprecated amd_comgr_action_info_set_options to
instead use amd_comgr_action_info_set_option_list.

Completely remove all references to amd_comgr_action_info_set_options
and amd_comgr_action_info_get_options from the runtime.

Change-Id: I12a0803c87430722364ec22818e249caf3798c88


[ROCm/clr commit: da2e4d449c]
2020-02-13 18:53:48 -05:00
Laurent Morichetti 7de346234a Fix build errors for PAL and GSL
The last commit to replace the cl_* types with standard types
failed to correct issues introduced in the PAL and GPU backend.

Change-Id: I926997234dfbe346fc165a7bc4e1b8aabab7bac5


[ROCm/clr commit: b81816f482]
2020-02-13 16:52:32 -05:00
Saleel Kudchadker c01c70635c HIP version can be set in HIPRTC top layer
Indicate that its HIP_VDI to the compiler.
Change-Id: I691ddaa764b3ad62398003856c2480b2eece1f46


[ROCm/clr commit: a965c1eb0e]
2020-02-12 23:19:44 -08:00
Laurent Morichetti b3297f189d Replace cl_* integral types with standard types.
cl_bool -> bool
cl_int -> int32_t
cl_uint -> uint32_t
cl_long -> int64_t
cl_ulong -> uint64_t
cl_float -> float
cl_double -> double
cl_bitfield -> uint64_t

Change-Id: I840c8993b55f98f5b745d21e27f5f28233647a58


[ROCm/clr commit: d9d9c69399]
2020-02-12 13:16:06 -08:00
German Andryeyev aaf154b30b Add CMake support for PAL backend
Change-Id: Id0673d43217be305aa4ca7a612c416baee3fb23c


[ROCm/clr commit: da5f4c554e]
2020-02-10 11:18:24 -05:00
Payam 8fc3d5f691 updated find_path for opencl so it doesn't break cmake if opencl dir is passed
and opencl path is not found

Change-Id: I288dccef8d871bdf4e3e146de9337c1938c231ac


[ROCm/clr commit: 853b2e38a4]
2020-02-07 02:45:46 -05:00
Laurent Morichetti e284923583 Update copyright info
Change-Id: Ia4f9ff0f5f873b4223a8cca154188bb0d2f1abba


[ROCm/clr commit: b4c6143a2f]
2020-02-04 09:26:14 -08:00
Laurent Morichetti 011f3e945b Merge branch 'origin/pghafari/vdi-prototype' into lmoriche/amd-master
Change-Id: Id3b833d405596735becb3346f3b08c6da57033fe


[ROCm/clr commit: 20c7173849]
2020-01-30 20:12:13 -08:00
foreman ecb6dc185d P4 to Git Change 2062441 by chui@ocl-promo-incrementor on 2020/01/24 03:00:22
SWDEV-2 - Change OpenCL version number from 3085 to 3086.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2833 edit


[ROCm/clr commit: 914c2eb8b6]
2020-01-24 03:09:41 -05:00
foreman 0b0055161a P4 to Git Change 2062152 by gandryey@gera-win10 on 2020/01/23 13:48:08
SWDEV-197836 - Drop the use of llvm header files in opencl runtime
	- COv2 doesn't report HostCall argument properly. Make a workaround for it.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#34 edit


[ROCm/clr commit: 6ace9abcd6]
2020-01-23 13:55:16 -05:00
foreman 82350ad966 P4 to Git Change 2061934 by chui@ocl-promo-incrementor on 2020/01/23 03:00:21
SWDEV-2 - Change OpenCL version number from 3084 to 3085.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2832 edit


[ROCm/clr commit: 0edb23bf71]
2020-01-23 03:10:00 -05:00
foreman ce12fa26b8 P4 to Git Change 2061572 by kjayapra@2_HIPWS_P2P_ROCM2 on 2020/01/22 12:08:52
SWDEV-145570 - MI200 Support changes

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#29 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#151 edit


[ROCm/clr commit: 836301fd4a]
2020-01-22 12:13:41 -05:00
foreman e2f091a506 P4 to Git Change 2061411 by chui@ocl-promo-incrementor on 2020/01/22 03:00:20
SWDEV-2 - Change OpenCL version number from 3083 to 3084.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2831 edit


[ROCm/clr commit: 7bbcdc4186]
2020-01-22 03:08:48 -05:00