76333 Коммитов

Автор SHA1 Сообщение Дата
Aditya Atluri 2f426aaaea Added module api test with gcn binary
Change-Id: I61c3ecc2b34168d10f1a7b15d668630eb2c69c8c
2016-08-23 13:50:19 -05:00
Aditya Atluri 6562018204 Added module api test with gcn binary
Change-Id: I61c3ecc2b34168d10f1a7b15d668630eb2c69c8c


[ROCm/hip commit: f9d49c2aed]
2016-08-23 13:50:19 -05:00
Aditya Atluri f9d49c2aed Added module api test with gcn binary
Change-Id: I61c3ecc2b34168d10f1a7b15d668630eb2c69c8c
2016-08-23 13:50:19 -05:00
foreman 45c5ad9a3d P4 to Git Change 1306133 by gandryey@gera-w8 on 2016/08/23 14:00:09
SWDEV-79445 - OCL generic changes and code clean-up
	- Update staging copy path with a flush so CPU copy and SDMA transfer could run asynchronously.
	- Tune chunk size for transfers

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpublit.cpp#121 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#6 edit


[ROCm/clr commit: 862e3a1a79]
2016-08-23 14:12:24 -04:00
foreman 862e3a1a79 P4 to Git Change 1306133 by gandryey@gera-w8 on 2016/08/23 14:00:09
SWDEV-79445 - OCL generic changes and code clean-up
	- Update staging copy path with a flush so CPU copy and SDMA transfer could run asynchronously.
	- Tune chunk size for transfers

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpublit.cpp#121 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#6 edit
2016-08-23 14:12:24 -04:00
foreman 1f2ea69611 P4 to Git Change 1306079 by gandryey@gera-w8 on 2016/08/23 11:52:31
SWDEV-95905 - OpenCL on PAL - Device Enqueue
	- Move disapatch funciton outside of the compiler lib. Client must provide 4 new functions to the scheduler: GetCmdTemplateHeaderSize(), GetCmdTemplateDispatchSize(),EmptyCmdTemplateDispatch(), RunCmdTemplateDispatch().

	http://ocltc.amd.com/reviews/r/11142/

Affected files ...

... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/src/devenq/schedule.cl#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuschedcl.cpp#34 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palschedcl.cpp#2 edit


[ROCm/clr commit: 53a0c0add6]
2016-08-23 12:05:38 -04:00
foreman 53a0c0add6 P4 to Git Change 1306079 by gandryey@gera-w8 on 2016/08/23 11:52:31
SWDEV-95905 - OpenCL on PAL - Device Enqueue
	- Move disapatch funciton outside of the compiler lib. Client must provide 4 new functions to the scheduler: GetCmdTemplateHeaderSize(), GetCmdTemplateDispatchSize(),EmptyCmdTemplateDispatch(), RunCmdTemplateDispatch().

	http://ocltc.amd.com/reviews/r/11142/

Affected files ...

... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/src/devenq/schedule.cl#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuschedcl.cpp#34 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palschedcl.cpp#2 edit
2016-08-23 12:05:38 -04:00
Lan Xiao 9cbbf30be7 libhsakmt: Add MarketingName and AMDName for all nodes - CPU & GPU
HSA thunk API is currently reporting engineering name to MarketingName
and returning NULL when querying for AMDName.

-Change current name reporting from MarketingName to AMDName.
-Use libpci to get MarketingName



Change-Id: I819a6de7b067a2e724a6695e7d800274b83a71f8
Signed-off-by: Lan Xiao <Lan.Xiao@amd.com>
2016-08-23 10:49:27 -04:00
Lan Xiao 742354161b libhsakmt: Add MarketingName and AMDName for all nodes - CPU & GPU
HSA thunk API is currently reporting engineering name to MarketingName
and returning NULL when querying for AMDName.

-Change current name reporting from MarketingName to AMDName.
-Use libpci to get MarketingName



