Vladislav Sytchenko
d53c19cfa5
SWDEV-273235 - Cleanup OpenCL installation logic
...
Don't use hardcoded install destinations. CMake will decide where things
should be installed based on platform.
Change-Id: Ifcf956181d3efb32d4ce6191a89c1ea225d0e8cc
2021-06-01 14:31:14 -04:00
Vladislav Sytchenko
ae36b6c0aa
SWDEV-273235 - Fix warning in the cmake build
...
Change-Id: I9840da22fcce11712c32e68f07ad886d08c8b16f
2021-05-27 18:09:26 -04:00
Vladislav Sytchenko
1c16690617
SWDEV-273235 - Initial support for Windows CMake
...
This change is tied to the ROCclr cmake rework. ROCclr will now be built
as part of OpenCL itself.
All the dependencies on comgr and rocr have been moved into ROCclr
itself. This allows OpenCL to pull in all the required compiler/runtime
dependencies by simply linking against ROCclr. Note that ROCclr needs to
be configured from OpenCL cmake command line. If not, we will default to
LC + ROCr support.
Change-Id: I5271302d073aef8cfa617828d218c856711bf9ba
2021-05-27 13:08:12 -04:00
Payam Ghafari
0762c948b6
Revert "SWDEV-197835 - adding Khronos OpenCL ICD build"
...
This reverts commit 932c83fe8f .
Reason for revert: need to update other projects (linuxpro & marnier)
Change-Id: Ib02194d052170e487cd56480eb0d9226895aa580
2021-05-18 10:31:25 -04:00
Payam
932c83fe8f
SWDEV-197835 - adding Khronos OpenCL ICD build
...
Change-Id: Id7d9cd6076c6f1670eedbea06a6976c05e391520
2021-05-17 18:19:30 -04:00
Jason Tang
b423c699a6
SWDEV-277566 - Use amd::Program::load interface
...
Change-Id: I0c19d4efcc09709b8aced6fa63e6deae39f58abb
2021-05-10 16:46:03 -04:00
Vladislav Sytchenko
8af3f12790
SWDEV-273235 - Allow explicitly disabling LF support
...
Currently LiquidFlash cannot be supported from Github Enterprise,
hence we need to be able to build with out it.
Allow this by setting -DWITH_LIQUID_FLASH=0.
Change-Id: I8f147b5d52ca1c8203000beea8f16b2699548dc3
2021-05-05 12:43:59 -04:00
Vladislav Sytchenko
4127be5c63
SWDEV-273235 - Remove implicit dependancy on WGL
...
Change-Id: I8355587be50492767caa3d2a4e602bdd6eb73960
2021-05-05 12:42:35 -04:00
Vladislav Sytchenko
5958b3bba5
SWDEV-273235 - Minor build fixes for Windows CMake
...
runtime directory only exists in P4. We should not be referencing it.
Change-Id: I1d88f32fccc716468c070235c4797bd905a76866
2021-05-05 12:40:26 -04:00
German Andryeyev
c9feefc584
SWDEV-86035 - Disable liquidflash for PAL build under Linux
...
Change-Id: I19d335654f98277be0e9af8a25e38d86a6b8de2e
2021-04-21 17:03:10 -04:00
pghafari
74de707cf2
SWDEV-245532 - HIP - Vulkan interop, syntax update
...
Change-Id: I5fd4431bab4d975efec47298f2746fbcbbec8a44
2021-03-25 13:40:55 -04:00
Payam Ghafari
a4ec8608e8
Merge "SWDEV-245532 - HIP - Vulkan interop" into amd-staging
2021-03-23 23:36:59 -04:00
German Andryeyev
f4cc6cf84f
Merge "SWDEV-276625 - Add implicit glFinish() for cl_khr_gl_event" into amd-staging
2021-03-23 14:32:21 -04:00
German Andryeyev
c4cde09339
SWDEV-276625 - Add implicit glFinish() for cl_khr_gl_event
...
Modifies the behavior of clEnqueueAcquireGLObjects and
clEnqueueReleaseGLObjects to implicitly guarantee synchronization
with an OpenGL context bound in the same thread as
the OpenCL context.
Change-Id: I23eddee37a77f6c1c9d1a9ad3a3e1eb254a1ed82
2021-03-22 16:49:03 -04:00
pghafari
67e9aac689
SWDEV-245532 - HIP - Vulkan interop
...
Change-Id: Ied16503cc154fbda8ce28db25df746cccb19e0ba
2021-03-22 15:06:50 -04:00
Jason Tang
2727d7047a
SWDEV-277771 - Build opencl with c++ standard 14
...
Change-Id: I11c72b230320761f775e23816634b55ceaccb65e
2021-03-22 11:30:29 -04:00
German Andryeyev
89791c14f9
SWDEV-276569 - Add P010 support for DX9
...
Change-Id: I652debccc0fabad89eff3052b884a59d44ee8233
2021-03-15 14:45:26 -04:00
German Andryeyev
89e15747ae
Merge "SWDEV-276631 - return error codes for clCreateEventFromGLsyncKHR()" into amd-staging
2021-03-15 09:46:36 -04:00
German Andryeyev
9aebe61637
SWDEV-276631 - return error codes for clCreateEventFromGLsyncKHR()
...
Change-Id: I9b93f5bde157d0f746a9d662ef35fbbb20cce6e6
2021-03-12 14:34:59 -05:00
Vladislav Sytchenko
294318c8c6
SWDEV-240001 - Revert "Disable oclruntime OCLPerfCounters test"
...
This reverts commit ce2c28c745 .
Change-Id: Ib2ea933c456d76e4e7b20e759d43dd74064267ba
2021-03-09 10:55:56 -05:00
Vladislav Sytchenko
b620121390
SWDEV-240001 - OCLPerfCounters target ID changes
...
We don't care about target ID features in this test, so we can simply
strip them away to maintain compatability with the internal test table.
Change-Id: I44591a052c02f9e01876a8946f99cfedee371233
2021-03-09 10:55:39 -05:00
Jason Tang
4ea3e44ac8
SWDEV-275828 - Fix api negative_get_platform_info test
...
Change-Id: Iffbcd4fe3b3b59a072e3374c0af3409338eeeca2
2021-03-05 11:34:38 -05:00
German Andryeyev
cddfd9e301
SWDEV-274464 - Enable pitch alignment for imagebuffer only
...
Change-Id: Icfe67e689f99f0859c997281abf80ae5254852fb
2021-03-02 15:28:51 -05:00
German Andryeyev
b123dbed2a
SWDEV-274464 - Align image width for pitch calculation
...
Change-Id: I2f817993da06d2e6fe23e8b4b9d0fe10a2e61760
2021-02-27 01:30:52 -05:00
Jason Tang
d21913f140
SWDEV-268345 - Remove ADDRESS_SANITIZER option from cmake
...
DevOps is going to add this through build scripts.
Change-Id: Id48ac9c1729d60f337e4cb7f0203822a05038e5e
2021-02-16 18:31:07 -05:00
German Andryeyev
4dc90dae10
SWDEV-273071 - add mipmaps detection for FillImage
...
If mipmap was detected, then create a view with single mip level
Change-Id: I4519b35bd0365c108c42fdb37bfaad729dbc684e
2021-02-16 16:19:28 -05:00
Julia Jiang
f5e6934216
SWDEV-271131 - update opencl readme
...
Change-Id: I6ffcde28f11f1d73a78b0a837a41992114415f31
2021-02-02 13:22:37 -05:00
Vladislav Sytchenko
70ac5c3bd8
SWDEV-1 - Fix Windows build
...
Change-Id: I3867b4a7175316121246a639fb8d704ad491adb6
2021-01-26 11:01:30 -05:00
Todd tiantuo Li
280b759175
Merge "SWDEV-267762 - add RMB(gfx1035) to deviceQuery" into amd-staging
2021-01-25 19:40:02 -05:00
Vladislav Sytchenko
290a16716d
SWDEV-264411 - Disable OCLDynamicBLines test
...
Change-Id: I067afa99b988e0b32edee7d27c1403d31775655c
2021-01-22 16:55:18 -05:00
Jason Tang
8d75c7e76f
SWDEV-268345 - Enable address sanitizer build when ADDRESS_SANITIZER is ON
...
Change-Id: Iaef46358f33a399f8b047aaebc5154bb7352a69a
2021-01-21 18:31:14 -05:00
Tony Tye
91bb64409b
SWDEV-268864 - Use new isa class to access isa related information
...
Change-Id: I866eeef06f86df77c651a25fdf7bceed2c28af52
2021-01-18 22:33:25 +00:00
Todd tiantuo Li
e1c4b22a32
SWDEV-267762 - add RMB(gfx1035) to deviceQuery
...
Change-Id: I5388d9083a1b45751f024474ec4e0ae38e1e9107
2021-01-12 09:13:40 -08:00
Vladislav Sytchenko
ed812e304a
Disable oclruntime.OCLDynamic test
...
This test is causing a PSDB timeout. Not all systems can support
device enqueue on rocm.
Change-Id: I55a209877288e6cc96b2426bf960fa9a431ac7c3
2020-12-14 12:30:10 -05:00
Cole Nelson
c775ab32ef
Merge "packaging: conformant package names" into amd-master-next
2020-11-20 12:50:42 -05:00
Cole Nelson
2174367fb4
packaging: conformant package names
...
This patchset addresses package name requirements:
http://confluence.amd.com/pages/viewpage.action?pageId=234791224
Email contact corrected: SWDEV-258090
Names as tested (internal example):
rocm-opencl-dev_2.0.0.40000-cpnn.14322_amd64.deb
(release examples):
rocm-opencl-2.0.0.40000-sles152.3022.x86_64.rpm
rocm-opencl-devel-2.0.0.40000-3022.el8.x86_64.rpm
Change-Id: Icb202085ae4065ba264d02d34cadbf1a0f393f9a
Signed-off-by: Cole Nelson <cole.nelson@amd.com >
2020-11-20 07:17:35 -08:00
Jason Tang
ee2e91912b
SWDEV-256292 - Fix build failure when using lightning to build
...
clang complains there are multiple definitions of ret_val
Change-Id: I949af23e0658b28b339b378c9c0e4681d83d5f5a
2020-11-09 11:39:03 -05:00
Alex Xie
ebd1a4a150
SWDEV-254386 [Navi 2x] Add Navi IDs to ocltst test
...
Cherry pick from npi branch.
Change-Id: I4e72c5477d7e0ebb454d651d1f84866ce4d27ee5
2020-10-27 16:00:45 -04:00
Reshabh Sharma
255c168ad7
SWDEV-253557 Strip debug symbols for release builds
...
Change-Id: I4f75a0c08020ecd76e1eec159f266cd1f754af92
2020-10-16 16:10:51 +05:30
Reshabh kumar Sharma
3997b03026
Revert "SWDEV-253557 Strip debug symbols for release builds"
...
This reverts commit 4c15a8f190 .
Reason for revert: Breaks mainline build
Change-Id: Ia1fc5e5723ec688d47544cc26127b680fad59b58
2020-10-16 04:03:07 -04:00
Reshabh Sharma
4c15a8f190
SWDEV-253557 Strip debug symbols for release builds
...
Change-Id: I50032cb6aae7b1ed1a95c8e84fa8ce5cce476570
2020-10-15 23:41:27 -04:00
Jason Tang
bad12583b0
SWDEV-255321 - Support target names from Target ID feature
...
Change-Id: I45e5314dff2ee65dd402c38744279bf67501304d
2020-10-06 09:00:54 -04:00
Vladislav Sytchenko
bd4c6ce6dc
Don't use CMAKE_SOURCE_DIR
...
Change-Id: I373e218850e72ca8fe7f76a7af3e559c485c569b
2020-09-23 13:04:05 -04:00
Vladislav Sytchenko
c70ff63d87
Correctly append CMAKE_SHARED_LINKER_FLAGS
...
Change-Id: Id207f7b7eea7420657162ed666fb4240e3b6e9a1
2020-09-23 13:04:02 -04:00
Jason Tang
ac956ac8cb
SWDEV-251394 - Support CL_DEVICE_IL_VERSION
...
Change-Id: If8459d6822d26107914f81d219e94165facd0827
2020-09-10 18:09:15 -04:00
Jason Tang
7ec780519a
Add support for CL_PROFILING_COMMAND_COMPLETE
...
Change-Id: I2acabab8975f7c8619c180795000cb47d4f532ca
2020-09-07 11:15:31 -04:00
Jason Tang
6c13a34a04
Remove refering to gfxipVersion_
...
Change-Id: I06e3fe5c10ddf50674c69d7de68f208bbfb83f2f
2020-08-24 14:38:16 -04:00
Julia jiang
ed1fcc7c63
SWDEV-247185-update OpenCL build instructions in Readme
...
Change-Id: Id2835bfcbc3d19315c688a8160eedf367056ba5f
2020-08-06 12:10:36 -04:00
Freddy Paul
00223c5697
Enable STATIC LINKING of COMGR
...
COMGR_DYN_DLL is used by rocclr to load COMGR as dynamic library.
Need to remove this flag while linking COMGR as static lib by
ROCclr.
Default option is set to link COMGR as dynamic library
Change-Id: I5631a8c1d896bd4d7e5ecf5ef5fa4f631cd2244d
2020-07-22 16:07:05 -07:00
Tao Sang
56443c2c3d
Let rocclr decide numa dependence
...
Change-Id: Idaf8ab1d0563ac39c352219a6dacf95745bdc6b0
2020-07-19 23:29:59 -04:00