76333 Commit
Autore SHA1 Messaggio Data
Aaron Enye Shi 0cfaa52d15 Guard rcp rounded implementation as well
Since rcp implementations of non-default rounded versions are not correct or supported in OCML, guard them using the same macro OCML_BASIC_ROUNDED_OPERATIONS. Also update the docs and tests.
2018-11-06 19:53:28 +00:00
Michael Kuron a0c35ab823 Use correct trace macro in hipGetSymbolAddress/hipGetSymbolSize
[ROCm/clr commit: 357dc8be11]
2018-11-06 20:46:30 +01:00
Michael Kuron 357dc8be11 Use correct trace macro in hipGetSymbolAddress/hipGetSymbolSize 2018-11-06 20:46:30 +01:00
Michael Kuron f69866eecc Use correct trace macro in hipGetSymbolAddress/hipGetSymbolSize
[ROCm/hip commit: 6ebcc2922c]
2018-11-06 20:46:30 +01:00
Michael Kuron 6ebcc2922c Use correct trace macro in hipGetSymbolAddress/hipGetSymbolSize 2018-11-06 20:46:30 +01:00
Aaron Enye Shi 4480bb6d06 Guard the OCML rounded operations instead
Instead of commenting all these functions out, guard the functions with a macro OCML_BASIC_ROUNDED_OPERATIONS.


[ROCm/clr commit: 9aa92238ab]
2018-11-06 16:32:14 +00:00
Aaron Enye Shi 9aa92238ab Guard the OCML rounded operations instead
Instead of commenting all these functions out, guard the functions with a macro OCML_BASIC_ROUNDED_OPERATIONS.
2018-11-06 16:32:14 +00:00
Aaron Enye Shi eb4053e3fe Guard the OCML rounded operations instead
Instead of commenting all these functions out, guard the functions with a macro OCML_BASIC_ROUNDED_OPERATIONS.


[ROCm/hip commit: e59c33250a]
2018-11-06 16:32:14 +00:00
Aaron Enye Shi e59c33250a Guard the OCML rounded operations instead
Instead of commenting all these functions out, guard the functions with a macro OCML_BASIC_ROUNDED_OPERATIONS.
2018-11-06 16:32:14 +00:00
Michael Kuron f8b1d20fd9 hipify-perl: add hipGetSymbolAddress and hipGetSymbolSize
[ROCm/clr commit: 538a8939a6]
2018-11-06 12:02:21 +01:00
Michael Kuron 538a8939a6 hipify-perl: add hipGetSymbolAddress and hipGetSymbolSize 2018-11-06 12:02:21 +01:00
Michael Kuron d30c49f6cc hipify-perl: add hipGetSymbolAddress and hipGetSymbolSize
[ROCm/hip commit: 509b29594a]
2018-11-06 12:02:21 +01:00
Michael Kuron 509b29594a hipify-perl: add hipGetSymbolAddress and hipGetSymbolSize 2018-11-06 12:02:21 +01:00
Michael Kuron 35227acd6d Test for hipGetSymbolSize and hipGetSymbolAddress
[ROCm/clr commit: fe2281f101]
2018-11-06 11:39:34 +01:00
Michael Kuron fe2281f101 Test for hipGetSymbolSize and hipGetSymbolAddress 2018-11-06 11:39:34 +01:00
Michael Kuron b23b30d373 Test for hipGetSymbolSize and hipGetSymbolAddress
[ROCm/hip commit: 49cc703d7a]
2018-11-06 11:39:34 +01:00
Michael Kuron 49cc703d7a Test for hipGetSymbolSize and hipGetSymbolAddress 2018-11-06 11:39:34 +01:00
Michael Kuron a857354072 Introduce ihipModuleGetGlobal
[ROCm/clr commit: 4da2d92281]
2018-11-06 09:54:34 +01:00
Michael Kuron 4da2d92281 Introduce ihipModuleGetGlobal 2018-11-06 09:54:34 +01:00
Michael Kuron cbba8221ee Introduce ihipModuleGetGlobal
[ROCm/hip commit: 31acf1c268]
2018-11-06 09:54:34 +01:00
Michael Kuron 31acf1c268 Introduce ihipModuleGetGlobal 2018-11-06 09:54:34 +01:00
foreman f843b2caf6 P4 to Git Change 1702912 by chui@ocl-promo-incrementor on 2018/11/06 03:00:05
SWDEV-2 - Change OpenCL version number from 2769 to 2770.

