-
Notifications
You must be signed in to change notification settings - Fork 230
Closed
Description
Expected Behavior
I test the python demo d07_Algorithms02.py and I run my own data. I hope the fdk and sart algorithm use the GPU 100%, but I see the GPU only use 5%-7%.
Actual Behavior
When I add gpuids in tigre, but it doesn't work well. It only use GPU only 5%-7%.
Code to reproduce the problem (If applicable)
listGpuNames = gpu.getGpuNames()
if len(listGpuNames) == 0:
print("Error: No gpu found")
else:
for id in range(len(listGpuNames)):
print("{}: {}".format(id, listGpuNames[id]))
gpuids = gpu.getGpuIds(listGpuNames[0])
print(gpuids)
imgSIRT, qualitySIRT = algs.sirt(
projections,
geo,
angles,
2,
lmbda=lmbda,
lmbda_red=lambdared,
verbose=verbose,
Quameasopts=qualmeas,
computel2=True,
gpuids = gpuids,
)
imgSART, qualitySART = algs.sart(
projections,
geo,
angles,
2,
lmbda=lmbda,
lmbda_red=lambdared,
verbose=verbose,
Quameasopts=qualmeas,
computel2=True,
gpuids = gpuids,
)
Specifications
- MATLAB/python version: python
- OS: win 10
- CUDA version:11.7
Metadata
Metadata
Assignees
Labels
No labels