Skip to content
Snippets Groups Projects

AthCUDA Warning Fixes, master branch (2020.07.07.)

2 files
+ 4
20
Compare changes
  • Side-by-side
  • Inline
Files
2
  • 9271e1ca
    In the current implementations these are unnecessary anyway (a high priority
    was only assigned in my original code for "post-execute" tasks, but those are
    not part of this implementation), and in the current TBB version they are
    already marked as deprecated.
@@ -76,11 +76,7 @@ namespace AthCUDA {
// If a device is available, then free up the memory using CUDA.
if( Info::instance().nDevices() != 0 ) {
taskArena().enqueue( ::DeviceDeleterTask( ptr )
#if __TBB_TASK_PRIORITY
, tbb::priority_normal
#endif // __TBB_TASK_PRIORITY
);
taskArena().enqueue( ::DeviceDeleterTask( ptr ) );
return;
}
@@ -98,11 +94,7 @@ namespace AthCUDA {
// If a device is available, then free up the memory using CUDA.
if( Info::instance().nDevices() != 0 ) {
taskArena().enqueue( ::DeviceDeleterTask( ptr )
#if __TBB_TASK_PRIORITY
, tbb::priority_normal
#endif // __TBB_TASK_PRIORITY
);
taskArena().enqueue( ::DeviceDeleterTask( ptr ) );
return;
}
@@ -120,11 +112,7 @@ namespace AthCUDA {
// If a device is available, then free up the memory using CUDA.
if( Info::instance().nDevices() != 0 ) {
taskArena().enqueue( ::HostDeleterTask( ptr )
#if __TBB_TASK_PRIORITY
, tbb::priority_normal
#endif // __TBB_TASK_PRIORITY
);
taskArena().enqueue( ::HostDeleterTask( ptr ) );
return;
}
Loading