Affected files ...

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


[ROCm/clr commit: 3b117ab200]
2018-11-06 03:08:51 -05:00
foreman 3b117ab200 P4 to Git Change 1702912 by chui@ocl-promo-incrementor on 2018/11/06 03:00:05
SWDEV-2 - Change OpenCL version number from 2769 to 2770.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2517 edit
2018-11-06 03:08:51 -05:00
Evgeny 4bdb8407f8 tracker handlers ordering
Change-Id: I998ff13380eaa3d920a0037951acef596d850dfd
2018-11-06 00:53:09 -06:00
Evgeny 6ca0ab0c51 tracker handlers ordering
Change-Id: I998ff13380eaa3d920a0037951acef596d850dfd


[ROCm/rocprofiler commit: 4bdb8407f8]
2018-11-06 00:53:09 -06:00
Aaron Enye Shi 4587e32e46 Update hip-math-api doc to remove non-default-rounded
[ROCm/clr commit: 789814ab30]
2018-11-05 22:54:55 +00:00
Aaron Enye Shi 789814ab30 Update hip-math-api doc to remove non-default-rounded 2018-11-05 22:54:55 +00:00
Aaron Enye Shi 914506055e Update hip-math-api doc to remove non-default-rounded
[ROCm/hip commit: 7223277aa3]
2018-11-05 22:54:55 +00:00
Aaron Enye Shi 7223277aa3 Update hip-math-api doc to remove non-default-rounded 2018-11-05 22:54:55 +00:00
Aaron Enye Shi 5c1dc7a071 Remove non-working non-default-rounded math apis
In ROCm-Device-Libs, they have dropped the non-default-rounded versions of add, sub, mul, div, sqrt and fma. Therefore, ocml has removed the rte, rtp, rtn, and rtz counterparts. This will remove the same math APIs in HIP for _ru, _rd, _rn, and _rz.


[ROCm/clr commit: cef6e8ef1f]
2018-11-05 22:34:16 +00:00
Aaron Enye Shi cef6e8ef1f Remove non-working non-default-rounded math apis
In ROCm-Device-Libs, they have dropped the non-default-rounded versions of add, sub, mul, div, sqrt and fma. Therefore, ocml has removed the rte, rtp, rtn, and rtz counterparts. This will remove the same math APIs in HIP for _ru, _rd, _rn, and _rz.
2018-11-05 22:34:16 +00:00
Aaron Enye Shi 1c6f47ef55 Remove non-working non-default-rounded math apis
In ROCm-Device-Libs, they have dropped the non-default-rounded versions of add, sub, mul, div, sqrt and fma. Therefore, ocml has removed the rte, rtp, rtn, and rtz counterparts. This will remove the same math APIs in HIP for _ru, _rd, _rn, and _rz.


[ROCm/hip commit: 2b108a2cfd]
2018-11-05 22:34:16 +00:00
Aaron Enye Shi 2b108a2cfd Remove non-working non-default-rounded math apis
In ROCm-Device-Libs, they have dropped the non-default-rounded versions of add, sub, mul, div, sqrt and fma. Therefore, ocml has removed the rte, rtp, rtn, and rtz counterparts. This will remove the same math APIs in HIP for _ru, _rd, _rn, and _rz.
2018-11-05 22:34:16 +00:00
Sylvain Jeaugey 287e36a92d Add instructions to install packaging toolchain
Address #143 and #150 : debuild not installed.


