You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support for hipifying CuPy and add extra_extensions argument in hipify (ROCm#52)
* added optional extensions for hipification
* add cupy special map with cupy related replacements
* update cupy mappings
* add support for custom mappings
* update based on review comments and update readme
* Update README.md
---------
Co-authored-by: Jithun Nair <[email protected]>
Here the `TP_CUDA_SRCS` in the input list containing cuda source files and doing a inplace update with output list `TP_CUDA_SRCS`
101
102
For the file suffix unique string, list variable name itself is passed as a string.
102
103
104
+
# Custom hipify mapping
105
+
106
+
Users can define their own custom mapping by adding a custom_hipify_mapping.json from project_directory from where the hipify() function is being called.
107
+
To use a JSON file from a different directory, users can pass in the JSON file path via ```custom_map``` argument in the hipify method.
108
+
The custom hipify mappings will be applied *before* any other default hipify mappings.
0 commit comments