Commit Graph

6528 Commitit

Tekijä SHA1 Viesti Päivämäärä
Rahul Garg 1985d70605 Fix hipBusBW sample for P2P bidirectional test
[ROCm/clr commit: 828e62fe4f]
2019-02-28 00:56:07 +05:30
Yaxun Sam Liu 0b8586ab26 Fix nan for windows
[ROCm/clr commit: 0ebe23512f]
2019-02-27 12:33:26 -05:00
Maneesh Gupta ec494ba628 [hipcofig] Update HIP_PLATFORM detection logic
HIP_PLATFORM detection logic relied on finding a working KFD. If it was
found, the platform was set as hcc else as nvcc.
However this logic is flawed since it is possible for the development
system to only have the user mode bits to build HIP application code.
Hence the better logic is to rely on finding a suitable compiler.
The new logic is as follows:
- look for a working HCC. If found, platform is set as hcc.
- else look for a working NVCC. If found, platform is set as nvcc.
- else the platform defaults to hcc for now.

Change-Id: Ifcc42c29a19f722153d5c23c55f1a8765dceaf6b


[ROCm/clr commit: 03adc12474]
2019-02-27 14:10:21 +05:30
Rahul Garg a835072903 Fix hipBusBW overflow with setting beats/iterations
[ROCm/clr commit: 4fef69afdc]
2019-02-27 00:18:52 +05:30
Rahul Garg 1c95abbb18 Fix forceinline for non HCC compilation
[ROCm/clr commit: 832142234b]
2019-02-26 07:50:09 +05:30
Wen-Heng (Jack) Chung 3faa98b08d Add one test case for complex dynamic loading behavior
Existing HIT syntax doesn't seem to support the expected build and run steps
for this test.


[ROCm/clr commit: 8c5a92a789]
2019-02-25 17:03:31 +00:00
Evgeny Mankov 089cb31bff Merge pull request #930 from emankov/master
[HIPIFY][doc] Update README.md

[ROCm/clr commit: a4e3fa4f1b]
2019-02-25 18:29:26 +03:00
Evgeny Mankov 123d3e3dd8 [HIPIFY][doc] Update README.md
+ Populate Dependencies section with upcoming LLVM versions
+ Add clang bugs for not working configs LLVM+CUDA
+ Update Testing section


[ROCm/clr commit: 52fdd6e3cc]
2019-02-25 18:26:25 +03:00
Evgeny Mankov 063175cfa4 Merge pull request #928 from emankov/master
[HIPIFY][tests] caffe2 test fix

[ROCm/clr commit: 2738db936a]
2019-02-25 17:39:06 +03:00
Evgeny Mankov 7d96cc8b63 [HIPIFY][tests] caffe2 test fix
[ROCm/clr commit: 9c000f4b57]
2019-02-25 17:12:32 +03:00
Evgeny Mankov a163e01be3 Merge pull request #927 from emankov/master
[HIPIFY][Caffe2] Initial Caffe2 support

[ROCm/clr commit: b24cb99a12]
2019-02-25 16:41:17 +03:00
Evgeny Mankov e42eda2744 [HIPIFY][Caffe2] Initial Caffe2 support
[ROCm/clr commit: 59533a7309]
2019-02-23 20:46:22 +03:00
foreman 3d1f153ff4 P4 to Git Change 1747723 by cpaquot@cpaquot-ocl-lc-lnx on 2019/02/22 19:30:33
SWDEV-145570 - [HIP] Texture object implementation
	hipTextureObject2D test passes on PAL backend.
	Still needs to have sampler handled properly on ROCm backend.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#22 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#333 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#36 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.hpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.hpp#14 edit


[ROCm/clr commit: f48baa6741]
2019-02-22 19:43:36 -05:00
Maneesh Gupta e6a5d8c9ea Merge pull request #925 from yxsamliu/h2f
Add __gnu_h2f_ieee and __gnu_f2h_ieee

[ROCm/clr commit: f4e97f26bb]
2019-02-22 13:38:15 +05:30
Maneesh Gupta e24b0f1924 Merge pull request #923 from aaronenyeshi/fix-co-v3-arg
Consume the code obj args to prevent duplicates

[ROCm/clr commit: 33d14dd7cb]
2019-02-22 13:38:08 +05:30
foreman c23f5b6727 P4 to Git Change 1746912 by cpaquot@cpaquot-ocl-lc-lnx on 2019/02/21 14:16:35
SWDEV-178453 - [HIP] Add extra parameter for sharedMemBytes

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#129 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#58 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#72 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#91 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#91 edit


[ROCm/clr commit: 8cdcb7edb5]
2019-02-21 17:42:08 -05:00
Yaxun Sam Liu ed6efc2c0b Add __gnu_h2f_ieee and __gnu_f2h_ieee
The implementation is copied from HCC runtime.