Change-Id: I819a6de7b067a2e724a6695e7d800274b83a71f8
Signed-off-by: Lan Xiao <Lan.Xiao@amd.com>


[ROCm/ROCR-Runtime commit: 9cbbf30be7]
2016-08-23 10:49:27 -04:00
Sean Keely 54f1311e01 Update clang-format file to clang-format v3.8.
Format HSA v1.1 core updates.

Change-Id: I540b5c0e5b3ec7522b09c2e070167812b3f17769
2016-08-23 05:50:28 -05:00
Sean Keely 7e2179da7b Update clang-format file to clang-format v3.8.
Format HSA v1.1 core updates.

Change-Id: I540b5c0e5b3ec7522b09c2e070167812b3f17769


[ROCm/ROCR-Runtime commit: 54f1311e01]
2016-08-23 05:50:28 -05:00
Kent Russell 70b1b5b17e queues.c: Enforce CUMaskCount being a multiple of 32
The thunk spec requires that CUMaskCount be divisible by 32. Check this
and return INVALID_PARAMETER if it is not.

Change-Id: I4e0c8502d996d3da31224b817a5d4ff2c6054e13
2016-08-23 06:16:39 -04:00
Kent Russell 2d604a8498 queues.c: Enforce CUMaskCount being a multiple of 32
The thunk spec requires that CUMaskCount be divisible by 32. Check this
and return INVALID_PARAMETER if it is not.

Change-Id: I4e0c8502d996d3da31224b817a5d4ff2c6054e13


[ROCm/ROCR-Runtime commit: 70b1b5b17e]
2016-08-23 06:16:39 -04:00
foreman a372c27418 P4 to Git Change 1305891 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/08/23 03:00:09
SWDEV-2 - Change OpenCL version number from 2204 to 2205.

Affected files ...

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


[ROCm/clr commit: ce1ae03c57]
2016-08-23 03:14:15 -04:00
foreman ce1ae03c57 P4 to Git Change 1305891 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/08/23 03:00:09
SWDEV-2 - Change OpenCL version number from 2204 to 2205.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1951 edit
2016-08-23 03:14:15 -04:00
Jay Cornwall 0c9f96cfa4 Propagate errors from hsaKmtOpenKFD back to hsa_init
Errors are otherwise silently ignored and hsa_init completes successfully.

Change-Id: Ib1b7dbd7a65d40f869cdbb2792fa97132873d3d7
2016-08-22 17:28:48 -05:00
Jay Cornwall 53cd59e689 Propagate errors from hsaKmtOpenKFD back to hsa_init
Errors are otherwise silently ignored and hsa_init completes successfully.

Change-Id: Ib1b7dbd7a65d40f869cdbb2792fa97132873d3d7


[ROCm/ROCR-Runtime commit: 0c9f96cfa4]
2016-08-22 17:28:48 -05:00
Ramesh Errabolu 31f64cdaab Fix Image Create Func Decl in Hsa Api Table
Change-Id: I3862b3c78231fe24b6361167a78c6a8c7ad6ce0b
2016-08-22 15:43:48 -04:00
Ramesh Errabolu 99998f1c87 Fix Image Create Func Decl in Hsa Api Table
Change-Id: I3862b3c78231fe24b6361167a78c6a8c7ad6ce0b


[ROCm/ROCR-Runtime commit: 31f64cdaab]
2016-08-22 15:43:48 -04:00
Aditya Atluri 52305186ef Added stream synchronisation for hipLaunchModuleKernel
- The module kernel launch is now in sync with commands in its stream
- Moved launch kernel inside ihipStream

Change-Id: Ic00cfcf4882bf81b6203c36881a52575ea68b529


[ROCm/clr commit: c0fbe7891c]
2016-08-22 14:17:55 -05:00
Aditya Atluri c0fbe7891c Added stream synchronisation for hipLaunchModuleKernel
- The module kernel launch is now in sync with commands in its stream
- Moved launch kernel inside ihipStream

