Skip to content
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

Convert from cudaMallocPitch to cudaMalloc #72

Open
mnicely opened this issue Mar 13, 2020 · 0 comments
Open

Convert from cudaMallocPitch to cudaMalloc #72

mnicely opened this issue Mar 13, 2020 · 0 comments

Comments

@mnicely
Copy link

mnicely commented Mar 13, 2020

Would it be possible to convert cudaMallocPitch calls to cudaMalloc? I understand why cudaMallocPitch was chosen, but those limitations are not as noticeable today with larger cache sizes.

The main driver for this enhancement is for optimal functionality with DALI. DALI loads batches of images using cudaMalloc. The reason being that DALI is not concerned with what is being loaded and it could be something besides an image.

Currently, the image must be copied from its cudaMalloc location to the new cudaMallocPitch location. If CudaSift used cudaMalloc, operation could then be performed in-place. This would save memory and time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant