… | |
… | |
9 | way to create a 2D image in OpenCL 1.1 is clCreateImage2D, which is not |
9 | way to create a 2D image in OpenCL 1.1 is clCreateImage2D, which is not |
10 | available anymore with OpenCL 1.2. |
10 | available anymore with OpenCL 1.2. |
11 | |
11 | |
12 | The OpenCL module can often emulate OpenCL 1.1 functions using OpenCL 1.2 |
12 | The OpenCL module can often emulate OpenCL 1.1 functions using OpenCL 1.2 |
13 | functions, but even though your OpenCL library might contain the OpenCL |
13 | functions, but even though your OpenCL library might contain the OpenCL |
14 | 1.2 functions, they might be nonfunctional and crash. On the other hand, |
14 | 1.2 functions, they might be nonfunctional and crash. |
15 | some methods, such as enqueue_barrier, have more options when using the |
|
|
16 | OpenCL 1.2 API. |
|
|
17 | |
15 | |
18 | Do you want to prefer the OpenCL 1.1 API over the 1.2 API where possible? |
16 | Do you want to prefer the OpenCL 1.1 API over the 1.2 API where possible? |
19 | |
17 | |
20 | EOF |
18 | EOF |
21 | |
19 | |
… | |
… | |
26 | PREOP => 'pod2text OpenCL.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', |
24 | PREOP => 'pod2text OpenCL.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', |
27 | COMPRESS => 'gzip -9v', |
25 | COMPRESS => 'gzip -9v', |
28 | SUFFIX => '.gz', |
26 | SUFFIX => '.gz', |
29 | }, |
27 | }, |
30 | PREREQ_PM => { |
28 | PREREQ_PM => { |
31 | common::sense => 0, |
29 | common::sense => 0, |
|
|
30 | # Async::Interrupt => 0, |
32 | }, |
31 | }, |
33 | DEFINE => $DEFINE, |
32 | DEFINE => $DEFINE, |
34 | NAME => "OpenCL", |
33 | NAME => "OpenCL", |
35 | VERSION_FROM => "OpenCL.pm", |
34 | VERSION_FROM => "OpenCL.pm", |
36 | LIBS => ["-lOpenCL"], |
35 | LIBS => ["-lOpenCL"], |