Commit Graph

54851 Commits

Author SHA1 Message Date
Alex Voicu 15c5d18ea9 Merge remote-tracking branch 'origin/master' into feature_use_module_based_dispatch_instead_of_pfe
[ROCm/clr commit: 394886903c]
2017-11-03 10:57:12 +00:00
Alex Voicu 394886903c Merge remote-tracking branch 'origin/master' into feature_use_module_based_dispatch_instead_of_pfe 2017-11-03 10:57:12 +00:00
Alex Voicu 2932706d47 Merge remote-tracking branch 'origin/master' into feature_use_module_based_dispatch_instead_of_pfe 2017-11-03 10:57:12 +00:00
Alex Voicu 21d1d3f1ed Merge remote-tracking branch 'origin/master' into feature_use_module_based_dispatch_instead_of_pfe
# Conflicts:
#	src/hip_module.cpp


[ROCm/clr commit: 17753cbd92]
2017-11-03 10:53:39 +00:00
Alex Voicu 17753cbd92 Merge remote-tracking branch 'origin/master' into feature_use_module_based_dispatch_instead_of_pfe
# Conflicts:
#	src/hip_module.cpp
2017-11-03 10:53:39 +00:00
Alex Voicu bb1176001f Merge remote-tracking branch 'origin/master' into feature_use_module_based_dispatch_instead_of_pfe
# Conflicts:
#	src/hip_module.cpp
2017-11-03 10:53:39 +00:00
Phaneendr-kumar Lanka 6034d9fcc1 [newTests]modified the test
[ROCm/clr commit: fa32a1924a]
2017-11-03 14:52:19 +05:30
Phaneendr-kumar Lanka fa32a1924a [newTests]modified the test 2017-11-03 14:52:19 +05:30
Phaneendr-kumar Lanka 0599d13b0d [newTests]modified the test 2017-11-03 14:52:19 +05:30
Jenkins b31dbfdcd1 Merge 'master' into 'amd-master'
Change-Id: I68790ca9ba95bd0cbecfa65d9c8c6ac0a06398a9


[ROCm/clr commit: 00824f383f]
2017-11-03 04:10:47 -05:00
Jenkins 00824f383f Merge 'master' into 'amd-master'
Change-Id: I68790ca9ba95bd0cbecfa65d9c8c6ac0a06398a9
2017-11-03 04:10:47 -05:00
Jenkins d76e4192e0 Merge 'master' into 'amd-master'
Change-Id: I68790ca9ba95bd0cbecfa65d9c8c6ac0a06398a9
2017-11-03 04:10:47 -05:00
foreman ec2ae22bcf P4 to Git Change 1478392 by johtaylo@johtaylo-jtincrementor2-increment on 2017/11/03 03:00:05
SWDEV-2 - Change OpenCL version number from 2533 to 2534.

Affected files ...

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


[ROCm/clr commit: 032d303657]
2017-11-03 03:05:28 -04:00
foreman 032d303657 P4 to Git Change 1478392 by johtaylo@johtaylo-jtincrementor2-increment on 2017/11/03 03:00:05
SWDEV-2 - Change OpenCL version number from 2533 to 2534.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2281 edit
2017-11-03 03:05:28 -04:00
Phaneendr-kumar Lanka 35b9e10294 [newTests]Modified the test as per review comments
[ROCm/clr commit: 19946ca43d]
2017-11-03 10:39:47 +05:30
Phaneendr-kumar Lanka 19946ca43d [newTests]Modified the test as per review comments 2017-11-03 10:39:47 +05:30
Phaneendr-kumar Lanka a764a0980d [newTests]Modified the test as per review comments 2017-11-03 10:39:47 +05:30
Maneesh Gupta eb4a2f36d7 Merge pull request #248 from mangupta/SWDEV-134531
Remove libsupc++ dependency from HIP

[ROCm/clr commit: afd3a6786d]
2017-11-03 08:01:59 +05:30
Maneesh Gupta afd3a6786d Merge pull request #248 from mangupta/SWDEV-134531
Remove libsupc++ dependency from HIP
2017-11-03 08:01:59 +05:30
Maneesh Gupta d90d431490 Merge pull request #248 from mangupta/SWDEV-134531
Remove libsupc++ dependency from HIP
2017-11-03 08:01:59 +05:30
Alex Voicu e35ce82eff This introduces correct support for agent global variables, and implements hipModuleGetGlobal as an actual equivalent for cuModuleGetGlobal.
[ROCm/clr commit: d12cf0da7d]
2017-11-03 01:44:48 +00:00
Alex Voicu d12cf0da7d This introduces correct support for agent global variables, and implements hipModuleGetGlobal as an actual equivalent for cuModuleGetGlobal. 2017-11-03 01:44:48 +00:00
Alex Voicu 328c18b886 This introduces correct support for agent global variables, and implements hipModuleGetGlobal as an actual equivalent for cuModuleGetGlobal. 2017-11-03 01:44:48 +00:00
Amber Lin 310e3d7b8b Use absolute path on cmake parameter
Update build instructions in README.md to use absolute path on cmake
parameter, CMAKE_MODULE_PATH. Relative path causes build error. Tested
on cmake 3.5.1 ans cmake 3.5.2.

