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

Removed unified memory from resampling filters. #1026

Merged

Conversation

banasraf
Copy link
Collaborator

@banasraf banasraf commented Jul 1, 2019

Signed-off-by: Rafal Banas.Rafal97@gmail.com

Signed-off-by: Rafal <Banas.Rafal97@gmail.com>
@banasraf
Copy link
Collaborator Author

banasraf commented Jul 1, 2019

!build

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [799457]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [799457]: BUILD PASSED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [799552]: BUILD STARTED

auto filter_data_gpu = memory::alloc_unique<float>(AllocType::GPU, total_size);
cudaMemcpy(filter_data_gpu.get(), filters.filter_data.get(),
total_size * sizeof(float), cudaMemcpyHostToDevice);
ptrdiff_t diff = filter_data_gpu.get() - filters.filter_data.get();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now I wonder - maybe we should use GetResamplingFiltersCPU and copy everything from there?

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [799552]: BUILD FAILED

@mzient mzient merged commit 4b24f98 into NVIDIA:master Jul 1, 2019
haoxintong pushed a commit to haoxintong/DALI that referenced this pull request Jul 16, 2019
Signed-off-by: Rafal <Banas.Rafal97@gmail.com>
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

Successfully merging this pull request may close these issues.

None yet

4 participants