oneapi-src / oneAPI-samples

Samples for Intel® oneAPI Toolkits
https://oneapi-src.github.io/oneAPI-samples/
MIT License
944 stars 689 forks source link

Update Genetic Algorithm code sample according to new numba-dpex API syntax #2440

Closed krzeszew closed 2 months ago

krzeszew commented 2 months ago

Existing Sample Changes

Description

Updated kernel signature as well as kernel call in Genetic Algorithm code sample to use the new syntax.

Type of change

How Has This Been Tested?

Python script was generated based on the jupyter notebook and tested using command line on GTA machine with 2024.2.0 Intel Distribution of Python release (installed using offline installer).