Change-Id: Ic00cfcf4882bf81b6203c36881a52575ea68b529
2016-08-22 14:17:55 -05:00
Aditya Atluri 138b5b83d2 Added stream synchronisation for hipLaunchModuleKernel
- The module kernel launch is now in sync with commands in its stream
- Moved launch kernel inside ihipStream

Change-Id: Ic00cfcf4882bf81b6203c36881a52575ea68b529


[ROCm/hip commit: 8f0f97f8f9]
2016-08-22 14:17:55 -05:00
Aditya Atluri 8f0f97f8f9 Added stream synchronisation for hipLaunchModuleKernel
- The module kernel launch is now in sync with commands in its stream
- Moved launch kernel inside ihipStream

Change-Id: Ic00cfcf4882bf81b6203c36881a52575ea68b529
2016-08-22 14:17:55 -05:00
Konstantin Zhuravlyov c2c993e0d8 Update code object/isa/loader to hsa v1.1
- Includes Sean's latest changes
- Cleanups/improvements
- Fixes for few bugs that crept over from previous releases

Change-Id: I839dc4895bf13ebd0afc8843424387a9fef667b0
2016-08-22 15:03:23 -04:00
Konstantin Zhuravlyov e10cd184ef Update code object/isa/loader to hsa v1.1
- Includes Sean's latest changes
- Cleanups/improvements
- Fixes for few bugs that crept over from previous releases

Change-Id: I839dc4895bf13ebd0afc8843424387a9fef667b0


[ROCm/ROCR-Runtime commit: c2c993e0d8]
2016-08-22 15:03:23 -04:00
Aditya Atluri b9f564ae19 Added nvcc path for hipComplex APIs
- Changed from inline to static inline for hipComplex AMD APIs
- Added NVCC path for hipComplex APIs mapped to cuComplex APIs

Change-Id: I809cf3a11b5b1c8bbc7a57c5fbcc3dc6745ccb95


[ROCm/clr commit: 98c740c51f]
2016-08-22 10:29:46 -05:00
Aditya Atluri 98c740c51f Added nvcc path for hipComplex APIs
- Changed from inline to static inline for hipComplex AMD APIs
- Added NVCC path for hipComplex APIs mapped to cuComplex APIs

Change-Id: I809cf3a11b5b1c8bbc7a57c5fbcc3dc6745ccb95
2016-08-22 10:29:46 -05:00
Aditya Atluri 737fe67a25 Added nvcc path for hipComplex APIs
- Changed from inline to static inline for hipComplex AMD APIs
- Added NVCC path for hipComplex APIs mapped to cuComplex APIs

Change-Id: I809cf3a11b5b1c8bbc7a57c5fbcc3dc6745ccb95


[ROCm/hip commit: 0806958a72]
2016-08-22 10:29:46 -05:00
Aditya Atluri 0806958a72 Added nvcc path for hipComplex APIs
- Changed from inline to static inline for hipComplex AMD APIs
- Added NVCC path for hipComplex APIs mapped to cuComplex APIs

Change-Id: I809cf3a11b5b1c8bbc7a57c5fbcc3dc6745ccb95
2016-08-22 10:29:46 -05:00
Rahul Garg f1f04949ac Added support for hipCtxSynchronize and hipCtxGetFlags,modified hipDeviceSynchronize
Change-Id: If7bac667a262fa8c0cb3dc93e97f2534855acd07


[ROCm/clr commit: b0ba622ed5]
2016-08-22 16:15:27 +05:30
Rahul Garg b0ba622ed5 Added support for hipCtxSynchronize and hipCtxGetFlags,modified hipDeviceSynchronize
Change-Id: If7bac667a262fa8c0cb3dc93e97f2534855acd07
2016-08-22 16:15:27 +05:30
Rahul Garg 5a1cf6ccfd Added support for hipCtxSynchronize and hipCtxGetFlags,modified hipDeviceSynchronize
Change-Id: If7bac667a262fa8c0cb3dc93e97f2534855acd07


