File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ static const char *occaCPU = "mode: 'Serial'";
2323static const char * occaOMP = "mode: 'OpenMP'" ;
2424static const char * occaGPU = "mode: 'CUDA', deviceID: %d" ;
2525static const char * occaOCL = "mode: 'OpenCL', platformID: 0, deviceID: %d" ;
26- extern void occaSetVerboseCompilation (const int value );
2726
2827// *****************************************************************************
2928// * CeedError_Occa
@@ -119,8 +118,10 @@ static int CeedInit_Occa(const char *resource, Ceed ceed) {
119118 data -> ocl = ocl ;
120119 data -> libceed_dir = NULL ;
121120 data -> occa_cache_dir = NULL ;
122- if (data -> debug )
123- occaPropertiesSet (occaSettings (),"verbose-compilation" ,occaBool (true));
121+ if (data -> debug ) {
122+ occaPropertiesSet (occaSettings (), "device/verbose" , occaBool (1 ));
123+ occaPropertiesSet (occaSettings (), "kernel/verbose" , occaBool (1 ));
124+ }
124125 // Now that we can dbg, output resource and deviceID
125126 dbg ("[CeedInit] resource: %s" , resource );
126127 dbg ("[CeedInit] deviceID: %d" , deviceID );
You can’t perform that action at this time.
0 commit comments