Change-Id: I1b8e8deb9f4941580580be8087a94655ae155d02
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
2017-11-02 17:34:46 -04:00
Amber Lin 6ba2a9b764 Use absolute path on cmake parameter
Update build instructions in README.md to use absolute path on cmake
parameter, CMAKE_MODULE_PATH. Relative path causes build error. Tested
on cmake 3.5.1 ans cmake 3.5.2.

Change-Id: I1b8e8deb9f4941580580be8087a94655ae155d02
Signed-off-by: Amber Lin <Amber.Lin@amd.com>


[ROCm/ROCR-Runtime commit: 310e3d7b8b]
2017-11-02 17:34:46 -04:00
foreman a4a8a082a3 P4 to Git Change 1478111 by yaxunl@yaxunl_stg_win50 on 2017/11/02 14:37:52
SWDEV-120711 - Synch CMake change about switching to new addr space mapping.

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#19 edit


[ROCm/clr commit: 38c33f99dc]
2017-11-02 14:42:08 -04:00
foreman 38c33f99dc P4 to Git Change 1478111 by yaxunl@yaxunl_stg_win50 on 2017/11/02 14:37:52
SWDEV-120711 - Synch CMake change about switching to new addr space mapping.

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#19 edit
2017-11-02 14:42:08 -04:00
foreman ca0709dd29 P4 to Git Change 1478111 by yaxunl@yaxunl_stg_win50 on 2017/11/02 14:37:52
SWDEV-120711 - Synch CMake change about switching to new addr space mapping.

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#19 edit


[ROCm/clr commit: 23f5df6686]
2017-11-02 14:42:08 -04:00
foreman 23f5df6686 P4 to Git Change 1478111 by yaxunl@yaxunl_stg_win50 on 2017/11/02 14:37:52
SWDEV-120711 - Synch CMake change about switching to new addr space mapping.

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#19 edit
2017-11-02 14:42:08 -04:00
foreman a0fe4a30df P4 to Git Change 1478018 by gandryey@gera-w8 on 2017/11/02 12:11:10
SWDEV-136068 - PAL support for Linux Pro: SSG support on OpenCL 1.2
	- Enable DGMA memory allocation for persistent memory under Linux, since it's SSG requirement

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#39 edit


[ROCm/clr commit: 80e105db0b]
2017-11-02 12:18:55 -04:00
foreman 80e105db0b P4 to Git Change 1478018 by gandryey@gera-w8 on 2017/11/02 12:11:10
SWDEV-136068 - PAL support for Linux Pro: SSG support on OpenCL 1.2
	- Enable DGMA memory allocation for persistent memory under Linux, since it's SSG requirement

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#39 edit
2017-11-02 12:18:55 -04:00
foreman 537ed379a2 P4 to Git Change 1477977 by gandryey@gera-w8 on 2017/11/02 11:10:40
SWDEV-136068 - PAL support for Linux Pro: SSG support on OpenCL 1.2
	- Enable LF library build under PAL Linux

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/Makefile#13 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#166 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.cpp#22 edit


[ROCm/clr commit: 2f44427ad1]
2017-11-02 11:19:15 -04:00
foreman 2f44427ad1 P4 to Git Change 1477977 by gandryey@gera-w8 on 2017/11/02 11:10:40
SWDEV-136068 - PAL support for Linux Pro: SSG support on OpenCL 1.2
	- Enable LF library build under PAL Linux

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/Makefile#13 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#166 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.cpp#22 edit
2017-11-02 11:19:15 -04:00
Oak Zeng 68a2d286ca Use drm render device to map kfd BOs
Previously kfd device is used to map memory for CPU access.
However this is not compatible with how TTM handles CPU mapping
on eviction - memory won't be unmapped and remapped on restore.
This fixes the issue by mmapping memory using DRM render device.

This patch requires a coordinated kernel driver change to work.
To make it compatible with old kernel driver, some temporary codes
are included. Once the coordinated kernel driver is checked in,
the temporary codes can be removed.