[ROCm/hip commit: a498753041]
2016-08-22 16:15:27 +05:30
Rahul Garg a498753041 Added support for hipCtxSynchronize and hipCtxGetFlags,modified hipDeviceSynchronize
Change-Id: If7bac667a262fa8c0cb3dc93e97f2534855acd07
2016-08-22 16:15:27 +05:30
foreman 2164a878b9 P4 to Git Change 1305449 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/08/22 03:00:08
SWDEV-2 - Change OpenCL version number from 2203 to 2204.

Affected files ...

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


[ROCm/clr commit: 8b645f00ac]
2016-08-22 03:11:55 -04:00
foreman 8b645f00ac P4 to Git Change 1305449 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/08/22 03:00:08
SWDEV-2 - Change OpenCL version number from 2203 to 2204.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1950 edit
2016-08-22 03:11:55 -04:00
Rahul Garg ab47c624ec Added initial draft for performance optimizations, started with unpinned memory transfers
Change-Id: Icbce2aec347d015bc66cc0c08f6193057bf36b4c


[ROCm/clr commit: 778bb2e78a]
2016-08-22 11:37:37 +05:30
Rahul Garg 778bb2e78a Added initial draft for performance optimizations, started with unpinned memory transfers
Change-Id: Icbce2aec347d015bc66cc0c08f6193057bf36b4c
2016-08-22 11:37:37 +05:30
Rahul Garg 2192ebda78 Added initial draft for performance optimizations, started with unpinned memory transfers
Change-Id: Icbce2aec347d015bc66cc0c08f6193057bf36b4c


[ROCm/hip commit: 4b5b15a8e5]
2016-08-22 11:37:37 +05:30
Rahul Garg 4b5b15a8e5 Added initial draft for performance optimizations, started with unpinned memory transfers
Change-Id: Icbce2aec347d015bc66cc0c08f6193057bf36b4c
2016-08-22 11:37:37 +05:30
foreman e195bb5eea P4 to Git Change 1305360 by lmoriche@lmoriche_opencl_dev on 2016/08/21 17:34:39
SWDEV-94640 - Set the O# level and cl-std from the command args or default settings.
	Select the correct header (CL1.2/C2.0) from the given cl-std.
	Reorder the linked libraries in reverse order of dependency (was failing linking).
	Make the built-in library objects depend on the pre-compiled header.
	Disable the timestamp on the pre-compiled header.
	Disable image support reporting.

Affected files ...

... //depot/stg/opencl/drivers/opencl/make/amdgcn.git/headers/build/Makefile.headers#7 edit
... //depot/stg/opencl/drivers/opencl/make/amdgcn.git/irif/build/Makefile.irif#4 edit
... //depot/stg/opencl/drivers/opencl/make/amdgcn.git/ockl/build/Makefile.ockl#5 edit
... //depot/stg/opencl/drivers/opencl/make/amdgcn.git/oclc/build/Makefile.oclc#5 edit
... //depot/stg/opencl/drivers/opencl/make/amdgcn.git/ocml/build/Makefile.ocml#5 edit
... //depot/stg/opencl/drivers/opencl/make/amdgcn.git/opencl/build/Makefile.opencl#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#11 edit


[ROCm/clr commit: 9674e8eb01]
2016-08-21 17:46:14 -04:00
foreman 9674e8eb01 P4 to Git Change 1305360 by lmoriche@lmoriche_opencl_dev on 2016/08/21 17:34:39
SWDEV-94640 - Set the O# level and cl-std from the command args or default settings.
	Select the correct header (CL1.2/C2.0) from the given cl-std.
	Reorder the linked libraries in reverse order of dependency (was failing linking).
	Make the built-in library objects depend on the pre-compiled header.
	Disable the timestamp on the pre-compiled header.
	Disable image support reporting.

