Skip to content

Commit

Permalink
amd kernel uses constatn memory because amd gpus always have lots of it
Browse files Browse the repository at this point in the history
[trigger-nightly-release]
  • Loading branch information
[email protected] committed Feb 16, 2024
1 parent 3df930f commit 9422cb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/kernels.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ kernel void nqfaf_nvidia(global struct constellation *constellation_arr, global
}

// AMD kernel
kernel void nqfaf_amd(global struct constellation *constellation_arr, global long *result) {
kernel void nqfaf_amd(constant struct constellation *constellation_arr, global long *result) {
const struct constellation c = constellation_arr[get_global_id(0)]; // task for this work item

// start_jkl_arr contains [6 queens free][5 queens for start][5 queens for i][5 queens for j][5 queens for k][5 queens for l]
Expand Down

0 comments on commit 9422cb7

Please sign in to comment.