Added a synchronization after acLoadDeviceConstant since it is now stated to be asynchronous
This commit is contained in:
@@ -226,8 +226,7 @@ loadForcingParamsToDevice(const ForcingParams& forcing_params)
|
|||||||
acLoadDeviceConstant(AC_ff_hel_imz, forcing_params.ff_hel_im.z);
|
acLoadDeviceConstant(AC_ff_hel_imz, forcing_params.ff_hel_im.z);
|
||||||
|
|
||||||
acLoadDeviceConstant(AC_kaver, forcing_params.kaver);
|
acLoadDeviceConstant(AC_kaver, forcing_params.kaver);
|
||||||
// acSynchronizeStream(STREAM_ALL); // This will be needed in the future when the interface
|
acSynchronizeStream(STREAM_ALL);
|
||||||
// functions are guaranteed to be asynchronous
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** This function would be used in autotesting to update the forcing params of the host
|
/** This function would be used in autotesting to update the forcing params of the host
|
||||||
|
Reference in New Issue
Block a user