- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hello,
I tried compiling the following kernel with the last version of OpenCL SDK:
__kernel void pipe_producer (__write_only pipe float rng_pipe)
{
}
And got the following errors:
1:3:30: error: expected parameter declarator
1:3:43: error: expected ')'
1:3:29: note: to match this '('
Compilation failed
Can you tell why ?
Regards,
Z.V
- Marcas:
- OpenCL*
- Professors
- Students
1 Solução
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hi Zvi,
Pipes are an OpenCL 2.0 feature. Please add the following flag to your build options: -cl-std=CL2.0
Using build options: -cl-std=CL2.0 OpenCL Intel(R) Graphics device was found! Device name: Intel(R) Iris(TM) Graphics 6100 Device version: OpenCL 2.0 Device vendor: Intel(R) Corporation Device profile: FULL_PROFILE fcl build 1 succeeded. fcl build 2 succeeded. bcl build succeeded. pipe_producer info: Maximum work-group size: 256 Compiler work-group size: (0, 0, 0) Local memory size: 0 Preferred multiple of work-group size: 32 Minimum amount of private memory: 0 Build succeeded!
Link copiado
2 Respostas
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hi Zvi,
Pipes are an OpenCL 2.0 feature. Please add the following flag to your build options: -cl-std=CL2.0
Using build options: -cl-std=CL2.0 OpenCL Intel(R) Graphics device was found! Device name: Intel(R) Iris(TM) Graphics 6100 Device version: OpenCL 2.0 Device vendor: Intel(R) Corporation Device profile: FULL_PROFILE fcl build 1 succeeded. fcl build 2 succeeded. bcl build succeeded. pipe_producer info: Maximum work-group size: 256 Compiler work-group size: (0, 0, 0) Local memory size: 0 Preferred multiple of work-group size: 32 Minimum amount of private memory: 0 Build succeeded!
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hi Robert,
Thank you for your help.
Regards,
Z.V

Responder
Opções do tópico
- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora