Deven Desai
13ab5368d0
Checkin to fix bugs in math functions.
...
This change fixes the following bugs that were discovered while debuggnig TF unit test failures (cwise_ops_test)
1. __hisinf and __hisnan routines
Both had incorrect implementations.
2. abs
A "long long" (64bit int) version was missing, resulting in the 32bit version being used for 64bit ints (which resulted in incorrect results, when the value passed in was outside the 32bit int range)
3. lgamma
We seemed to have a custom version for the 'double' datatype (which was giving incorrect results). Replaced it with a call to the 'double' version of the underlying 'hc::precision_math::lgamma'
[ROCm/clr commit: 65a90c55e7 ]
2018-04-24 18:10:07 +00:00
Aaron Enye Shi
1966257b5a
Remove unsupported targets gfx801 and gfx802
...
These architectures are no longer supported. Should not compile for them.
[ROCm/clr commit: 1149f88413 ]
2018-04-23 15:25:35 -04:00
Evgeny Mankov
6974aca85f
[HIPIFY] undo apply .clangformat to HIPIFY source files
...
[ROCm/clr commit: ad28f72ca9 ]
2018-04-23 20:22:15 +03:00
Rahul Garg
ec3c6c4dda
Added deprecation note in cuCtx section
...
[ROCm/clr commit: a68b9b6bf6 ]
2018-04-20 22:43:58 +05:30
Rahul Garg
3111ff5e40
Moved deprecated macro to the end
...
[ROCm/clr commit: bc61260168 ]
2018-04-20 21:57:23 +05:30
Lakhan Singh
06dd83f7f1
SWDEV-141024
...
[ROCm/clr commit: 74faa61d52 ]
2018-04-20 17:40:00 +05:30
Rahul Garg
bc59051858
Mark hipCtx APIs as deprecated
...
[ROCm/clr commit: 89674c54a7 ]
2018-04-20 17:34:48 +05:30
Rahul Garg
65b792cb9b
Resolve tex1D float to int conversion issue
...
[ROCm/clr commit: a898ccfb3f ]
2018-04-18 14:15:18 +05:30
Rahul Garg
39a19cc9e8
Added hipMemset2DAsync support
...
[ROCm/clr commit: fcc0866681 ]
2018-04-17 18:27:27 +05:30
Maneesh Gupta
295cd826d9
Merge pull request #400 from gargrahul/hipModule_cleanup
...
hip_module code cleanup
[ROCm/clr commit: 72ff4c5cc4 ]
2018-04-17 09:00:15 +05:30
Aaron Enye Shi
2071f27bb0
Clean up triple_to_hsa_isa naming ( #403 )
...
[ROCm/clr commit: a004c8dfa2 ]
2018-04-17 06:47:55 +05:30
Rahul Garg
181e0ee8ee
hip_module code cleanup
...
-Fixed missing ihipLogStatus in hipModuleLoad()
-Fixed some ihipXXX functions
[ROCm/clr commit: c23898f49b ]
2018-04-16 15:35:04 +05:30
Aaron Enye Shi
5d295abb55
Fix bug when using older rocr naming ( #399 )
...
[ROCm/clr commit: 21382e361c ]
2018-04-14 15:47:46 +05:30
Aaron Enye Shi
03877a5ed2
Fix new gfx target naming convention ( #397 )
...
This was introduced in recent xnack changes naming changes which affected our offload bundler. This patch will fix issues in HIP samples, ROCR tests, and others.
[ROCm/clr commit: 199cff2365 ]
2018-04-13 16:24:39 +05:30
Maneesh Gupta
d8256b0652
Merge pull request #395 from lmoriche/master
...
Add missing __device__ function attributes.
[ROCm/clr commit: 2ab05a2069 ]
2018-04-12 14:51:32 +05:30
Maneesh Gupta
b17a2a5ac2
Merge pull request #393 from mangupta/cmake_update_deps
...
[cmake] Update target build dependencies
[ROCm/clr commit: de8eae68e9 ]
2018-04-12 14:36:49 +05:30
Rahul Garg
cf6322da63
Correct missed ihipMemsetCopyDataType change
...
[ROCm/clr commit: 2ee80397f2 ]
2018-04-12 10:27:19 +05:30
Rahul Garg
312b764721
Changed ihipMemsetCopyDataType to ihipMemsetDataType
...
[ROCm/clr commit: 2658963f5b ]
2018-04-12 09:29:22 +05:30
Laurent Morichetti
957651a021
Add missing __device__ function attributes.
...
[ROCm/clr commit: 8dcfbf5bee ]
2018-04-11 09:29:37 -07:00
Rahul Garg
aff8d83cdf
Fix hipMemset stream resolution
...
[ROCm/clr commit: 88073a17c1 ]
2018-04-11 19:01:53 +05:30
Rahul Garg
a3bc29976b
hipMemset refactoring
...
[ROCm/clr commit: 40846f6f8e ]
2018-04-11 15:58:48 +05:30
Maneesh Gupta
64780b64bf
[cmake] Update target build dependencies
...
Change-Id: Ib1c34135c0d04f88daa695e7a90272225d7e64b0
[ROCm/clr commit: ebc52e5bc0 ]
2018-04-11 15:30:13 +05:30
Maneesh Gupta
d087d3adc3
Merge pull request #391 from lmoriche/master
...
Create one hipModule_t per device
[ROCm/clr commit: a39a96dcc9 ]
2018-04-11 13:06:58 +05:30
Laurent Morichetti
51a692ce2e
Create one hipModule_t per device
...
[ROCm/clr commit: f4cde23be3 ]
2018-04-10 08:57:34 -07:00
Maneesh Gupta
dffc1d1534
Merge pull request #390 from mangupta/hipmemcpy_fix
...
hipMemcpyAsync returns success when trying to copy 0 bytes
[ROCm/clr commit: 2d1d79cb22 ]
2018-04-09 14:02:36 +05:30
Maneesh Gupta
07e41f3ca0
Merge pull request #388 from lmoriche/master
...
Add support for clang offload bundles and <<<>>> kernel launch.
[ROCm/clr commit: d945c85fa7 ]
2018-04-09 12:40:28 +05:30
Maneesh Gupta
cdb7f8f354
hipMemcpyAsync returns success when trying to copy 0 bytes
...
Change-Id: I4c0ee7ccc7563e2df657b50356cdd7fec9a1ef15
[ROCm/clr commit: 445de66560 ]
2018-04-09 12:39:44 +05:30
Maneesh Gupta
e2d8f322ec
[ci] Disable nvcc CI builds
...
[ROCm/clr commit: 04f116a9e8 ]
2018-04-09 12:23:56 +05:30
Siu Chi Chan
b24d6e7296
adjust the hcc work week for the texture fix
...
[ROCm/clr commit: 5df923cdfa ]
2018-04-06 15:46:55 -04:00
Laurent Morichetti
3e462cc40b
Don't include __clang_cuda_builtin_vars.h
...
[ROCm/clr commit: 7f03ff1012 ]
2018-04-05 16:27:05 -07:00
Laurent Morichetti
f22fbe4271
Add support for clang offload bundles and <<<>>> kernel launch.
...
[ROCm/clr commit: 323caee8d2 ]
2018-04-04 13:32:33 -07:00
Maneesh Gupta
26a61d6959
Cleanup bin directory
...
Remove hccgenco.sh and hsa-api-filter-cxl.txt
Change-Id: I5942aec911a2fe6c871fe0eb5f44a0b243552b79
[ROCm/clr commit: efac735621 ]
2018-04-04 14:31:40 +05:30
Maneesh Gupta
e6142be606
Merge pull request #383 from gargrahul/remove_hcc_check_texref_sample
...
Remove textureObj kernel argument for HIP/HCC path
[ROCm/clr commit: 13b65efae0 ]
2018-04-04 10:35:58 +05:30
Maneesh Gupta
a7cdb8c5b7
Merge pull request #384 from yxsamliu/patch-1
...
Update HIP language spec to support both <<< >>> kernel launching mec…
[ROCm/clr commit: 2021414e98 ]
2018-04-04 10:35:34 +05:30
Maneesh Gupta
7a59db9fa2
Merge pull request #385 from gargrahul/fix_texture_trsf_flag
...
Fix texture driver api TRFS flags
[ROCm/clr commit: 4826f84d5c ]
2018-04-04 10:34:09 +05:30
Maneesh Gupta
e89cb4c975
[ci] Re-enable testing against hcc_1.7
...
[ROCm/clr commit: 11eaac9cf4 ]
2018-04-03 14:04:33 +05:30
Rahul Garg
db20c24914
Fix texture driver api TRFS flags
...
[ROCm/clr commit: 414cb24351 ]
2018-04-02 21:47:20 +05:30
Yaxun (Sam) Liu
5024b0b9e6
Update HIP language spec to support both <<< >>> kernel launching mechanism and hipLaunchKernel
...
[ROCm/clr commit: 0e1ae245d2 ]
2018-04-02 11:58:32 -04:00
Rahul Garg
897b8b48f5
Remove textureObj kernel argument for HIP/HCC path
...
[ROCm/clr commit: 35bc23ecc3 ]
2018-03-28 15:36:57 +05:30
Siu Chi Chan
54357260e8
Change constant address space to 4
...
when compiling with a newer hcc. This is
due to a recent change to address space
mapping in the amdgpu compiler backend.
[ROCm/clr commit: 53d9cce9f9 ]
2018-03-26 18:13:59 -04:00
Maneesh Gupta
2d95f5a627
Merge pull request #379 from lmoriche/master
...
Add HIP_KERNEL_NAME/HIP_SYMBOL definitions for HIP-clang, and rename …
[ROCm/clr commit: a95ff17549 ]
2018-03-26 15:38:02 +05:30
Maneesh Gupta
458e978fb9
[ci] Get CI builds to work again ( #377 )
...
* [ci] Enable tests against HCC from ROCm1.7 as well
* [ci] rocm 1.7 requires nodes with dkms label
* [ci] Temporarily drop hcc_1_6 and hcc_1_7 builds
[ROCm/clr commit: e8cc7c2e40 ]
2018-03-26 15:21:45 +05:30
Laurent Morichetti
941fb5f336
Merge remote-tracking branch 'upstream/master'
...
[ROCm/clr commit: 8f4c368dce ]
2018-03-21 11:17:52 -07:00
Laurent Morichetti
048ffb1693
Add HIP_KERNEL_NAME/HIP_SYMBOL definitions for HIP-clang, and rename hipLaunch->hipLaunchByPtr.
...
[ROCm/clr commit: 84a723b2dc ]
2018-03-21 11:07:21 -07:00
Rahul Garg
ec51e3c539
Removed hidden args and hipLaunchParm from HIP/HCC path
...
[ROCm/clr commit: 2184e7f6da ]
2018-03-16 22:50:25 +05:30
Rahul Garg
0a8ae7a07d
Change co file name
...
[ROCm/clr commit: da66236083 ]
2018-03-16 12:54:44 +05:30
Rahul Garg
c2f4352aad
Fixed function not found issue
...
[ROCm/clr commit: 2ff9e5d46d ]
2018-03-16 12:35:25 +05:30
Maneesh Gupta
05a7963b07
Merge pull request #372 from scchan/fix_hipcc_rhel
...
On RHEL and CentOS, don't use libc++ since we are using the devtoolse…
[ROCm/clr commit: eabd89f130 ]
2018-03-16 07:44:40 +05:30
Maneesh Gupta
66006b0ac7
Merge pull request #367 from gargrahul/fix_tex_drv_offset
...
Fix offset issue in texture driver APIs
[ROCm/clr commit: c50f3caf5e ]
2018-03-16 07:43:48 +05:30
Siu Chi Chan
765f3913ce
On RHEL and CentOS, don't use libc++ since we are using the devtoolset-7 which has a newer g++
...
[ROCm/clr commit: 0501f6c582 ]
2018-03-15 16:46:01 -04:00