Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
fda4567b
Commit
fda4567b
authored
Jun 26, 2023
by
lisj
Browse files
修改README.md和README_ORIGIN.md
parent
822caeb6
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
381 additions
and
351 deletions
+381
-351
README.md
README.md
+55
-310
README_HIP.md
README_HIP.md
+0
-41
README_ORIGIN.md
README_ORIGIN.md
+326
-0
No files found.
README.md
View file @
fda4567b
This diff is collapsed.
Click to expand it.
README_HIP.md
deleted
100644 → 0
View file @
822caeb6
适配HIP移植修改
```
1. cmake相关
修改CMakeLists.txt,增加USE_HIP编译控制
新增cmake/modules/ROCM.cmake,参考cmake/modules/CUDA.cmake进行编译配置
增加CUDART_VERSION相关宏参数
2. 源码修改
添加宏判断,设备上不支持iostream
src/array/selector.h:34
hip结构体hipPointerAttribute_t适配
src/runtime/cuda/cuda_device_api.cc:251
添加显式基类限定词
src/runtime/cuda/cuda_hashtable.cu:60
src/runtime/cuda/cuda_hashtable.cu:104
src/runtime/cuda/cuda_hashtable.cu:110
添加对CUDART_VERSION相关的条件判断flag
src/array/cuda/spmm_hetero.cu:59
src/array/cuda/spmm_hetero.cu:133
注释CUB_VERSION相关的static_assert检查
src/array/cuda/rowwise_sampling_prob.cu:20
注释CUDART_VERSION相关的static_assert检查
src/array/cuda/atomic.cuh:83
增加__HIPCC__宏定义的检查
include/dgl/array_iterator.h:9
```
\ No newline at end of file
README_ORIGIN.md
0 → 100644
View file @
fda4567b
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment