You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have implemented an image processing program using Candle that converts a colored PNG image into a greyscale image. This is done using a simple matrix multiplication operation. This program takes about 13 seconds to run on CPU vs 5 seconds when it runs on GPU for a 7345 x 2832 image. I wondered if it is possible to optimize the program further by replicating the weight tensor into the shared memory of all of the SMs on the GPU.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have implemented an image processing program using Candle that converts a colored PNG image into a greyscale image. This is done using a simple matrix multiplication operation. This program takes about 13 seconds to run on CPU vs 5 seconds when it runs on GPU for a 7345 x 2832 image. I wondered if it is possible to optimize the program further by replicating the weight tensor into the shared memory of all of the SMs on the GPU.
Beta Was this translation helpful? Give feedback.
All reactions