-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GPU] Add an example of running LeNet on GPU. #415
Conversation
… and deallocate memory after copying the result from GPU to the host.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -57,6 +57,45 @@ SET_TARGET_PROPERTIES(LENET PROPERTIES LINKER_LANGUAGE C) | |||
add_executable(buddy-lenet-run buddy-lenet-main.cpp) | |||
target_link_directories(buddy-lenet-run PRIVATE ${LLVM_LIBRARY_DIR}) | |||
|
|||
if(NOT DEFINED BUDDY_ENABLE_PNG) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can use BMP image files, so using libpng
is not a strict requirement.
Corrected the result. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
No description provided.