Evgeny Mankov
b43bb7d3c1
[HIPIFY][perl][fix] Treat ::device_function as a device function
...
+ Do not treat somenamespace::device_function_name as a device function
+ Fix generation of warnUnsupportedDeviceFunctions function in hipify-clang
+ Update hipify-perl based on hipify-clang -perl generation
+ Update device test math_functions.cu for hipify-perl
[Restrictions]
- hipify-perl is yet unable to handle function declarations in user namespaces
- hipify-perl is yet unable to handle using directive
2019-09-16 17:36:55 +03:00
ansurya
e2a934f377
Added new device attributes ( #1377 )
...
* Added new device attributes
* updated comment
* updated with new device attributes supported
2019-09-16 08:31:30 +00:00
Evgeny Mankov
422403a3ff
[HIPIFY][perl] Syn with hipify-clang
2019-09-15 15:25:40 +03:00
Evgeny Mankov
4e3845be83
[HIPIFY][ #1400 ] Fix Template Instantiation kernel launch (clang & perl)
...
+ Enclose template instantiation kernel calls into round brackets, leave regular kernel names unchanged (hipify-perl doesn't handle cases with macros).
+ Fix corresponding tests.
PS. hipify-perl couldn't handle correctly the following cases due to macros expansion disability, thus hipify-clang should be used instead:
#define KERNEL_NAME_MACRO axpy<float>
#define KERNEL_CALL_MACRO axpy<float><<<1, 2>>>
#define KERNEL_ARG_LIST_MACRO a, x, y
// CUDA:
KERNEL_NAME_MACRO<<<1, 2>>>(KERNEL_ARG_LIST_MACRO);
KERNEL_CALL_MACRO(KERNEL_ARG_LIST_MACRO);
// hipify-perl:
hipLaunchKernelGGL(KERNEL_NAME_MACRO, dim3(1), dim3(2), 0, 0, KERNEL_ARG_LIST_MACRO);
KERNEL_CALL_MACRO(KERNEL_ARG_LIST_MACRO);
// hipify-clang:
hipLaunchKernelGGL((KERNEL_NAME_MACRO), dim3(1), dim3(2), 0, 0, KERNEL_ARG_LIST_MACRO);
hipLaunchKernelGGL((axpy<float>), dim3(1), dim3(2), 0, 0, KERNEL_ARG_LIST_MACRO);
2019-09-10 15:59:06 +03:00
Evgeny Mankov
f114a79462
[HIPIFY][perl] Code cleanup (preparation for generating)
2019-09-05 11:52:59 +03:00
Evgeny Mankov
0ca6525d90
[HIPIFY][perl] Sync hipify-perl with hipify-clang
...
Sync by means of semi-automatic generation: hipify-clang -perl
2019-09-04 17:07:45 +03:00
Evgeny Mankov
7ab9afe513
[HIPIFY][perl] Code cleanup and formatting
2019-09-04 16:37:26 +03:00
Evgeny Mankov
e26ec02a99
[HIPIFY][perl][ #259 ] Fix
...
empty<<<1, 2>>> ( ); >> hipLaunchKernelGGL(empty, dim3(1), dim3(2), 0, 0);
empty<<<1, 2, 0>>>(); >>
empty<<<1, 2, 0, 0>>>(); >>
instead of erroneous: >> hipLaunchKernelGGL((empty), dim3(1), dim3(2), 0, 0, );
2019-09-03 16:44:20 +03:00
Rene van Oostrum
3e5fd98fc3
Add missing hipHostRegister flags to hipify-perl for flags that are defined and supported in hip_runtime_api.h
2019-08-08 10:46:45 -05:00
ansurya
00aa42e05f
Add Max Texture 1D,2D,3D device properties ( #1226 )
...
* Add Max Texture 1D,2D,3D device properties
* Corrected testcase to use enums defined in hipDeviceAttribute_t
* Added texture 1D,2D and 3D support for NVIDIA path
2019-07-18 03:18:50 +00:00
Evgeny Mankov
f0c2fdc6d7
[HIPIFY][perl][fix][258] Memory fence device functions are supported now
2019-04-25 13:27:30 +03:00
Evgeny Mankov
65dd1d4c7d
[HIPIFY][hipify-perl] Formatting
2019-04-23 17:55:47 +03:00
Anthony Cowley
f15dd58a91
hipify: translate cudaErrorInvalidSymbol
2019-04-02 08:54:37 -04:00
Stanley Tsang
ca56b81ebf
Adding support in the hipify-perl tool for the HIP_SYMBOL macro, which is required for hip API calls involving a device symbol. Added more explicit mention of the HIP_SYMBOL macro in the porting guide.
2018-12-19 12:21:02 -05:00
Michael Kuron
538a8939a6
hipify-perl: add hipGetSymbolAddress and hipGetSymbolSize
2018-11-06 12:02:21 +01:00
Evgeny Mankov
87895b7d01
[HIPIFY][perl] Typo fix
2018-01-18 09:14:16 +03:00
Ben Sander
a431bf6ba2
Remove coordinate conversions (threadIdx.x -> hipThreadIdx_x)
...
Since these are now supported directly.
2017-12-02 07:44:54 -06:00
wsttiger
bda788ca97
Remove the conversion of warpSize to be consistent with hipDeviceProp
2017-09-15 15:05:05 -05:00
wsttiger
7933b3292d
Add missing CUDA tags
2017-08-15 13:22:20 -05:00
Weixing Zhang
ccbd3b13fc
HIP Texture Support
2017-07-17 15:16:12 -04:00
emankov
e7779650e9
[HIPIFY] rename legacy hipify perl script and its usage to hipify-perl
2017-06-02 16:30:43 +03:00