mirror of
				https://github.com/NVIDIA/cuda-samples.git
				synced 2025-11-04 15:47:50 +08:00 
			
		
		
		
	Uniquify fatbin generation target for matrixMulDrv
This commit is contained in:
		
							parent
							
								
									9b70771583
								
							
						
					
					
						commit
						53a02af443
					
				@ -29,7 +29,7 @@ add_custom_command(
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
# Create a dummy target for fatbin generation
 | 
			
		||||
add_custom_target(generate_fatbin ALL DEPENDS ${CUDA_FATBIN_FILE})
 | 
			
		||||
add_custom_target(generate_fatbin_matmulDrv ALL DEPENDS ${CUDA_FATBIN_FILE})
 | 
			
		||||
 | 
			
		||||
# Ensure matrixMulDrv depends on the fatbin
 | 
			
		||||
add_dependencies(matrixMulDrv generate_fatbin)
 | 
			
		||||
add_dependencies(matrixMulDrv generate_fatbin_matmulDrv)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user