For hcc it has no effect since apps can find them in either hcc runtime or HIP
runtime.

hip-clang needs it in HIP/HCC runtime so that HIP/HCC and HIP/VDI runtime are
swappable.


[ROCm/clr commit: 972ca06c4c]
2019-02-21 12:48:28 -05:00
Aaron Enye Shi 0e1fc751ea Consume the code obj args to prevent duplicates
[ROCm/clr commit: 3a57510fbb]
2019-02-19 17:02:27 +00:00
Jenkins cb7d56b91d Merge 'master' into 'amd-master'
Change-Id: I13b597d44e0f6261d6a35b9541da0bc3e81f581c


[ROCm/clr commit: f87ab48b48]
2019-02-18 10:34:42 -06:00
Evgeny Mankov 4d417bfe2e Merge pull request #919 from emankov/master
[HIPIFY][DNN] Revise and sync with CUDNN 10 and hipDNN

[ROCm/clr commit: fb14d5ae9a]
2019-02-15 15:06:28 +03:00
Jenkins 3997301c53 Merge 'master' into 'amd-master'
Change-Id: I4f744ea43f46f148c348d41d19252c191fc7019a


[ROCm/clr commit: 53fcf515f8]
2019-02-15 04:09:55 -06:00
Maneesh Gupta d4ec49aa33 Merge pull request #916 from mangupta/swdev-179677
Fix signature for unsigned long long variant of atomicExch

[ROCm/clr commit: ea223a7f1c]
2019-02-14 12:46:32 +05:30
Evgeny Mankov 656baeebe3 [HIPIFY][DNN] Revise and sync with CUDNN 10 and hipDNN
+ CUDNN_API_supported_by_HIP.md update
+ CUDA_Runtime_API_functions_supported_by_HIP.md update
+ libraryPropertyType_t is moved to Runtime
+ test update


[ROCm/clr commit: b22c0de428]
2019-02-13 19:40:59 +03:00
Maneesh Gupta b5917a9519 Merge pull request #918 from ROCm-Developer-Tools/ci_updates
[ci] Switch tests in CI infrastructure to cuda-10.x

[ROCm/clr commit: 5c4d324c4a]
2019-02-13 14:05:23 +05:30
Maneesh Gupta 15c0354b02 Merge pull request #917 from mangupta/fix_hip_lib_path
Initialize HIP_LIB_PATH on hcc path

[ROCm/clr commit: bd9a8a7f81]
2019-02-13 14:05:13 +05:30
Maneesh Gupta 8cec9962f5 [ci] Switch CI tests to cuda-10.x
Change-Id: I99e99bcf528d0c38924bd3a86a3067628f2bb3ea


[ROCm/clr commit: 09e1cde903]
2019-02-13 13:22:08 +05:30
Maneesh Gupta 6ed576713f Initialize HIP_LIB_PATH on hcc path
Change-Id: I8f392fffcd6a3714c20cb17e876dbaad999c33a0


[ROCm/clr commit: 2a575aeda6]
2019-02-13 09:57:21 +05:30
Maneesh Gupta c7cd92aacb Fix signature for unsigned long long variant of atomicExch
This fixes #888

Change-Id: I2b2dc5ed1ff2a26083ad9d102eccac90f67801ae


[ROCm/clr commit: fdbf84558c]
2019-02-13 09:45:07 +05:30
Maneesh Gupta 2cc84d5421 Merge pull request #913 from aaronenyeshi/fix-texture-constant-addrspace
Fix texture using constant addrspace 4

[ROCm/clr commit: f1f9cc0d55]
2019-02-13 08:59:01 +05:30
Maneesh Gupta 42a389aa1b Merge pull request #912 from ROCm-Developer-Tools/remove-cpp-function-templates-for-malloc
Remove C++ function templates for hipMalloc and hipHostMalloc

[ROCm/clr commit: 61d9553103]
2019-02-13 08:58:26 +05:30
Maneesh Gupta 8c03ea0bf5 Merge pull request #910 from aaronenyeshi/hip-code-obj-v3-passing
hipcc should consume -mcode-object-v3 flag

[ROCm/clr commit: cc7defa141]
2019-02-13 08:58:19 +05:30
Aaron Enye Shi 132338e55b Fix texture using constant addrspace 4
[ROCm/clr commit: eec46be762]
2019-02-12 16:56:22 +00:00
Aaron Enye Shi 1e483af21b Change code-object flag to only HIP-Clang
[ROCm/clr commit: 2a956540ee]
2019-02-11 17:18:12 +00:00
Wen-Heng (Jack) Chung 26e7f98be3 Introduce __HIP_DISABLE_CPP_FUNCTIONS__ macro to disable C++ wrappers
hipMalloc and hipHostMalloc are C++ function templates by default. In some
applications they need to discover the decltype of underlying C functions. In
this commit, a new macro __HIP_DISABLE_CPP_FUNCTIONS__ is introduced to
suppress the C++ function templates.

