mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2025-04-21 04:22:24 +08:00
Merge 1f571da4f5
into 11de19f00c
This commit is contained in:
commit
9f35f4ef66
|
@ -167,9 +167,6 @@ int main(int argc, char *argv[]) {
|
|||
saveImage(sResultFilename, oHostDst);
|
||||
std::cout << "Saved image: " << sResultFilename << std::endl;
|
||||
|
||||
nppiFree(oDeviceSrc.data());
|
||||
nppiFree(oDeviceDst.data());
|
||||
|
||||
exit(EXIT_SUCCESS);
|
||||
} catch (npp::Exception &rException) {
|
||||
std::cerr << "Program error! The following exception occurred: \n";
|
||||
|
|
|
@ -208,9 +208,6 @@ int main(int argc, char *argv[]) {
|
|||
saveImage(sResultFilename, oHostDst);
|
||||
std::cout << "Saved image: " << sResultFilename << std::endl;
|
||||
|
||||
nppiFree(oDeviceSrc.data());
|
||||
nppiFree(oDeviceDst.data());
|
||||
|
||||
exit(EXIT_SUCCESS);
|
||||
} catch (npp::Exception &rException) {
|
||||
std::cerr << "Program error! The following exception occurred: \n";
|
||||
|
|
Loading…
Reference in New Issue
Block a user