Grafico dei commit

4493 Commit

Autore SHA1 Messaggio Data
Aryan Salmanpour fb3bedb154 disable printf on hip-clang on Windows (#2021)
[ROCm/hip commit: 386a0e0123]
2020-04-17 10:33:24 +05:30
Sarbojit2019 90425eb47a [HIPTEST]common changes for unittest (#2017)
[ROCm/hip commit: e0364d23ff]
2020-04-17 10:31:47 +05:30
Jeff Daily e428d45eb2 add IPC event support (#1996)
[ROCm/hip commit: ef596cd088]
2020-04-17 10:31:22 +05:30
Siu Chi Chan b54736160e moving the extractkernel tool from hcc to hip (#1644)
[ROCm/hip commit: 0ccb7f08a5]
2020-04-17 10:31:06 +05:30
Yaxun (Sam) Liu 3207f06462 Disable device side malloc (#2009)
* Disable device side malloc

Currently device side malloc is not working and takes excessive
device memory.

Disable it for now until a working malloc is implemented.

Change-Id: I1ad908c1c53a83752383b4be96688a848642c699

[ROCm/hip commit: 8d83e95457]
2020-04-14 16:07:14 +05:30
Evgeny Mankov 17ca53d9c3 Merge pull request #2016 from emankov/HIPIFY
[HIP][SPARSE] sync with HIPIFY's #95 and #96

[ROCm/hip commit: 7daa8c6c3b]
2020-04-14 10:43:21 +03:00
Yaxun (Sam) Liu b5a50ec9cf Fix cmake config file (#2010)
Removed cmake target files under packaging directory.

Merged cmake config .in files for HIP-Clang and HCC as one.

Use cmake generated target files in both install and packaging.

This makes cmake config file consistent for make install and
make package.

Change-Id: Iae1f8ccb5b39c29f54297edf1c5df62eb5a0253d

[ROCm/hip commit: 9ead991784]
2020-04-13 16:45:14 -07:00
Aryan Salmanpour 462b9245ea [HIP] add support for NoPreSync/NoPostSync flags for Cooperative MultiDevice launch API (#1990)
[ROCm/hip commit: cf8589b8c8]
2020-04-13 14:02:52 +05:30
Evgeny Mankov f2b79bc349 [HIP][SPARSE] sync with HIPIFY's #95 and #96
Based on:
  https://github.com/ROCm-Developer-Tools/HIPIFY/pull/95
  https://github.com/ROCm-Developer-Tools/HIPIFY/pull/96
Update hipify-perl and CUSPARSE_API_supported_by_HIP.md accordingly


[ROCm/hip commit: a01e2c7d03]
2020-04-10 19:36:43 +03:00
Evgeny Mankov dcdd02fb21 [HIP][HIPIFY] Remove HIPIFY related stuff due to moving of HIPIFY to a separate repo (#2002)
HIPIFY tools now are here: https://github.com/ROCm-Developer-Tools/HIPIFY

[ROCm/hip commit: 5f1420a229]
2020-04-07 14:03:30 +05:30
Evgeny Mankov 6e48a7d0d6 [HIP][doc] Update docs due to moving of HIPIFY to a separate repo (#2001)
[ROCm/hip commit: ff8d193b7f]
2020-04-07 14:03:19 +05:30
Rahul Garg 003d776e72 Rename hipDrvOccupancy to hipModuleOccupancy and match CUDA syntax (#1943)
[ROCm/hip commit: ba8a556ea9]
2020-04-07 14:02:52 +05:30
satyanveshd 326bd0fe1d fix hipIpcOpenMemHandle (#1998)
[ROCm/hip commit: 17862812b4]
2020-04-06 15:39:49 +05:30
Rahul Garg dc71d4b121 use hsa_executable_get_symbol_by_name in find_kernel_by_name (#1994)
[ROCm/hip commit: a12cc8b031]
2020-04-06 15:39:30 +05:30
Rahul Garg 6fe5c52518 Bump version to 3.5 (#1993)
* Switch CI testing from rocm-3.1.x to rocm-3.3.x
* Update hcc workweek for cooperative view
* bump version to 3.5

[ROCm/hip commit: 59afcb1091]
2020-04-06 15:39:10 +05:30
Sarbojit2019 e10e59a8c0 hipEventElapsedTime should respect device (#1992)
Fixes SWDEV-228636.
Also added a unit test to verify this.

[ROCm/hip commit: b80a2c3966]
2020-04-06 15:38:25 +05:30
lmoriche 20be734e5e Don't duplicate embedded code objects (#1991)
If the code object is embedded in an already mapped file, and the
lifetime of the mapped file exceeds the lifetime of the executable,
we do not need to make a copy of the binary.

This allows the ROCR to present the code object URI as
file:///path/to/file#offset=X&size=Y.

[ROCm/hip commit: 9de5e90ab5]
2020-04-06 15:37:35 +05:30
Jatin Chaudhary 57bab41a1c Removing header size from formula (#1988)
Fixed a bug in the elf file size computation.

[ROCm/hip commit: 6358e40a76]
2020-04-06 15:37:07 +05:30
Rahul Garg d859888adb Fix 2D and 3D memset (#1987)
[ROCm/hip commit: 6c65fc04d1]
2020-04-06 15:35:59 +05:30
ansurya f59ed79983 Initial support for bfloat16 (#1980)
[ROCm/hip commit: 770e76e752]
2020-04-06 15:35:43 +05:30
Yaxun (Sam) Liu c636253a71 Fix ambiguity of fma for _Float16 for libc++ (#1976)
libc++ defines fma as template function for auto promotion of mixed-type
arguments. libc++ does not handle _Float16 as _Float16 is not a supported
type by C++ standard. As such, it is unlikely we can commit our fix for
_Float16 to libc++ trunk.

Therefore we handle _Float16 with a template specialization of
__numeric_type in HIP headers.

Change-Id: If01960a657ebf1a7a67463cdcf66fab7458dff3c

[ROCm/hip commit: 4af2106d10]
2020-04-06 15:35:18 +05:30
eshcherb 4f4701c323 adding HIP_PROF version macro (#2000)
[ROCm/hip commit: e4a1c49e72]
2020-04-04 13:10:28 -07:00
eshcherb 40a323cad4 adding hipApiString (#1989)
[ROCm/hip commit: 8c4e8d6484]
2020-04-01 12:10:33 +05:30
ansurya 1344399fa2 tex1Dfetch behaviour for different address mode and filter mode (#1772)
Fixes github issue: #1754

- When ResourceDesc::resType is hipResourceTypeLinear ignore address mode and filter mode.
- When textureDesc::normalizedCoords is set to zero, AddressModeWrap and AddressModeMirror won't be supported and will be switched to AddressModeClamp.

[ROCm/hip commit: 50ef250a3b]
2020-04-01 12:10:17 +05:30
Sarbojit2019 2292982475 Fix for segfault seen in hipMemcpyDtoD (#1964)
* Fixes SWDEV-227444.

[ROCm/hip commit: eba596c87a]
2020-03-28 17:29:49 +05:30
Maneesh Gupta 0ee021d444 Remove address_space(1) typecast and use __ockl_atomic_add_noret_f32 (#1956)
* Remove address_space(1) typecast for ockl_global_atomic_add_f32
* use __ockl_atomic_add_noret_f32

[ROCm/hip commit: cbc3d1713f]
2020-03-28 17:28:33 +05:30
satyanveshd 3eea799a53 [dtests] Added few Negative tests (#1735)
[ROCm/hip commit: 351d39e6aa]
2020-03-27 14:10:12 +05:30
Siu Chi Chan e58a0d06f7 don't expose symbols from code_object_bundle (#1971)
Change-Id: I56479485aad42c3d517fe6d9055be1cd846eeb00

[ROCm/hip commit: 43abf84f54]
2020-03-27 14:09:07 +05:30
Sarbojit2019 1909e436cf Fix few memory leaks in HIP (#1969)
[ROCm/hip commit: f1b028b93e]
2020-03-27 14:08:30 +05:30
Jatin Chaudhary 32a9b2f2bb Packaging changes to bring them to sync with generated ones (#1918)
[ROCm/hip commit: 3805d7c5f2]
2020-03-27 14:08:12 +05:30
Aryan Salmanpour b5f7402c62 [hip] fix a build error when building hip with latest hcc (#1977)
there is a build error when building HIP with latest HCC from GitHub after PR#1935 merged into HIP master branch. this PR changed blockDimX to blockDim and two lines missed this change where added in the current PR.

[ROCm/hip commit: c8ca2355ae]
2020-03-26 17:10:42 +05:30
Nick Curtis c06bdfca62 Update hip_debugging.md (#1973)
Fix link formatting

[ROCm/hip commit: bb72abca20]
2020-03-26 17:09:56 +05:30
Sarbojit2019 59cf17fb32 Fix for __usad issue (#1972)
Fixes #1930

[ROCm/hip commit: 5024f9057a]
2020-03-26 17:09:44 +05:30
Benjamin Sherman d9d1017168 Add const qualifiers to HIP_vector_type unary arithmetic operators (#1965)
Resolves issue #1960

[ROCm/hip commit: 3d38135ae2]
2020-03-26 17:09:00 +05:30
Siu Chi Chan 9e5f7e3a3c Initialize all undef symbols with a magic poison (#1962)
[ROCm/hip commit: 8fefda2bb9]
2020-03-26 17:06:09 +05:30
Sarbojit2019 9e98e69b7a Fix for segfault seen if invalid kind is passed to hipMemcpy (#1937)
Fixes SWDEV-224941

[ROCm/hip commit: 3e363047d5]
2020-03-26 17:04:43 +05:30
Jatin Chaudhary 26b7d3e2ee [dtest] Adding VectorTest (#1732)
Adding unit test for operations of device vector types

[ROCm/hip commit: ee5fa8977c]
2020-03-26 17:03:43 +05:30
Evgeny Mankov c3c9aec3f3 Merge pull request #1978 from emankov/hipify-clang
[HIPIFY][doc] Update README.md: LLVM 10.0.0 Release is supported

[ROCm/hip commit: 34caae3863]
2020-03-26 11:09:33 +03:00
Evgeny Mankov ecd7d5798c [HIPIFY][doc] Update README.md: LLVM 10.0.0 Release is supported
[ROCm/hip commit: 37873d1204]
2020-03-26 11:07:43 +03:00
Paul Fultz II bbc1550bbb Fix path for hip-clang when using hipcc (#1961)
* Fix path for hip-clang when using hipcc

* Fix typo

* Update regex

[ROCm/hip commit: 855209abed]
2020-03-25 14:42:48 -07:00
Yaxun (Sam) Liu 069cca494a Add option --hipcc-func-supp for function support (#1957)
By default hipcc passes -mllvm options to let HIP-Clang inline all device functions.

--hipcc-func-supp enables function support and disables inline all.

--hipcc-no-func-supp disable function support and enables inline all.

This is a temporary solution to match HCC behavior for performance.

This option is mainly for debugging purpose.

Change-Id: I0c44ac1812bb3cea5c3e5b6e14ebaa45919236f6

[ROCm/hip commit: 3bef4e60ad]
2020-03-25 14:41:27 -07:00
Joseph Greathouse cb69c6037c Fix cooperative launch APIs to set hipGetLastError (#1935)
* Fix cooperative launch APIs to set hipGetLastError

Previously, the cooperative launch APIs did not properly log their
errors in the global hipGetLastError variable before returning back
to the user. As such, the APIs would leave hipSuccess in the
last error, which would break some use cases.

This fixes that problem by making a trampoline function that does
the HIP_INIT_API and ihipLogStatus.

* Add missing flag to the log of multi-GPU launch

[ROCm/hip commit: f61b79d9a3]
2020-03-25 14:39:24 -07:00
Nick Curtis 15ea4194c4 Update hip_runtime_api.h (#1966)
Correct URL for deprecated api list

[ROCm/hip commit: b4c69a2e4a]
2020-03-23 10:16:24 -07:00
Yaxun (Sam) Liu 89cf7e2c4d Let hipcc treat .c program as C program (#1945)
nvcc treats .c program as C program and .cpp program as C++ program.

Currently hipcc treats .c and .cpp programs as HIP programs.

It is desirable to let hipcc behave like nvcc.

Currently it is not feasible to let hipcc treat .cpp programs as C++ program
since there are too many HIP applications use .cpp as extension for HIP programs.
However we should be able let hipcc treat .c program C program since there
are few applications use .c as extensioin for HIP programs.

[ROCm/hip commit: 28db1e4383]
2020-03-19 16:16:31 +05:30
Jeff Daily a2915ae475 fix hipStreamAddCallback, block future work on stream (#1934)
[ROCm/hip commit: 01d661b159]
2020-03-19 16:16:04 +05:30
nelsonc-amd d6d60529ce packaging: change Provides to use dash instead of underscore (#1913)
Addresses an installation problem for several HIP packages.
Packages builds have been tested locally, validation in progress.

[ROCm/hip commit: b757c2a891]
2020-03-19 16:15:09 +05:30
Evgeny Mankov ac8c11974e Merge pull request #1955 from emankov/hipify-clang
[HIPIFY][perl] Fix missed sync with hipify-clang

[ROCm/hip commit: ee15f951b4]
2020-03-18 14:30:11 +03:00
Evgeny Mankov 4bd8b4d462 [HIPIFY][perl] Fix missed sync with hipify-clang
[ROCm/hip commit: c9672b8de5]
2020-03-18 14:24:02 +03:00
Evgeny Mankov bfb0e13c23 Merge pull request #1954 from emankov/hipify-clang
[HIPIFY][SPARSE] sync with hipSPARSE's "added csrsm2" (#83)

[ROCm/hip commit: 0f23a0b6db]
2020-03-18 13:46:05 +03:00
Evgeny Mankov ebf3416037 [HIPIFY][SPARSE] sync with hipSPARSE's "added csrsm2" (#83)
+ https://github.com/ROCmSoftwarePlatform/hipSPARSE/pull/83
+ Update doc and hipify-perl accordingly


[ROCm/hip commit: 234eae9e92]
2020-03-18 13:44:50 +03:00