clMAGMA v1.0 missing pragmas?

Open discussion for MAGMA

clMAGMA v1.0 missing pragmas?

Postby yurtesen » Fri Nov 23, 2012 3:15 am

It appears that the following files :
(If I put the filenames here, your forum says my message is flagged as spam. You can see them here at 2nd post -> http://devgurus.amd.com/thread/160003 )

.cl files are missing the required pragma:
Code: Select all
#pragma OPENCL EXTENSION cl_khr_fp64: enable


Therefore they are not getting built at compile time? Once clMAGMA is built, it can only run on the GPU it was built with? (I am trying to make a generic library build which can work on several different GPUs, efficiency is not an issue at this stage)

Also, I am new to clMAGMA so I wonder, what is the reason for building these at compile time? I am also getting errors like these when I try to run the examples.

Initializing clMAGMA runtime ...
clCreateProgramWithBinary failed at 833 in CL_MAGMA_RT.cpp


The machine has dual GPUs can that be the reason?
yurtesen
 
Posts: 3
Joined: Thu Nov 22, 2012 9:49 pm

Return to User discussion

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 0 guests