Change-Id: Ie7b304c4a82b7e8d5ab703acb81d66430af4f0bc
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
2017-11-02 09:06:26 -04:00
Oak Zeng e305dc9c82 Use drm render device to map kfd BOs
Previously kfd device is used to map memory for CPU access.
However this is not compatible with how TTM handles CPU mapping
on eviction - memory won't be unmapped and remapped on restore.
This fixes the issue by mmapping memory using DRM render device.

This patch requires a coordinated kernel driver change to work.
To make it compatible with old kernel driver, some temporary codes
are included. Once the coordinated kernel driver is checked in,
the temporary codes can be removed.



Change-Id: Ie7b304c4a82b7e8d5ab703acb81d66430af4f0bc
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>


[ROCm/ROCR-Runtime commit: 68a2d286ca]
2017-11-02 09:06:26 -04:00
Ben Sander 423ce5ba7a Merge pull request #247 from AlexVlx/feature_cleanup_tests
Test cleanup

[ROCm/clr commit: 3c024a9cc7]
2017-11-02 11:31:10 +01:00
Ben Sander 3c024a9cc7 Merge pull request #247 from AlexVlx/feature_cleanup_tests
Test cleanup
2017-11-02 11:31:10 +01:00
Ben Sander 67dd5303ad Merge pull request #247 from AlexVlx/feature_cleanup_tests
Test cleanup
2017-11-02 11:31:10 +01:00
Jenkins d2019c7208 Merge 'master' into 'amd-master'
Change-Id: Id908670145a36a8198ddda03893d72e65d303767


[ROCm/clr commit: 28fe0ce82f]
2017-11-02 04:11:06 -05:00
Jenkins 28fe0ce82f Merge 'master' into 'amd-master'
Change-Id: Id908670145a36a8198ddda03893d72e65d303767
2017-11-02 04:11:06 -05:00
Jenkins dcc153109b Merge 'master' into 'amd-master'
Change-Id: Id908670145a36a8198ddda03893d72e65d303767
2017-11-02 04:11:06 -05:00
foreman 2124e9430c P4 to Git Change 1477762 by johtaylo@johtaylo-jtincrementor2-increment on 2017/11/02 03:00:04
SWDEV-2 - Change OpenCL version number from 2532 to 2533.

Affected files ...

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


[ROCm/clr commit: 0c391434f5]
2017-11-02 03:09:14 -04:00
foreman 0c391434f5 P4 to Git Change 1477762 by johtaylo@johtaylo-jtincrementor2-increment on 2017/11/02 03:00:04
SWDEV-2 - Change OpenCL version number from 2532 to 2533.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2280 edit
2017-11-02 03:09:14 -04:00
Maneesh Gupta f579dd3c7d Remove libsupc++ dependency from HIP
Change-Id: Ib843f99dfb3057b7c28029250c2449732ea7f17f


[ROCm/clr commit: 473208368e]
2017-11-02 12:29:09 +05:30
Maneesh Gupta 473208368e Remove libsupc++ dependency from HIP
Change-Id: Ib843f99dfb3057b7c28029250c2449732ea7f17f
2017-11-02 12:29:09 +05:30
Maneesh Gupta f34f5c8684 Remove libsupc++ dependency from HIP
Change-Id: Ib843f99dfb3057b7c28029250c2449732ea7f17f
2017-11-02 12:29:09 +05:30
foreman 2cde3eaeb0 P4 to Git Change 1477714 by kzhuravl@kzhuravl-fiji-ocllc on 2017/11/02 00:03:53
SWDEV-102733 - More cmake and other updates to fix open source build

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/amdocl.map#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#10 edit


[ROCm/clr commit: 10bed67bd8]
2017-11-02 00:09:45 -04:00
foreman 10bed67bd8 P4 to Git Change 1477714 by kzhuravl@kzhuravl-fiji-ocllc on 2017/11/02 00:03:53
SWDEV-102733 - More cmake and other updates to fix open source build

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/amdocl.map#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#10 edit
2017-11-02 00:09:45 -04:00
foreman 2f78f7fa00 P4 to Git Change 1477714 by kzhuravl@kzhuravl-fiji-ocllc on 2017/11/02 00:03:53
SWDEV-102733 - More cmake and other updates to fix open source build

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/amdocl.map#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#10 edit


[ROCm/clr commit: 06f3d6cad5]
2017-11-02 00:09:45 -04:00
foreman 06f3d6cad5 P4 to Git Change 1477714 by kzhuravl@kzhuravl-fiji-ocllc on 2017/11/02 00:03:53
SWDEV-102733 - More cmake and other updates to fix open source build

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/amdocl.map#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#10 edit
2017-11-02 00:09:45 -04:00