Skip to content

Commit

Permalink
Changed constructor of device pointer in image.cu
Browse files Browse the repository at this point in the history
Curly constructor does not compile on Tegra K1 board. Compiler gives
a fatal error.
  • Loading branch information
jadarve committed Jul 11, 2016
1 parent 3a640bb commit e0c32c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -39,6 +39,7 @@ imageTest
# Other files
#######################################
*.bin
*~


#######################################
Expand Down
2 changes: 1 addition & 1 deletion src/gpu/image.cu
Expand Up @@ -185,7 +185,7 @@ void GPUImage::allocate() {
__width*__depth*__itemSize, __height));

// create a new shared pointer
__ptr_dev = std::shared_ptr<void> {buffer_dev, gpu_deleter<void>()};
__ptr_dev = std::shared_ptr<void> (buffer_dev, gpu_deleter<void>());

// std::cout << "\tpitch: " << __pitch << std::endl;

Expand Down

0 comments on commit e0c32c4

Please sign in to comment.