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
Add free
main
PatricZhao
3 years ago
committed by
GitHub
parent
79360e051d
commit
f1ffb43e0b
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
code/sync.cpp
+ 4
- 0
code/sync.cpp
View File
@ -85,6 +85,10 @@
printf
(
"
\n
Total Computation, TIme = %lf
\n
"
,
duration_total
)
;
printf
(
"
\n
Task Done!
\n
"
)
;
free
(
cpu_mem
,
my_gpu_queue
)
;
free
(
host_mem
,
my_gpu_queue
)
;
free
(
device_mem
,
my_gpu_queue
)
;
return
0
;
}
Write
Preview
Loading…
Cancel
Save