                                     beam_elements_buffer_size );
                 
                 success  = ( err == cudaSuccess );
-                success &= ( cuda_beam_elements_data_buffer != 0 );
+                success &= ( cuda_beam_elements_data_buffer != NULL );
                 
                 host_beam_elements_data_buffer = NS(Blocks_get_data_begin)( 
                     beam_elements );

        
        /* ----------------------------------------------------------------- */
        
        unsigned char* cuda_beam_elements_data_buffer = nullptr;
        unsigned char* host_beam_elements_data_buffer = nullptr;
        
        NS(block_size_t) const beam_elements_buffer_size =
            NS(Blocks_get_total_num_bytes)( beam_elements );

            success = ( err == cudaSuccess );
        }
        
        int64_t* cuda_success_flag = NULL;
        int64_t  host_success_flag = static_cast< int64_t >( 0 );
        
        if( success )
        {
