This website works better with JavaScript.
Home
Explore
帮助
返回水杉在线
登录水杉在线
登录水杉码园
tyliu_stu_ecnu_edu_cn
/
oneAPI_course
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Update data_movement_ex.cpp
main
PatricZhao
3 years ago
committed by
GitHub
parent
4a70d02f6e
commit
6424aacec6
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
3 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
code/data_movement_ex.cpp
+ 3
- 0
code/data_movement_ex.cpp
View File
@ -35,6 +35,9 @@
printf
(
"
%d,
"
,
host_mem
[
i
]
)
;
printf
(
"
%d,
"
,
host_mem
[
i
]
)
;
}
}
printf
(
"
\n
Task Done!
\n
"
)
;
printf
(
"
\n
Task Done!
\n
"
)
;
free
(
host_mem
,
my_gpu_queue
)
;
free
(
device_mem
,
my_gpu_queue
)
;
return
0
;
return
0
;
}
}
Write
Preview
Loading…
Cancel
Save