[ROCm/rccl commit: f7d31919d7]
2018-11-05 11:42:33 -08:00
Sylvain Jeaugey f7d31919d7 Add instructions to install packaging toolchain
Address #143 and #150 : debuild not installed.
2018-11-05 11:42:33 -08:00
foreman 066de286b2 P4 to Git Change 1702548 by wchau@wchau_OCL_boltzmann on 2018/11/05 14:14:59
SWDEV-162389 - OpenCL Support for COMgr
	- currently COMgr library does not support gfx10+
	- to build the OCL driver with the COMgr support, add an COMGR_DIR option for the MAKE command
	- the COMGR_DIR specifies the directory that contains the COMgr header file, "include/amd_comgr.h", and library, "lib/libamd_comgr.so"
	NOTE: check in the codes to unblock German's work for now, codes will be modified to handle HSAIL and LC paths dynamically.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#176 edit
... //depot/stg/opencl/drivers/opencl/opencldefs#235 edit
... //depot/stg/opencl/drivers/opencl/runtime/build/Makefile.runtime#76 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/build/Makefile.oclrocm#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#94 edit


[ROCm/clr commit: 9c877959f6]
2018-11-05 14:24:49 -05:00
foreman 9c877959f6 P4 to Git Change 1702548 by wchau@wchau_OCL_boltzmann on 2018/11/05 14:14:59
SWDEV-162389 - OpenCL Support for COMgr
	- currently COMgr library does not support gfx10+
	- to build the OCL driver with the COMgr support, add an COMGR_DIR option for the MAKE command
	- the COMGR_DIR specifies the directory that contains the COMgr header file, "include/amd_comgr.h", and library, "lib/libamd_comgr.so"
	NOTE: check in the codes to unblock German's work for now, codes will be modified to handle HSAIL and LC paths dynamically.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#176 edit
... //depot/stg/opencl/drivers/opencl/opencldefs#235 edit
... //depot/stg/opencl/drivers/opencl/runtime/build/Makefile.runtime#76 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/build/Makefile.oclrocm#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#94 edit
2018-11-05 14:24:49 -05:00
Sylvain Jeaugey 1cc88accd5 Add install target
Fix issue #145

[ROCm/rccl commit: bed43524cc]
2018-11-05 09:53:59 -08:00
Sylvain Jeaugey bed43524cc Add install target
Fix issue #145
2018-11-05 09:53:59 -08:00
Chris Freehill 3ccce7ddbb Add rsmi_dev_pci_id_get() to return BDFID for given device
Also:
* add some exception handling;
* chop newline character off of device name returned from
rsmi_dev_id_get()


[ROCm/rocm_smi_lib commit: 59a952666f]
2018-11-05 11:22:12 -06:00
Chris Freehill 59a952666f Add rsmi_dev_pci_id_get() to return BDFID for given device
Also:
* add some exception handling;
* chop newline character off of device name returned from
rsmi_dev_id_get()
2018-11-05 11:22:12 -06:00
Chris Freehill ee1e4998a7 Add rsmi_dev_pci_id_get() to return BDFID for given device
Also:
* add some exception handling;
* chop newline character off of device name returned from
rsmi_dev_id_get()


[ROCm/amdsmi commit: 59a952666f]
2018-11-05 11:22:12 -06:00
Evgeny 728c88403f API normalizing
[ROCm/roctracer commit: dd19d85644]
2018-11-05 02:31:37 -06:00
Evgeny dd19d85644 API normalizing 2018-11-05 02:31:37 -06:00
Michael Kuron 15353a7b26 Document return values of hipMemcpyToSymbol, hipGetSymbolAddress
[ROCm/clr commit: 8049cdafab]
2018-11-04 11:47:17 +01:00
Michael Kuron 8049cdafab Document return values of hipMemcpyToSymbol, hipGetSymbolAddress 2018-11-04 11:47:17 +01:00
Michael Kuron da5df1fd1e Document return values of hipMemcpyToSymbol, hipGetSymbolAddress
[ROCm/hip commit: 4390c82121]
2018-11-04 11:47:17 +01:00
Michael Kuron 4390c82121 Document return values of hipMemcpyToSymbol, hipGetSymbolAddress 2018-11-04 11:47:17 +01:00
Michael Kuron a38366c81e Implement hipGetSymbolAddress and hipGetSymbolSize
[ROCm/clr commit: 0b6f5791f8]
2018-11-04 10:39:34 +01:00
Michael Kuron 0b6f5791f8 Implement hipGetSymbolAddress and hipGetSymbolSize 2018-11-04 10:39:34 +01:00