parent
9d380ecc08
commit
6344da9ac3
11 changed files with 45 additions and 99 deletions
@ -1,14 +0,0 @@ |
|||||||
#if defined __APPLE__ |
|
||||||
#include <OpenCL/cl.h> |
|
||||||
#else |
|
||||||
#include <CL/cl.h> |
|
||||||
#endif |
|
||||||
|
|
||||||
int main(int argc, char** argv) |
|
||||||
{ |
|
||||||
#ifdef CL_VERSION_1_1 |
|
||||||
#else |
|
||||||
#error OpenCL 1.1 not found |
|
||||||
#endif |
|
||||||
return 0; |
|
||||||
} |
|
@ -1,7 +1,6 @@ |
|||||||
#!/bin/bash -e |
#!/bin/bash -e |
||||||
echo "Generate files for CL runtime..." |
echo "Generate files for CL runtime..." |
||||||
cat sources/opencl11/cl.h | python parser_cl.py cl_runtime_opencl11 |
cat sources/cl.h | python parser_cl.py cl_runtime_opencl |
||||||
cat sources/opencl12/cl.h | python parser_cl.py cl_runtime_opencl12 |
|
||||||
cat sources/clAmdBlas.h | python parser_clamdblas.py |
cat sources/clAmdBlas.h | python parser_clamdblas.py |
||||||
cat sources/clAmdFft.h | python parser_clamdfft.py |
cat sources/clAmdFft.h | python parser_clamdfft.py |
||||||
echo "Generate files for CL runtime... Done" |
echo "Generate files for CL runtime... Done" |
||||||
|
Loading…
Reference in new issue