Deven Desai
30f0c19cf1
Fixing a copy/paste error in my previous checkin
2018-04-27 12:59:51 +00:00
Deven Desai
76e808304c
Checkin to add unit tests for fixes in my previous commit
...
This change adds unit tests for
1. __hisinf
2. __hisnan
2. abs(long long)
3. lgamma(double)
2018-04-25 17:53:21 +00:00
Deven Desai
65a90c55e7
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'
2018-04-24 18:10:07 +00:00
Evgeny Mankov
14a95fc231
Merge pull request #413 from emankov/master
...
[HIPIFY] undo apply .clangformat to HIPIFY source files
2018-04-23 20:29:43 +03:00
Evgeny Mankov
ad28f72ca9
[HIPIFY] undo apply .clangformat to HIPIFY source files
2018-04-23 20:22:15 +03:00
Maneesh Gupta
4770abf00e
Merge pull request #404 from gargrahul/hipMemset2DAsync_support
...
Added hipMemset2DAsync support
2018-04-18 14:19:41 +05:30
Rahul Garg
fcc0866681
Added hipMemset2DAsync support
2018-04-17 18:27:27 +05:30
Maneesh Gupta
72ff4c5cc4
Merge pull request #400 from gargrahul/hipModule_cleanup
...
hip_module code cleanup
2018-04-17 09:00:15 +05:30
Aaron Enye Shi
a004c8dfa2
Clean up triple_to_hsa_isa naming ( #403 )
2018-04-17 06:47:55 +05:30
Rahul Garg
c23898f49b
hip_module code cleanup
...
-Fixed missing ihipLogStatus in hipModuleLoad()
-Fixed some ihipXXX functions
2018-04-16 15:35:04 +05:30
Aaron Enye Shi
21382e361c
Fix bug when using older rocr naming ( #399 )
2018-04-14 15:47:46 +05:30
Aaron Enye Shi
199cff2365
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.
2018-04-13 16:24:39 +05:30
Maneesh Gupta
2ab05a2069
Merge pull request #395 from lmoriche/master
...
Add missing __device__ function attributes.
2018-04-12 14:51:32 +05:30
Maneesh Gupta
de8eae68e9
Merge pull request #393 from mangupta/cmake_update_deps
...
[cmake] Update target build dependencies
2018-04-12 14:36:49 +05:30
Maneesh Gupta
234488eba2
Merge pull request #394 from gargrahul/hipMemset_refactoring
...
hipMemset refactoring
2018-04-12 14:01:49 +05:30
Rahul Garg
2ee80397f2
Correct missed ihipMemsetCopyDataType change
2018-04-12 10:27:19 +05:30
Rahul Garg
2658963f5b
Changed ihipMemsetCopyDataType to ihipMemsetDataType
2018-04-12 09:29:22 +05:30
Laurent Morichetti
8dcfbf5bee
Add missing __device__ function attributes.
2018-04-11 09:29:37 -07:00
Rahul Garg
88073a17c1
Fix hipMemset stream resolution
2018-04-11 19:01:53 +05:30
Rahul Garg
40846f6f8e
hipMemset refactoring
2018-04-11 15:58:48 +05:30
Maneesh Gupta
ebc52e5bc0
[cmake] Update target build dependencies
...
Change-Id: Ib1c34135c0d04f88daa695e7a90272225d7e64b0
2018-04-11 15:30:13 +05:30
Maneesh Gupta
a39a96dcc9
Merge pull request #391 from lmoriche/master
...
Create one hipModule_t per device
2018-04-11 13:06:58 +05:30
Laurent Morichetti
f4cde23be3
Create one hipModule_t per device
2018-04-10 08:57:34 -07:00
Maneesh Gupta
2d1d79cb22
Merge pull request #390 from mangupta/hipmemcpy_fix
...
hipMemcpyAsync returns success when trying to copy 0 bytes
2018-04-09 14:02:36 +05:30
Maneesh Gupta
d945c85fa7
Merge pull request #388 from lmoriche/master
...
Add support for clang offload bundles and <<<>>> kernel launch.
2018-04-09 12:40:28 +05:30
Maneesh Gupta
445de66560
hipMemcpyAsync returns success when trying to copy 0 bytes
...
Change-Id: I4c0ee7ccc7563e2df657b50356cdd7fec9a1ef15
2018-04-09 12:39:44 +05:30
Maneesh Gupta
04f116a9e8
[ci] Disable nvcc CI builds
2018-04-09 12:23:56 +05:30
Maneesh Gupta
e5b14cd918
Merge pull request #389 from scchan/adjust_texture_hcc_workweek
...
adjust the hcc work week for the texture fix
2018-04-09 10:54:16 +05:30
Siu Chi Chan
5df923cdfa
adjust the hcc work week for the texture fix
2018-04-06 15:46:55 -04:00
Laurent Morichetti
7f03ff1012
Don't include __clang_cuda_builtin_vars.h
2018-04-05 16:27:05 -07:00
Laurent Morichetti
323caee8d2
Add support for clang offload bundles and <<<>>> kernel launch.
2018-04-04 13:32:33 -07:00
Maneesh Gupta
60faf90b62
Merge pull request #387 from mangupta/cleanup_bin
...
Cleanup bin directory
2018-04-04 15:06:57 +05:30
Maneesh Gupta
efac735621
Cleanup bin directory
...
Remove hccgenco.sh and hsa-api-filter-cxl.txt
Change-Id: I5942aec911a2fe6c871fe0eb5f44a0b243552b79
2018-04-04 14:31:40 +05:30
Maneesh Gupta
13b65efae0
Merge pull request #383 from gargrahul/remove_hcc_check_texref_sample
...
Remove textureObj kernel argument for HIP/HCC path
2018-04-04 10:35:58 +05:30
Maneesh Gupta
2021414e98
Merge pull request #384 from yxsamliu/patch-1
...
Update HIP language spec to support both <<< >>> kernel launching mec…
2018-04-04 10:35:34 +05:30
Maneesh Gupta
4826f84d5c
Merge pull request #385 from gargrahul/fix_texture_trsf_flag
...
Fix texture driver api TRFS flags
2018-04-04 10:34:09 +05:30
Maneesh Gupta
1bfdfecb59
Merge pull request #386 from ROCm-Developer-Tools/mangupta-patch-4
...
[ci] Re-enable testing against hcc_1.7
2018-04-04 10:01:41 +05:30
Maneesh Gupta
11eaac9cf4
[ci] Re-enable testing against hcc_1.7
2018-04-03 14:04:33 +05:30
Rahul Garg
414cb24351
Fix texture driver api TRFS flags
2018-04-02 21:47:20 +05:30
Yaxun (Sam) Liu
0e1ae245d2
Update HIP language spec to support both <<< >>> kernel launching mechanism and hipLaunchKernel
2018-04-02 11:58:32 -04:00
Rahul Garg
35bc23ecc3
Remove textureObj kernel argument for HIP/HCC path
2018-03-28 15:36:57 +05:30
Maneesh Gupta
c1505becef
Merge pull request #382 from scchan/fix_texture_addr_space
...
Change constant address space to 4
2018-03-27 07:48:50 +05:30
Siu Chi Chan
53d9cce9f9
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.
2018-03-26 18:13:59 -04:00
Maneesh Gupta
a95ff17549
Merge pull request #379 from lmoriche/master
...
Add HIP_KERNEL_NAME/HIP_SYMBOL definitions for HIP-clang, and rename …
2018-03-26 15:38:02 +05:30
Maneesh Gupta
e8cc7c2e40
[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
2018-03-26 15:21:45 +05:30
Laurent Morichetti
8f4c368dce
Merge remote-tracking branch 'upstream/master'
2018-03-21 11:17:52 -07:00
Laurent Morichetti
84a723b2dc
Add HIP_KERNEL_NAME/HIP_SYMBOL definitions for HIP-clang, and rename hipLaunch->hipLaunchByPtr.
2018-03-21 11:07:21 -07:00
Maneesh Gupta
51ed222aa4
Merge pull request #373 from gargrahul/fix_function_not_found_tex_drv_sample
...
Fixed function not found issue in texture driver api sample
2018-03-19 14:11:28 +05:30
Rahul Garg
2184e7f6da
Removed hidden args and hipLaunchParm from HIP/HCC path
2018-03-16 22:50:25 +05:30
Rahul Garg
da66236083
Change co file name
2018-03-16 12:54:44 +05:30