mirror of
https://github.com/tig-pool-nk/tig-monorepo.git
synced 2026-02-21 17:37:21 +08:00
Use fuel_check_stream.
This commit is contained in:
parent
28a0640423
commit
abbe0bbec8
@ -174,9 +174,8 @@ pub fn compute_solution(
|
||||
let ptx = Ptx::from_src(modified_ptx);
|
||||
let ctx = CudaContext::new(gpu_device)?;
|
||||
ctx.set_blocking_synchronize()?;
|
||||
ctx.enable_automatic_fuel_check();
|
||||
let module = ctx.load_module(ptx)?;
|
||||
let stream = ctx.default_stream();
|
||||
let stream = ctx.fuel_check_stream();
|
||||
let prop = get_device_prop(gpu_device as i32)?;
|
||||
|
||||
let challenge = $c::Challenge::generate_instance(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user