Commit 7bdb906
authored
fix clGetProgramInfo for some param_names (#774)
- CL_PROGRAM_NUM_KERNELS
- CL_PROGRAM_KERNEL_NAMES,
- CL_PROGRAM_SCOPE_GLOBAL_CTORS_PRESENT
- CL_PROGRAM_SCOPE_GLOBAL_DTORS_PRESENT
Those params requires the program to have been built for at least one
device according to the specification.
Returning the value when the program has not been built triggers a
failure in the CTS (compiler get_program_info_kernel_names).1 parent f1589ab commit 7bdb906
1 file changed
+15
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2543 | 2543 | | |
2544 | 2544 | | |
2545 | 2545 | | |
2546 | | - | |
2547 | | - | |
2548 | | - | |
2549 | | - | |
| 2546 | + | |
| 2547 | + | |
| 2548 | + | |
| 2549 | + | |
| 2550 | + | |
| 2551 | + | |
2550 | 2552 | | |
2551 | 2553 | | |
2552 | 2554 | | |
| |||
2572 | 2574 | | |
2573 | 2575 | | |
2574 | 2576 | | |
| 2577 | + | |
| 2578 | + | |
| 2579 | + | |
2575 | 2580 | | |
2576 | 2581 | | |
2577 | 2582 | | |
| |||
2581 | 2586 | | |
2582 | 2587 | | |
2583 | 2588 | | |
| 2589 | + | |
| 2590 | + | |
| 2591 | + | |
2584 | 2592 | | |
2585 | 2593 | | |
2586 | 2594 | | |
| |||
2619 | 2627 | | |
2620 | 2628 | | |
2621 | 2629 | | |
| 2630 | + | |
| 2631 | + | |
| 2632 | + | |
2622 | 2633 | | |
2623 | 2634 | | |
2624 | 2635 | | |
| |||
0 commit comments