Solving knapsack problems on GPU

  • Authors:
  • V. Boyer;D. El Baz;M. Elkihel

  • Affiliations:
  • CNRS, LAAS, 7 avenue du Colonel Roche, F-31077 Toulouse, France and Université de Toulouse, UPS, INSA, INP, ISAE, LAAS, F-31077 Toulouse, France;CNRS, LAAS, 7 avenue du Colonel Roche, F-31077 Toulouse, France and Université de Toulouse, UPS, INSA, INP, ISAE, LAAS, F-31077 Toulouse, France;CNRS, LAAS, 7 avenue du Colonel Roche, F-31077 Toulouse, France and Université de Toulouse, UPS, INSA, INP, ISAE, LAAS, F-31077 Toulouse, France

  • Venue:
  • Computers and Operations Research
  • Year:
  • 2012

Quantified Score

Hi-index 0.01

Visualization

Abstract

A parallel implementation via CUDA of the dynamic programming method for the knapsack problem on NVIDIA GPU is presented. A GTX 260 card with 192 cores (1.4GHz) is used for computational tests and processing times obtained with the parallel code are compared to the sequential one on a CPU with an Intel Xeon 3.0GHz. The results show a speedup factor of 26 for large size problems. Furthermore, in order to limit the communication between the CPU and the GPU, a compression technique is presented which decreases significantly the memory occupancy.