Existing HIP applications don't need to be changed. hipMalloc and hipHostMalloc
will behave just the same.

For new applications which depends on identifying decltypes of underlying C
functions, __HIP_DISABLE_CPP_FUNCTIONS__ shall be defined prior to including
HIP headers.


[ROCm/clr commit: f4e1f74e9e]
2019-02-11 09:33:15 -06:00
Maneesh Gupta 455109103e Merge pull request #911 from lmoriche/hip_clang
Allow HIP_LIB_PATH to be overriden at the command line. Use HIP_LIB_P…

[ROCm/clr commit: b1570ef592]
2019-02-11 11:26:39 +05:30
Maneesh Gupta 707c306818 Merge pull request #908 from mangupta/swdev_178873
[packaging] Add checkpoints in prerm scripts

[ROCm/clr commit: b2c42ad8e9]
2019-02-11 11:24:21 +05:30
Maneesh Gupta d04c8f587b Merge pull request #907 from yxsamliu/nan
Fix nan() for windows

[ROCm/clr commit: 3112c52742]
2019-02-11 11:24:12 +05:30
Maneesh Gupta 97e946911d Merge pull request #903 from yxsamliu/win2
Fix hipcc and hip_vector_types.h for windows

[ROCm/clr commit: 96407ef9ec]
2019-02-11 11:24:03 +05:30
Laurent Morichetti 0229c82be7 Allow HIP_LIB_PATH to be overriden at the command line. Use HIP_LIB_PATH for rpath instead of HIP_PATH/lib
[ROCm/clr commit: e410ee013c]
2019-02-08 13:50:13 -08:00
Aaron Enye Shi ac4b2b03ac hipcc should consume -mcode-object-v3 flag
[ROCm/clr commit: 8062305f0b]
2019-02-08 18:29:14 +00:00
Evgeny Mankov ce1f10cf31 Merge pull request #909 from emankov/master
[HIPIFY][RAND] revise

[ROCm/clr commit: 1d510dffa2]
2019-02-08 18:09:59 +03:00
Evgeny Mankov 29f6a802ff [HIPIFY][RAND] revise
+ add missing functions
+ add minimum rocRAND support
+ updated CURAND_API_supported_by_HIP.md


[ROCm/clr commit: d1ea9d9d97]
2019-02-08 17:54:28 +03:00
Jenkins ff05418a71 Merge 'master' into 'amd-master'
Change-Id: Ifc6f69fb7048d2dca686c696d11f76eecee19e42


[ROCm/clr commit: 9deea2d435]
2019-02-08 04:09:44 -06:00
Maneesh Gupta 777aebdc9e [packaging] Add checkpoints in prerm scripts
- Add failsafe in case of non existant files or directories.

Change-Id: I85db04381c3e16f04638086152945463a8004c19


[ROCm/clr commit: 3ad0a47cf2]
2019-02-08 10:57:05 +05:30
lmoriche d69c58e6c9 Merge pull request #905 from aaronenyeshi/hip-info-vdi
Add hipInfo path for VDI build

[ROCm/clr commit: abb20bd382]
2019-02-07 15:08:49 -08:00
Yaxun Sam Liu 80edf6693e Fix nan() for windows
[ROCm/clr commit: fe5861770e]
2019-02-07 17:29:36 -05:00
Aaron Enye Shi b273897de1 Add hipInfo path for VDI build
[ROCm/clr commit: b07fab0727]
2019-02-07 22:05:14 +00:00
Evgeny Mankov 183e99768d Merge pull request #904 from emankov/master
[HIPIFY][BLAS][tests] Add tests on hipifying to 'roc'

[ROCm/clr commit: f5515534fe]
2019-02-07 20:02:23 +03:00
Evgeny Mankov b0b83332df [HIPIFY][BLAS][tests] Add tests on hipifying to 'roc'
[ROCm/clr commit: 72c41d4ebf]
2019-02-07 19:25:23 +03:00
Yaxun Sam Liu 6d596cf51b Fix hipcc and hip_vector_types.h for windows
Disable linux specific compilation and linking options for windows.

In hip_vector_types.h, hip-clang needs HIP's own implementation for vector types even
on windows. MSVC specific implementation is for building runtime itself, which is compiled
by MSVC.


[ROCm/clr commit: d0fc2d0f99]
2019-02-07 11:07:50 -05:00