mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-31 07:13:03 +00:00 
			
		
		
		
	Remove tabs
This commit is contained in:
		| @@ -140,7 +140,7 @@ bool cuda_multicorrelator::init_cuda_integrated_resampler( | ||||
|     int n_correlators) | ||||
| { | ||||
|     // use command-line specified CUDA device, otherwise use device with highest Gflops/s | ||||
|     //	findCudaDevice(argc, (const char **)argv); | ||||
|     //    findCudaDevice(argc, (const char **)argv); | ||||
|     cudaDeviceProp prop; | ||||
|     int num_devices, device; | ||||
|     cudaGetDeviceCount(&num_devices); | ||||
| @@ -208,8 +208,8 @@ bool cuda_multicorrelator::init_cuda_integrated_resampler( | ||||
|     //******** CudaMalloc version *********** | ||||
|  | ||||
|     // input signal GPU memory (can be mapped to CPU memory in shared memory devices!) | ||||
|     //	cudaMalloc((void **)&d_sig_in, size); | ||||
|     //	cudaMemset(d_sig_in,0,size); | ||||
|     //    cudaMalloc((void **)&d_sig_in, size); | ||||
|     //    cudaMemset(d_sig_in,0,size); | ||||
|  | ||||
|     // Doppler-free signal (internal GPU memory) | ||||
|     cudaMalloc((void **)&d_sig_doppler_wiped, size); | ||||
| @@ -249,20 +249,20 @@ bool cuda_multicorrelator::set_local_code_and_taps( | ||||
| { | ||||
|     cudaSetDevice(selected_gps_device); | ||||
|     //********* ZERO COPY VERSION ************ | ||||
|     //	// Get device pointer from host memory. No allocation or memcpy | ||||
|     //	cudaError_t code; | ||||
|     //	// local code CPU -> GPU copy memory | ||||
|     //	code=cudaHostGetDevicePointer((void **)&d_local_codes_in,  (void *) local_codes_in, 0); | ||||
|     //	if (code!=cudaSuccess) | ||||
|     //	{ | ||||
|     //		printf("cuda cudaHostGetDevicePointer error in set_local_code_and_taps \r\n"); | ||||
|     //	} | ||||
|     //	// Correlator shifts vector CPU -> GPU copy memory (fractional chip shifts are allowed!) | ||||
|     //	code=cudaHostGetDevicePointer((void **)&d_shifts_chips,  (void *) shifts_chips, 0); | ||||
|     //	if (code!=cudaSuccess) | ||||
|     //	{ | ||||
|     //		printf("cuda cudaHostGetDevicePointer error in set_local_code_and_taps \r\n"); | ||||
|     //	} | ||||
|     //    // Get device pointer from host memory. No allocation or memcpy | ||||
|     //    cudaError_t code; | ||||
|     //    // local code CPU -> GPU copy memory | ||||
|     //    code=cudaHostGetDevicePointer((void **)&d_local_codes_in,  (void *) local_codes_in, 0); | ||||
|     //    if (code!=cudaSuccess) | ||||
|     //    { | ||||
|     //        printf("cuda cudaHostGetDevicePointer error in set_local_code_and_taps \r\n"); | ||||
|     //    } | ||||
|     //    // Correlator shifts vector CPU -> GPU copy memory (fractional chip shifts are allowed!) | ||||
|     //    code=cudaHostGetDevicePointer((void **)&d_shifts_chips,  (void *) shifts_chips, 0); | ||||
|     //    if (code!=cudaSuccess) | ||||
|     //    { | ||||
|     //        printf("cuda cudaHostGetDevicePointer error in set_local_code_and_taps \r\n"); | ||||
|     //    } | ||||
|  | ||||
|     //******** CudaMalloc version *********** | ||||
|     //local code CPU -> GPU copy memory | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * \file fpga_multicorrelator.h | ||||
|  * \brief FPGA vector correlator class | ||||
|  * \authors <ul> | ||||
|  * 			<li> Marc Majoral, 2019. mmajoral(at)cttc.cat | ||||
|  *          <li> Marc Majoral, 2019. mmajoral(at)cttc.cat | ||||
|  *          <li> Javier Arribas, 2019. jarribas(at)cttc.es | ||||
|  *          </ul> | ||||
|  * | ||||
| @@ -49,8 +49,8 @@ class Fpga_Multicorrelator_8sc | ||||
| { | ||||
| public: | ||||
|     /*! | ||||
| 	 * \brief Constructor | ||||
| 	 */ | ||||
|      * \brief Constructor | ||||
|      */ | ||||
|     Fpga_Multicorrelator_8sc(int32_t n_correlators, | ||||
|         const std::string &device_name, | ||||
|         uint32_t dev_file_num, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Carles Fernandez
					Carles Fernandez