mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-11-04 09:32:00 +00:00 
			
		
		
		
	PR comments
This commit is contained in:
		
							
								
								
									
										22
									
								
								ggml-mpi.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								ggml-mpi.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,22 @@
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
struct ggml_context;
 | 
			
		||||
struct ggml_tensor;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
struct ggml_tensor * ggml_mpi_send_tensor(
 | 
			
		||||
        struct ggml_context * ctx,
 | 
			
		||||
        struct ggml_tensor *src,
 | 
			
		||||
        int dst_rank);
 | 
			
		||||
struct ggml_tensor * ggml_mpi_recv_tensor(
 | 
			
		||||
        struct ggml_context * ctx,
 | 
			
		||||
        struct ggml_tensor *parent,
 | 
			
		||||
        struct ggml_tensor *dst,
 | 
			
		||||
        int src_rank);
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
		Reference in New Issue
	
	Block a user