L'host attende che il dispositivo termini l'esecuzione in modo semplice? ad es. il programma ha la struttura come segueLa CPU attende che DEVICE faccia terminare l'esecuzione del kernel ....?
// cpu code segment
// data transfer from host to device
QUESTION - WILL CPU WAIT FOR DEVICE TO FINISH TRANSFER? IF NO, IS IT POSSIBLE? IF YES, HOW?
// kernel launch
QUESTION - WILL CPU WAIT FOR DEVICE TO LET IT FINISH KERNEL EXECUTION (CONSIDERING KERNEL EXECUTION WILL TAKE NOTABLE TIME say-5 sec)? IF NO, IS IT POSSIBLE? IF YES, HOW?
// data transfer from device to host
// program terminates after printing some information
@Spontifixus, non è chiaro? Mi chiedo lo stesso di OP. –
@ Primož'c0dehunter'Kralj Hai ragione. La domanda è appena formattata male. – Spontifixus