/
| 373 | |
| 374 | /*****************************************************/ |
| 375 | std::string layout_plaintext( clfftLayout layout ) |
| 376 | { |
| 377 | switch( layout ) |
| 378 | { |
| 379 | case CLFFT_REAL: |
| 380 | return "real"; |
| 381 | case CLFFT_HERMITIAN_INTERLEAVED: |
| 382 | return "hermitian interleaved"; |
| 383 | case CLFFT_HERMITIAN_PLANAR: |
| 384 | return "hermitian planar"; |
| 385 | case CLFFT_COMPLEX_INTERLEAVED: |
| 386 | return "complex interleaved"; |
| 387 | case CLFFT_COMPLEX_PLANAR: |
| 388 | return "complex planar"; |
| 389 | default: |
| 390 | throw std::runtime_error( "invalid layout in layout_plaintext()" ); |
| 391 | } |
| 392 | } |
| 393 | |
| 394 | /*****************************************************/ |
| 395 | void refresh_plan() |
nothing calls this directly
no outgoing calls
no test coverage detected