Affected files ...

... //depot/stg/opencl/drivers/opencl/make/amdgcn.git/headers/build/Makefile.headers#7 edit
... //depot/stg/opencl/drivers/opencl/make/amdgcn.git/irif/build/Makefile.irif#4 edit
... //depot/stg/opencl/drivers/opencl/make/amdgcn.git/ockl/build/Makefile.ockl#5 edit
... //depot/stg/opencl/drivers/opencl/make/amdgcn.git/oclc/build/Makefile.oclc#5 edit
... //depot/stg/opencl/drivers/opencl/make/amdgcn.git/ocml/build/Makefile.ocml#5 edit
... //depot/stg/opencl/drivers/opencl/make/amdgcn.git/opencl/build/Makefile.opencl#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#11 edit
2016-08-21 17:46:14 -04:00
foreman cde3512469 P4 to Git Change 1305332 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/08/21 03:33:56
SWDEV-2 - Change OpenCL version number from 2202 to 2203.

Affected files ...

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


[ROCm/clr commit: e2c43f9651]
2016-08-21 03:46:32 -04:00
foreman e2c43f9651 P4 to Git Change 1305332 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/08/21 03:33:56
SWDEV-2 - Change OpenCL version number from 2202 to 2203.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1949 edit
2016-08-21 03:46:32 -04:00
foreman 886de879e0 P4 to Git Change 1305300 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/08/20 03:00:10
SWDEV-2 - Change OpenCL version number from 2201 to 2202.

Affected files ...

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


[ROCm/clr commit: 6e831e634a]
2016-08-20 03:08:27 -04:00
foreman 6e831e634a P4 to Git Change 1305300 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/08/20 03:00:10
SWDEV-2 - Change OpenCL version number from 2201 to 2202.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1948 edit
2016-08-20 03:08:27 -04:00
foreman 6b70613a10 P4 to Git Change 1305295 by lmoriche@lmoriche_opencl_dev on 2016/08/20 02:25:17
SWDEV-94610 - Back-out CL#1305293 and pass -fno-validate-pch to clang -cc1

Affected files ...

... //depot/stg/opencl/drivers/opencl/make/amdgcn.git/headers/build/Makefile.headers#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#7 edit


[ROCm/clr commit: 093b43a800]
2016-08-20 02:34:04 -04:00
foreman 093b43a800 P4 to Git Change 1305295 by lmoriche@lmoriche_opencl_dev on 2016/08/20 02:25:17
SWDEV-94610 - Back-out CL#1305293 and pass -fno-validate-pch to clang -cc1

Affected files ...

... //depot/stg/opencl/drivers/opencl/make/amdgcn.git/headers/build/Makefile.headers#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#7 edit
2016-08-20 02:34:04 -04:00
Aditya Atluri b2301b8912 Added more complex apis and copyright
- New header which redirects to CUDA/HIP path added for hipComplex.h
- Added more complex device api including fma
- Added copyright to new files

Change-Id: Iff0dece4c438e97d0ae33efa4312975d465a6464


[ROCm/clr commit: a362489b27]
2016-08-19 23:02:04 -05:00
Aditya Atluri a362489b27 Added more complex apis and copyright
- New header which redirects to CUDA/HIP path added for hipComplex.h
- Added more complex device api including fma
- Added copyright to new files

Change-Id: Iff0dece4c438e97d0ae33efa4312975d465a6464
2016-08-19 23:02:04 -05:00
Aditya Atluri 7d05468dc1 Added more complex apis and copyright
- New header which redirects to CUDA/HIP path added for hipComplex.h
- Added more complex device api including fma
- Added copyright to new files

Change-Id: Iff0dece4c438e97d0ae33efa4312975d465a6464


[ROCm/hip commit: 24f6251b99]
2016-08-19 23:02:04 -05:00