python - Merging two syntax highlighters in SublimeText -
i using pycuda, python wrapper cuda programming language. 1 of features write c++/cuda code in python string in python document (see example below).
from pycuda.compiler import sourcemodule mod = sourcemodule(""" __global__ void multiply_them(float *dest, float *a, float *b) { const int = threadidx.x; dest[i] = a[i] * b[i]; } """) i using sublimetext , wonder if there easy way combine 2 syntaxhighlighters, namely python , c++, such code above better readable.
thanks!
Comments
Post a Comment